]> sourceware.org Git - newlib-cygwin.git/blame - newlib/ChangeLog
2008-04-23 Paolo Bonzini <bonzini@gnu.org>
[newlib-cygwin.git] / newlib / ChangeLog
CommitLineData
e9505050
JJ
12008-04-16 Patrick Mansfield <patmans@us.ibm.com>
2
3 * libc/machine/spu/sys/errno.h: Use _impure_data, not _reent_data.
4
c2bd84bc
JJ
52008-04-16 Patrick Mansfield <patmans@us.ibm.com>
6
7 * libc/machine/spu/impure.c: Add missing underscore to impure_data.
8
45b14289
JJ
92008-04-14 Patrick Mansfield <patmans@us.ibm.com>
10
11 * libc/machine/spu/impure.c: New file, supply a non-static _impure_data.
12 * libc/machine/spu/Makefile.am: Add new file impure.c.
13 * libc/machine/spu/Makefile.in: Regenerate.
14 * libc/machine/spu/sys/errno.h: Define errno to be _reent_data._errno.
15
eabd7de0
JJ
162008-04-14 Jeff Johnston <jjohnstn@redhat.com>
17
18 * libc/stdio/Makefile.am: Build vfprintf.c and vfscanf.c with
19 -DSTRING_ONLY defined with and without -DINTEGER_ONLY defined
20 to build special versions for sprintf/sscanf family functions.
21 * libc/stdio/Makefile.in: Regenerated.
22 * libc/stdio/vfprintf.c[STRING_ONLY][INTEGER_ONLY](_VFPRINTF_R):
23 Redefine to be _svfiprintf_r which is optimized to work with siprintf
24 family of functions (i.e. no I/O) and does not support floating-point.
25 [STRING_ONLY][!INTEGER_ONLY](_VFPRINTF_R): Redefine to be
26 _svfprintf_r which is optimized to work with sprintf family of
27 functions and not use I/O.
28 [STRING_ONLY](__sprint_r): New string only version of static function.
29 designed to work with sprintf family of functions.
30 * libc/stdio/vfscanf.c[STRING_ONLY][INTEGER_ONLY](_SVFSCANF_R):
31 Redefine to be _ssvfiscanf_r which is optimized to work with siscanf
32 family of functions (i.e. no I/O) and no float-point support.
33 [STRING_ONLY][!INTEGER_ONLY](_SVFSCANF_R): Redefine to be
34 __ssvfscanf_r which is optimized to work with sscanf family of
35 functions and does not require I/O functions.
36 * libc/stdio/asprintf.c: Call _svfprintf_r instead of _vfprintf_r.
37 * libc/stdio/snprintf.c: Ditto.
38 * libc/stdio/sprintf.c: Ditto.
39 * libc/stdio/vasnprintf.c: Ditto.
40 * libc/stdio/vasprintf.c: Ditto.
41 * libc/stdio/siprintf.c: Call _svfiprintf_r instead of _vfiprintf_r.
42 * libc/stdio/sniprintf.c: Ditto.
43 * libc/stdio/vasiprintf.c: Ditto.
44 * libc/stdio/vsiprintf.c: Ditto.
45 * libc/stdio/vsniprintf.c: Ditto.
46 * libc/stdio/vsprintf.c: Ditto.
47 * libc/stdio/local.h: Add prototypes for _svfprintf_r, _svfiprintf_r,
48 _ssvfscanf_r, and _ssvfiscanf_r.
49 * libc/stdio/sscanf.c: Call _ssvfscanf_r instead of _svfscanf_r.
50 * libc/stdio/vsscanf.c: Ditto.
51 * libc/stdio/siscanf.c: Call _ssvfiscanf_r instead of _svfiscanf_r.
52 * libc/stdio/vsiscanf.c: Ditto.
53
6f810581
DD
542008-04-04 DJ Delorie <dj@redhat.com>
55
56 * libm/machine/spu/configure: Regenerate with autoconf 2.61.
57 * libc/sys/configure: Regenerate with autoconf 2.61.
58 * libc/machine/configure: Regenerate with autoconf 2.61.
59
bd6e30d5
JJ
602008-04-01 Patrick Mansfield <patmans@us.ibm.com>
61
62 * libc/machine/spu/memcmp.c: New file for SPU optimized memcmp.
63 * libc/machine/spu/strncmp.h: New file supply _strncmp_internal.
64 * libc/machine/spu/Makefile.am: Add memcmp.c.
65 * libc/machine/spu/Makefile.in: Rebuild.
66 * libc/machine/spu/strncmp.c: Use _strncmp_internal.
67
71f3a8f5
JJ
682008-04-01 Patrick Mansfield <patmans@us.ibm.com>
69
70 * configure.host: Build SPU with -DREENTRANT_SYSCALLS_PROVIDED and
71 -DMISSING_SYSCALL_NAMES.
72
1d4a4944
JJ
732008-04-01 Patrick Mansfield <patmans@us.ibm.com>
74
75 * libc/machine/spu/Makefile.am: Add assert.c.
76 * libc/machine/spu/Makefile.in: Regenerate.
77 * libc/machine/spu/assert.c: New file.
78
3ab380aa
JJ
792008-03-27 Patrick Mansfield <patmans@us.ibm.com>
80
81 * libc/include/reent.h: Define _func_r functions in this file to
82 func if REENTRANT_SYSCALLS_PROVIDED and MISSING_SYSCALL_NAMES are
83 defined.
84
4af0c5e8
CV
852008-03-27 Corinna Vinschen <corinna@vinschen.de>
86
87 * libc/include/sys/unistd.h: Declare lockf(2) and define lockf
88 constants when building for Cygwin.
89
88348faf
JJ
902008-03-11 Jeff Johnston <jjohnstn@redhat.com>
91
d84985f7 92 * libc/stdio/rgetc.c (__srget_r): Invoke CHECK_INIT to ensure
88348faf
JJ
93 stdin gets resolved properly before refilling.
94
c6228428
JJ
952008-03-07 Jeff Johnston <jjohnstn@redhat.com>
96
97 * libc/include/getopt.h: Hide newlib extensions under
98 the __need_getopt_newlib flag.
99 * libc/stdlib/getopt.c: #define __need_getopt_newlib before including
100 getopt.h. Put entire code under !HAVE_GETOPT to support platforms
101 with their own getopt implementation.
102 * configure.host: Specify HAVE_GETOPT for x86-linux.
103
0382d267
JJ
1042008-03-07 Jeff Johnston <jjohnstn@redhat.com>
105
106 * libc/include/sys/reent.h(_REENT_SMALL_CHECK_INIT): Specify
107 this macro completely instead of referring to CHECK_STD_INIT which
108 is only found in libc/stdio/local.h.
109 * libc/stdio/dprintf.c: Add include of local.h.
110 * libc/stdio/vdprintf.c: Ditto.
111 * libc/stdio/vdiprintf.c: Ditto.
112
beb0ab64
EB
1132008-03-04 Eric Blake <ebb9@byu.net>
114
115 Fix strtod("nan()", ptr).
116 * libc/stdlib/gdtoa-hexnan.c (hexnan): When the optional
117 n-char-sequence is omitted, still parse the ().
118
9ae00e9e
EB
1192008-03-03 Eric Blake <ebb9@byu.net>
120
121 Fix ftell bug after ungetc.
122 * libc/stdio/ftell.c (_ftell_r): Don't flush ungetc buffer on
123 ftell.
124 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
125 * libc/stdio/fflush.c (_fflush_r): Clear unget buffer when
126 repositioning underlying fd offset.
127
be62101c
JJ
1282008-03-02 Jeff Johnston <jjohnstn@redhat.com>
129
130 * libc/include/getopt.h (no_argument): Added for glibc compatibility.
131 (required_argument, optional_argument): Ditto.
132
76ff710c
JJ
1332008-02-29 Gregory Pietsch <gpietsch@comcast.net>
134
135 * libc/stdlib/getopt.c (getopt_internal): Rewrite to accept
136 data area so as to support reentrant calls. Change all callers
137 to fill in data area with global values and restore any changes
138 to the global values after call.
139 (__getopt_r, __getopt_long_r, __getopt_long_only_r): New routines
140 to support reentrancy that add a data area argument.
141 * libc/include/getopt.h: Add new _r routines and provide macros
142 so they can be called with using double-underscores.
143
7a44c13e
EB
1442008-02-21 Eric Blake <ebb9@byu.net>
145
146 Fix strtod("-0x", NULL).
147 * libc/stdlib/strtod.c (_strtod_r): Fall back to 0 if hex parse
148 fails.
149
de20111e
JJ
1502008-02-12 Jeff Johnston <jjohnstn@redhat.com>
151
152 * libc/machine/powerpc/vfprintf.c (_VFPRINTF_R): Prepare
153 for user specifying --disable-newlib-io-long-long on configure.
154 Call _fflush_r instead of fflush. For _mbtowc_r, pass the
155 reentrant pointer passed in rather than _REENT.
156
f46f40b5
JJ
1572008-02-12 Peter Rosin <peda@lysator.liu.se>
158
159 * libc/stdlib/getopt.c (getopt_internal): Handle optional
160 arguments better for long options and short options not
161 appearing as the first option in a sequence.
162
74d928bf
JJ
1632008-02-11 Patrick Mansfield <patmans@us.ibm.com>
164
165 * libc/machine/spu/straddr.h: New file, supplies _straddr.
166 * libc/machine/spu/strcat.c: Use _straddr and _strcpy.
167 * libc/machine/spu/strcpy.c: Use _strcpy.
168 * libc/machine/spu/strcpy.h: Supply _strcpy for optimized SPU
169 str[n]cpy and str[n]cat.
170 * libc/machine/spu/strncat.c: Use _straddr and _strcpy.
171 * libc/machine/spu/strncpy.c: Use _strcpy.
7a44c13e 172
9b924fc3
JJ
1732008-02-11 Patrick Mansfield <patmans@us.ibm.com>
174
175 * libc/machine/spu/strlen.c: Remove the len variable and unneeded
176 calculation of its value.
7a44c13e 177
77ec26b0
HPN
1782008-01-25 Hans-Peter Nilsson <hp@bitrange.com>
179
180 * libc/sys/mmixware/isatty.c (_isatty): Renamed from isatty.
181 Make ISO C.
182
226f5a32
DD
1832008-01-21 DJ Delorie <dj@redhat.com>
184
185 * libc/sys/sh/syscalls.c (_isatty): New.
186
cece11c5
JJ
1872008-01-21 Neal H. Walfield <neal@gnu.org>
188
189 * Makefile.am (crt1.o): Use correct source.
190 * Makefile.in: Regenerated.
191
dc26a86f
EB
1922008-01-15 Eric Blake <ebb9@byu.net>
193
194 * libc/string/Makefile.am (ELIX_2_SOURCES): Fix definition.
195 * libc/string/Makefile: Regenerate.
196
12df8a5b
CV
1972008-01-15 Corinna Vinschen <corinna@vinschen.de>
198
199 * libc/include/machine/setjmp.h (__SIGMASK_FUNC): Define as
200 pthread_sigmask or sigprocmask depending on _POSIX_THREADS.
201 (sigsetjmp): Use __SIGMASK_FUNC.
202 (siglongjmp): Ditto.
203 (_setjmp): Define as macro.
204 (_longjmp): Ditto.
205
40617efc
EB
2062008-01-11 Eric Blake <ebb9@byu.net>
207
208 Make strstr and strcasestr O(n), not O(n^2); add memmem.
209 * libc/string/str-two-way.h: New file.
210 * libc/string/memmem.c (memmem): New file.
211 * libc/include/string.h (memmem): Declare for all platforms.
212 * libc/string/strstr.c (strstr): Provide O(n) implementation when
213 not optimizing for space.
214 * libc/string/strcasestr.c (strcasestr): Likewise.
215 * libc/string/Makefile.am (ELIX_SOURCES): Rename to...
216 (ELIX_2_SOURCES): ...this.
217 (ELIX_4_SOURCES): New category, for memmem.
218 (lib_a_SOURCES, libstring_la_SOURCES): Build new file.
219 (CHEWOUT_FILES): Build documentation for memmem.
220 * libc/string/strings.tex: Include new docs.
221
ceb32a18
JJ
2222008-01-08 Jeff Johnston <jjohnstn@redhat.com>
223
224 * libc/machine/m68k/memcpy.S: Remove % from register references
225 as this is already handled by m68kasm.h.
226 * libc/machine/m68k/memset.S: Ditto.
227
a3211370
JJ
2282008-01-07 Jeff Johnston <jjohnstn@redhat.com>
229
230 * libc/machine/m68k/m68kasm.h: New file.
231 * libc/machine/m68k/setjmp.S: Remove common definitions and
232 place in m68kasm.h. Include "m68kasm.h".
233 * libc/machine/m68k/memcpy.S: Include "m68kasm.h" and use
234 SYM() macro when referencing function name.
235 * libc/machine/m68k/memset.S: Ditto.
236
a639937a
JJ
2372008-01-03 Jeff Johnston <jjohnstn@redhat.com>
238
239 Make isatty syscall handling consistent with other newlib syscalls.
240
241 * libc/include/_syslist.h: Add _isatty.
242 * libc/include/reent.h: Add _isatty_r.
243 * libc/include/sys/unistd.h: Add _isatty.
244 * libc/posix/Makefile.am: Add new _isatty.c file.
245 * libc/posix/Makefile.in: Regenerated.
246 * libc/posix/_isatty.c: New file.
247 * libc/posix/isatty.c: Changed to call _isatty().
248 * libc/reent/Makefile.am: Add new isattyr.c file.
249 * libc/reent/Makefile.in: Regenerated.
250 * libc/reent/isattyr.c: New file.
251 * libc/stdio/freopen.c: Changed to call _isatty_r().
252 * libc/stdio/makebuf.c: Ditto.
253 * libc/sys/a29khif/_isatty.S: Change isatty to _isatty.
254 * libc/sys/arc/isatty.c: Ditto.
255 * libc/sys/arm/syscalls.c: Ditto.
256 * libc/sys/d10v/syscalls.c: Ditto.
257 * libc/sys/h8300hms/syscalls.c: Ditto.
258 * libc/sys/h8500hms/syscalls.c: Ditto.
259 * libc/sys/linux/Makefile.am: Add new isatty.c file.
260 * libc/sys/linux/Makefile.in: Regenerated.
261 * libc/sys/linux/isatty.c: New file.
262 * libc/syscalls/Makefile.am: Add new sysisatty.c file.
263 * libc/syscalls/Makefile.in: Regenerated.
264 * libc/syscalls/sysisatty.c: New file.
265
7c8bd7a0
JJ
2662008-01-02 Jeff Johnston <jjohnstn@redhat.com>
267
268 * libc/syscalls/sysclose.c: Always call reentrant version of the
269 underlying syscall since one is guaranteed to exist in libc/reent.
270 * libc/syscalls/sysexecve.c: Ditto.
271 * libc/syscalls/sysfcntl.c: Ditto.
272 * libc/syscalls/sysfork.c: Ditto.
273 * libc/syscalls/sysfstat.c: Ditto.
274 * libc/syscalls/sysgetpid.c: Ditto.
275 * libc/syscalls/sysgettod.c: Ditto.
276 * libc/syscalls/syskill.c: Ditto.
277 * libc/syscalls/syslink.c: Ditto.
278 * libc/syscalls/syslseek.c: Ditto.
279 * libc/syscalls/sysopen.c: Ditto.
280 * libc/syscalls/sysread.c: Ditto.
281 * libc/syscalls/syssbrk.c: Ditto.
282 * libc/syscalls/sysstat.c: Ditto.
283 * libc/syscalls/systimes.c: Ditto.
284 * libc/syscalls/sysunlink.c: Ditto.
285 * libc/syscalls/syswait.c: Ditto.
286 * libc/syscalls/syswrite.c: Ditto.
287
26b84293
JJ
2882007-12-19 Jeff Johnston <jjohnstn@redhat.com>
289
7a44c13e
EB
290 * NEWS: Update with 1.16.0 info.
291 * README: Ditto.
292 * acinclude.m4: Change version number to 1.16.0.
293 * aclocal.m4: Regenerated.
294 * configure: Ditto.
295 * doc/aclocal.m4: Ditto.
296 * doc/configure: Ditto.
297 * libc/*/aclocal.m4: Ditto.
298 * libc/*/configure: Ditto.
299 * libc/libc.texinfo: Ditto.
300 * libm/*/aclocal.m4: Ditto.
301 * libm/*/configure: Ditto.
302 * libm/libm.texinfo: Ditto.
303 * libc/sys/linux/shared.ld: Add VERS_1.16.
26b84293 304
6af69de3
JJ
3052007-12-19 Jeff Johnston <jjohnstn@redhat.com>
306
307 * libc/string/strcasestr.c: Remove id macro.
308 * libc/sys/linux/linuxthreads/attr.c: Fix up sched_priority
309 field reference to be __sched_priority.
310 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
311 * libc/sys/linux/linuxthreads/manager.c: Ditto.
312 * libc/sys/linux/stdlib/collate.c: Remove id macro.
313 * libc/sys/linux/stdlib/collcmp.c: Ditto.
314 * libc/sys/linux/stdlib/engine.c: Ditto.
315 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
316 * libc/sys/linux/stdlib/glob.c: Ditto.
317 * libc/sys/linux/stdlib/reallocf.c: Ditto.
318 * libc/sys/linux/stdlib/regcomp.c: Ditto.
319 * libc/sys/linux/stdlib/regerror.c: Ditto.
320 * libc/sys/linux/stdlib/regexec.c: Ditto.
321 * libc/sys/linux/stdlib/regfree.c: Ditto.
322 * libc/sys/linux/sys/cdefs.h: Replace with latest version.
323 * libc/sys/linux/include/argp.h: Ditto.
324 * libc/sys/linux/sys/libc-lock.h: New file.
325 * libc/sys/linux/sys/stdint.h: Ditto.
326 * libc/sys/linux/include/sched.h: New file.
327
3cc8a378
JJ
3282007-12-19 Dave Korn <dave.korn@artimi.com>
329 Jeff Johnston <jjohnstn@redhhat.com>
330
331 * libc/include/_ansi.h: Add _LONG_LONG definition.
332 * libc/include/math.h (llrint, llrintf, rintl, lrintl, llrintl): Add
333 prototypes.
334 * libc/machine/i386/machine/fastmath.h: Add support for new i386
335 fast math versions of rint, lrint, and llrint family functions.
336 * libm/machine/i386/Makefile.am: Add new files.
337 * libm/machine/i386/Makefile.in: Regenerated.
338 * libm/machine/i386/f_llrint.c, libm/machine/i386/f_lrint.c,
339 libm/machine/i386/f_rint.c, libm/machine/i386/f_llrintf.c,
340 libm/machine/i386/f_lrintf.c, libm/machine/i386/f_rintf.c,
341 libm/machine/i386/f_llrintl.c, libm/machine/i386/f_lrintl.c,
342 libm/machine/i386/f_rintl.c: New files with fast math implementations.
343
41e94f24
JJ
3442007-12-19 Jeff Johnston <jjohnstn@redhat.com>
345
346 * libc/include/sys/features.h: Add checks for C90 compilers using
347 -ansi.
348
ac26b727
CV
3492007-12-19 Corinna Vinschen <corinna@vinschen.de>
350
351 * libc/include/wchar.h: Add prototypes for wcpcpy and wcpncpy.
352 * libc/string/Makefile.am (ELIX_SOURCES): Add wcpcpy.c and
353 wcpncpy.c.
354 (CHEWOUT_FILES): Add wcpcpy.def and wcpncpy.def.
355 * libc/string/Makefile.in: Regenerate.
356 * libc/string/wcpcpy.c: New file.
357 * libc/string/wcpncpy.c: New file.
358 * libc/string/wcstrings.tex: Add wcpcpy and wcpncpy.
359
478df8bb
CV
3602007-12-19 Corinna Vinschen <corinna@vinschen.de>
361
362 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use correct pointer in call to
363 _wcsrtombs_r.
364
60bef55d
JJ
3652007-11-19 Nick Clifton <nickc@redhat.com>
366
367 * libc/machine/mn10300/Makefile.am (CCASFLAGS): Add -Wa,--gdwarf-2.
368 * libc/machine/mn10300/Makefile.in: Regenerate.
369 * libc/machine/mn10300/memchar.S: Remove redundant labels. Add
370 .debug_frame section.
371 * libc/machine/mn10300/memcmp.S: Likewise.
372 * libc/machine/mn10300/memcpy.S: Likewise.
373 * libc/machine/mn10300/memset.S: Likewise.
374 * libc/machine/mn10300/strchr.S: Likewise.
375 * libc/machine/mn10300/strcmp.S: Likewise.
376 * libc/machine/mn10300/strcpy.S: Likewise.
377 * libc/machine/mn10300/strlen.S: Likewise.
378
3792007-11-15 Jeff Johnston <jjohnstn@redhat.com>
380
381 * libc/include/sys/_default_fcntl.h: New header file that
382 is the default version of sys/fcntl.h.
383 * libc/include/sys/fcntl.h: Changed to simply include
384 sys/_default_fcntl.h.
385 * libc/sys/arm/sys/fcntl.h: New file that includes
386 sys/_default_fcntl.h and defines O_BINARY.
387
478df8bb 3882007-11-08 Corinna Vinschen <corinna@vinschen.de>
815774e8
CV
389
390 * libc/include/sys/unistd.h: Remove Cygwin definition of MAXPATHLEN.
391
7b4cad4a
DB
3922007-11-07 Dave Brolley <brolley@redhat.com>
393
394 * libc/machine/configure: Regenerated to pick up mep-elf changes.
40617efc 395
7b4cad4a
DB
396 * Contribute mep-elf from Red Hat
397 2006-10-27 DJ Delorie <dj@redhat.com>
398
399 * libc/include/machine/setjmp.h: Add MeP support.
400
401 2003-04-17 DJ Delorie <dj@redhat.com>
402
403 * configure.host (mep-*-*): Support "long long" type.
404
405 2001-06-06 DJ Delorie <dj@redhat.com>
406
407 * libc/include/machine/ieeefp.h (mep): Support little endian too.
408
409 2001-05-14 DJ Delorie <dj@redhat.com>
410
411 * configure.host: Add mep's machine_dir.
412 * libc/include/setjmp.h: Add mep support.
413 * libc/machine/mep: New.
414 * libc/machine/mep/setjmp.S: New, support mep's setjmp/longjmp.
415
416 2001-05-04 DJ Delorie <dj@redhat.com>
417
418 * configure.host: Add mep.
419 * libc/include/machine/ieeefp.h: Ditto.
420
69bfb481
DD
4212007-10-31 DJ Delorie <dj@redhat.com>
422
423 * libc/signal/signal.c (_raise_r): Don't attempt to initialize the
424 signal table, just use a default, in case initialization cause
425 recursion.
426
2a3a02a6
JJ
4272007-10-23 Jeff Johnston <jjohnstn@redhat.com>
428
429 * libc/stdlib/wcstombs_r.c: Add SUSV2 support for calculating
430 size if output buffer is NULL.
431
70317d85
JJ
4322007-10-17 Jeff Johnston <jjohnstn@redhat.com>
433
434 * libm/mathfp/s_logarithm.c: Fix error introduced by previous
435 fix when handling negative input values. Make function
436 consistent with math directory and glibc version such that
437 inf and nan values return inf and nan respectively with no
438 errno setting.
439 * libm/mathfp/sf_logarithm.c: Ditto.
440 * libm/math/w_log.c: Set errno to ERANGE when input is 0.0.
441 * libm/math/wf_log.c: Ditto.
442 * libm/math/w_log10.c: Ditto.
443 * libm/math/wf_log10.c: Ditto.
444
923f9573
JJ
4452007-10-17 Jeff Johnston <jjohnstn@redhat.com>
446
447 * libm/mathfp/s_logarithm.c: Fix case where input is 0 to
448 return -inf.
449 * libm/mathfp/sf_logarithm.c: Ditto.
450
8b630840
JJ
4512007-10-17 Jeff Johnston <jjohnstn@redhat.com>
452
453 * libc/machine/i386/machine/fastmath.h: New file.
454
c99e78b8
EB
4552007-10-13 Eric Blake <ebb9@byu.net>
456
457 * libc/stdio/vfprintf.c (_VFPRINTF_R) [__OPTIMIZE_SIZE__]:
458 Correctly nest else within conditionals.
459 Reported by Artur Lipowski.
460
97f0a0ec
NC
4612007-10-09 Nick Clifton <nickc@redhat.com>
462
463 * libc/sys/linux/dl/do-lookup.h (FCT): Support symbols with
464 the STT_COMMON type.
465
b7bc4ccc
BE
4662007-10-09 Ben Elliston <bje@au.ibm.com>
467
468 * libm/machine/spu/headers/acosd2.h: Include spu_intrinsics.h
469 before simdmath.h to get a definition for `vector'.
470 * libm/machine/spu/headers/asind2.h: Likewise.
471
1671fbe1
JJ
4722007-09-28 Patrick Mansfield <patmans@us.ibm.com>
473
474 * libm/machine/spu/headers/dom_chkd_less_than.h: New file.
475 * libm/machine/spu/headers/dom_chkd_negone_one.h: Ditto.
476 * libm/machine/spu/headers/dom_chkf_less_than.h: Ditto.
477 * libm/machine/spu/headers/dom_chkf_negone_one.h: Ditto.
478 * libm/machine/spu/headers/acos.h: Add domain check.
479 * libm/machine/spu/headers/acosf.h: Ditto.
480 * libm/machine/spu/headers/acosh.h: Ditto.
481 * libm/machine/spu/headers/acoshf.h: Ditto.
482 * libm/machine/spu/headers/asin.h: Ditto.
483 * libm/machine/spu/headers/asinf.h: Ditto.
484 * libm/machine/spu/headers/atanh.h: Ditto.
485 * libm/machine/spu/headers/atanhf.h: Ditto.
486 * libm/machine/spu/headers/fmod.h: Ditto.
487 * libm/machine/spu/headers/fmodf.h: Ditto.
488 * libm/machine/spu/headers/log.h: Ditto.
489 * libm/machine/spu/headers/log10.h: Ditto.
490 * libm/machine/spu/headers/log1p.h: Ditto.
491 * libm/machine/spu/headers/log1pf.h: Ditto.
492 * libm/machine/spu/headers/log2.h: Ditto.
493 * libm/machine/spu/headers/log2f.h: Ditto.
494 * libm/machine/spu/headers/sqrt.h: Ditto.
495 * libm/machine/spu/headers/sqrtf.h: Ditto.
496 * libm/machine/spu/headers/tgamma.h: Ditto.
497 * libm/machine/spu/headers/tgammaf.h: Ditto.
498
e30a7b84
JJ
4992007-09-28 Patrick Mansfield <patmans@us.ibm.com>
500
501 * libm/machine/spu/Makefile.am: Add new C files.
502 * libm/machine/spu/Makefile.in: Regenerate.
503 * libm/machine/spu/headers/acos.h: New file.
504 * libm/machine/spu/headers/acosd2.h: Ditto.
505 * libm/machine/spu/headers/acosf.h: Ditto.
506 * libm/machine/spu/headers/acosf4.h: Ditto.
507 * libm/machine/spu/headers/acosh.h: Ditto.
508 * libm/machine/spu/headers/acoshd2.h: Ditto.
509 * libm/machine/spu/headers/acoshf.h: Ditto.
510 * libm/machine/spu/headers/acoshf4.h: Ditto.
511 * libm/machine/spu/headers/asin.h: Ditto.
512 * libm/machine/spu/headers/asind2.h: Ditto.
513 * libm/machine/spu/headers/asinf.h: Ditto.
514 * libm/machine/spu/headers/asinf4.h: Ditto.
515 * libm/machine/spu/headers/asinh.h: Ditto.
516 * libm/machine/spu/headers/asinhd2.h: Ditto.
517 * libm/machine/spu/headers/asinhf.h: Ditto.
518 * libm/machine/spu/headers/asinhf4.h: Ditto.
519 * libm/machine/spu/headers/atan.h: Ditto.
520 * libm/machine/spu/headers/atan2.h: Ditto.
521 * libm/machine/spu/headers/atan2d2.h: Ditto.
522 * libm/machine/spu/headers/atan2f.h: Ditto.
523 * libm/machine/spu/headers/atan2f4.h: Ditto.
524 * libm/machine/spu/headers/atand2.h: Ditto.
525 * libm/machine/spu/headers/atanf4.h: Ditto.
526 * libm/machine/spu/headers/atanh.h: Ditto.
527 * libm/machine/spu/headers/atanhd2.h: Ditto.
528 * libm/machine/spu/headers/atanhf.h: Ditto.
529 * libm/machine/spu/headers/atanhf4.h: Ditto.
530 * libm/machine/spu/headers/cos.h: Ditto.
531 * libm/machine/spu/headers/cos_sin.h: Ditto.
532 * libm/machine/spu/headers/cosd2.h: Ditto.
533 * libm/machine/spu/headers/cosf.h: Ditto.
534 * libm/machine/spu/headers/cosf4.h: Ditto.
535 * libm/machine/spu/headers/cosh.h: Ditto.
536 * libm/machine/spu/headers/coshd2.h: Ditto.
537 * libm/machine/spu/headers/coshf.h: Ditto.
538 * libm/machine/spu/headers/coshf4.h: Ditto.
539 * libm/machine/spu/headers/divd2.h: Ditto.
540 * libm/machine/spu/headers/divf4.h: Ditto.
541 * libm/machine/spu/headers/erf.h: Ditto.
542 * libm/machine/spu/headers/erf_utils.h: Ditto.
543 * libm/machine/spu/headers/erfc.h: Ditto.
544 * libm/machine/spu/headers/erfcd2.h: Ditto.
545 * libm/machine/spu/headers/erfcf.h: Ditto.
546 * libm/machine/spu/headers/erfcf4.h: Ditto.
547 * libm/machine/spu/headers/erfd2.h: Ditto.
548 * libm/machine/spu/headers/erff.h: Ditto.
549 * libm/machine/spu/headers/erff4.h: Ditto.
550 * libm/machine/spu/headers/exp.h: Ditto.
551 * libm/machine/spu/headers/exp2.h: Ditto.
552 * libm/machine/spu/headers/exp2d2.h: Ditto.
553 * libm/machine/spu/headers/exp2f4.h: Ditto.
554 * libm/machine/spu/headers/expd2.h: Ditto.
555 * libm/machine/spu/headers/expf4.h: Ditto.
556 * libm/machine/spu/headers/expm1.h: Ditto.
557 * libm/machine/spu/headers/expm1d2.h: Ditto.
558 * libm/machine/spu/headers/expm1f.h: Ditto.
559 * libm/machine/spu/headers/expm1f4.h: Ditto.
560 * libm/machine/spu/headers/floord2.h: Ditto.
561 * libm/machine/spu/headers/floorf4.h: Ditto.
562 * libm/machine/spu/headers/hypot.h: Ditto.
563 * libm/machine/spu/headers/hypotd2.h: Ditto.
564 * libm/machine/spu/headers/hypotf.h: Ditto.
565 * libm/machine/spu/headers/hypotf4.h: Ditto.
566 * libm/machine/spu/headers/isnan.h: Ditto.
567 * libm/machine/spu/headers/isnand2.h: Ditto.
568 * libm/machine/spu/headers/isnanf.h: Ditto.
569 * libm/machine/spu/headers/isnanf4.h: Ditto.
570 * libm/machine/spu/headers/ldexpd2.h: Ditto.
571 * libm/machine/spu/headers/ldexpf4.h: Ditto.
572 * libm/machine/spu/headers/lgamma.h: Ditto.
573 * libm/machine/spu/headers/lgammad2.h: Ditto.
574 * libm/machine/spu/headers/lgammaf.h: Ditto.
575 * libm/machine/spu/headers/lgammaf4.h: Ditto.
576 * libm/machine/spu/headers/log.h: Ditto.
577 * libm/machine/spu/headers/log10.h: Ditto.
578 * libm/machine/spu/headers/log10d2.h: Ditto.
579 * libm/machine/spu/headers/log1p.h: Ditto.
580 * libm/machine/spu/headers/log1pd2.h: Ditto.
581 * libm/machine/spu/headers/log1pf.h: Ditto.
582 * libm/machine/spu/headers/log1pf4.h: Ditto.
583 * libm/machine/spu/headers/log2.h: Ditto.
584 * libm/machine/spu/headers/log2d2.h: Ditto.
585 * libm/machine/spu/headers/log2f4.h: Ditto.
586 * libm/machine/spu/headers/logbf.h: Ditto.
587 * libm/machine/spu/headers/logbf4.h: Ditto.
588 * libm/machine/spu/headers/logd2.h: Ditto.
589 * libm/machine/spu/headers/logf4.h: Ditto.
590 * libm/machine/spu/headers/nearbyintf.h: Ditto.
591 * libm/machine/spu/headers/nearbyintf4.h: Ditto.
592 * libm/machine/spu/headers/nextafter.h: Ditto.
593 * libm/machine/spu/headers/nextafterd2.h: Ditto.
594 * libm/machine/spu/headers/nextafterf.h: Ditto.
595 * libm/machine/spu/headers/nextafterf4.h: Ditto.
596 * libm/machine/spu/headers/pow.h: Ditto.
597 * libm/machine/spu/headers/powd2.h: Ditto.
598 * libm/machine/spu/headers/powf.h: Ditto.
599 * libm/machine/spu/headers/powf4.h: Ditto.
600 * libm/machine/spu/headers/recipd2.h: Ditto.
601 * libm/machine/spu/headers/recipf4.h: Ditto.
602 * libm/machine/spu/headers/rintf.h: Ditto.
603 * libm/machine/spu/headers/rintf4.h: Ditto.
604 * libm/machine/spu/headers/scalbnf4.h: Ditto.
605 * libm/machine/spu/headers/signbit.h: Ditto.
606 * libm/machine/spu/headers/signbitd2.h: Ditto.
607 * libm/machine/spu/headers/simdmath.h: Ditto.
608 * libm/machine/spu/headers/sin.h: Ditto.
609 * libm/machine/spu/headers/sincos.h: Ditto.
610 * libm/machine/spu/headers/sincosd2.h: Ditto.
611 * libm/machine/spu/headers/sincosf.h: Ditto.
612 * libm/machine/spu/headers/sincosf4.h: Ditto.
613 * libm/machine/spu/headers/sind2.h: Ditto.
614 * libm/machine/spu/headers/sinf.h: Ditto.
615 * libm/machine/spu/headers/sinf4.h: Ditto.
616 * libm/machine/spu/headers/sinh.h: Ditto.
617 * libm/machine/spu/headers/sinhd2.h: Ditto.
618 * libm/machine/spu/headers/sinhf.h: Ditto.
619 * libm/machine/spu/headers/sinhf4.h: Ditto.
620 * libm/machine/spu/headers/sqrtd2.h: Ditto.
621 * libm/machine/spu/headers/sqrtf.h: Ditto.
622 * libm/machine/spu/headers/sqrtf4.h: Ditto.
623 * libm/machine/spu/headers/tan.h: Ditto.
624 * libm/machine/spu/headers/tand2.h: Ditto.
625 * libm/machine/spu/headers/tanf.h: Ditto.
626 * libm/machine/spu/headers/tanf4.h: Ditto.
627 * libm/machine/spu/headers/tanh.h: Ditto.
628 * libm/machine/spu/headers/tanhd2.h: Ditto.
629 * libm/machine/spu/headers/tanhf.h: Ditto.
630 * libm/machine/spu/headers/tanhf4.h: Ditto.
631 * libm/machine/spu/headers/tgamma.h: Ditto.
632 * libm/machine/spu/headers/tgammad2.h: Ditto.
633 * libm/machine/spu/headers/tgammaf.h: Ditto.
634 * libm/machine/spu/headers/tgammaf4.h: Ditto.
635 * libm/machine/spu/headers/truncd2.h: Ditto.
636 * libm/machine/spu/headers/truncf4.h: Ditto.
637 * libm/machine/spu/log2.c: Ditto.
638 * libm/machine/spu/s_asinh.c: Ditto.
639 * libm/machine/spu/s_atan.c: Ditto.
640 * libm/machine/spu/s_cos.c: Ditto.
641 * libm/machine/spu/s_erf.c: Ditto.
642 * libm/machine/spu/s_expm1.c: Ditto.
643 * libm/machine/spu/s_isnan.c: Ditto.
644 * libm/machine/spu/s_log1p.c: Ditto.
645 * libm/machine/spu/s_nextafter.c: Ditto.
646 * libm/machine/spu/s_sin.c: Ditto.
647 * libm/machine/spu/s_tan.c: Ditto.
648 * libm/machine/spu/s_tanh.c: Ditto.
649 * libm/machine/spu/sf_asinh.c: Ditto.
650 * libm/machine/spu/sf_cos.c: Ditto.
651 * libm/machine/spu/sf_erf.c: Ditto.
652 * libm/machine/spu/sf_expm1.c: Ditto.
653 * libm/machine/spu/sf_log1p.c: Ditto.
654 * libm/machine/spu/sf_logb.c: Ditto.
655 * libm/machine/spu/sf_nearbyint.c: Ditto.
656 * libm/machine/spu/sf_nextafter.c: Ditto.
657 * libm/machine/spu/sf_rint.c: Ditto.
658 * libm/machine/spu/sf_sin.c: Ditto.
659 * libm/machine/spu/sf_tan.c: Ditto.
660 * libm/machine/spu/sf_tanh.c: Ditto.
661 * libm/machine/spu/w_acos.c: Ditto.
662 * libm/machine/spu/w_acosh.c: Ditto.
663 * libm/machine/spu/w_asin.c: Ditto.
664 * libm/machine/spu/w_atan2.c: Ditto.
665 * libm/machine/spu/w_atanh.c: Ditto.
666 * libm/machine/spu/w_cosh.c: Ditto.
667 * libm/machine/spu/w_exp.c: Ditto.
668 * libm/machine/spu/w_exp2.c: Ditto.
669 * libm/machine/spu/w_hypot.c: Ditto.
670 * libm/machine/spu/w_lgamma.c: Ditto.
671 * libm/machine/spu/w_log.c: Ditto.
672 * libm/machine/spu/w_log10.c: Ditto.
673 * libm/machine/spu/w_pow.c: Ditto.
674 * libm/machine/spu/w_sincos.c: Ditto.
675 * libm/machine/spu/w_sinh.c: Ditto.
676 * libm/machine/spu/w_tgamma.c: Ditto.
677 * libm/machine/spu/wf_acos.c: Ditto.
678 * libm/machine/spu/wf_acosh.c: Ditto.
679 * libm/machine/spu/wf_asin.c: Ditto.
680 * libm/machine/spu/wf_atan2.c: Ditto.
681 * libm/machine/spu/wf_atanh.c: Ditto.
682 * libm/machine/spu/wf_cosh.c: Ditto.
683 * libm/machine/spu/wf_hypot.c: Ditto.
684 * libm/machine/spu/wf_lgamma.c: Ditto.
685 * libm/machine/spu/wf_pow.c: Ditto.
686 * libm/machine/spu/wf_sincos.c: Ditto.
687 * libm/machine/spu/wf_sinh.c: Ditto.
688 * libm/machine/spu/wf_sqrt.c: Ditto.
689 * libm/machine/spu/wf_tgamma.c: Ditto.
690
505ea714
JJ
6912007-09-28 Patrick Mansfield <patmans@us.ibm.com>
692
693 * configure.host: Define _POSIX_MODE to match the existing vector
694 math code, as we don't support the matherr callout.
695 * libm/machine/spu/Makefile.am: New file.
696 * libm/machine/spu/Makefile.in: Auto-generated.
697 * libm/machine/spu/headers/atanf.h: New file.
698 * libm/machine/spu/headers/cbrt.h: Ditto.
699 * libm/machine/spu/headers/cbrtf.h: Ditto.
700 * libm/machine/spu/headers/ceil.h: Ditto.
701 * libm/machine/spu/headers/ceilf.h: Ditto.
702 * libm/machine/spu/headers/copysign.h: Ditto.
703 * libm/machine/spu/headers/copysignf.h: Ditto.
704 * libm/machine/spu/headers/exp2f.h: Ditto.
705 * libm/machine/spu/headers/expf.h: Ditto.
706 * libm/machine/spu/headers/fabs.h: Ditto.
707 * libm/machine/spu/headers/fabsf.h: Ditto.
708 * libm/machine/spu/headers/fdim.h: Ditto.
709 * libm/machine/spu/headers/fdimf.h: Ditto.
710 * libm/machine/spu/headers/floor.h: Ditto.
711 * libm/machine/spu/headers/floorf.h: Ditto.
712 * libm/machine/spu/headers/fma.h: Ditto.
713 * libm/machine/spu/headers/fmaf.h: Ditto.
714 * libm/machine/spu/headers/fmax.h: Ditto.
715 * libm/machine/spu/headers/fmaxf.h: Ditto.
716 * libm/machine/spu/headers/fmin.h: Ditto.
717 * libm/machine/spu/headers/fminf.h: Ditto.
718 * libm/machine/spu/headers/fmod.h: Ditto.
719 * libm/machine/spu/headers/fmodf.h: Ditto.
720 * libm/machine/spu/headers/frexp.h: Ditto.
721 * libm/machine/spu/headers/frexpf.h: Ditto.
722 * libm/machine/spu/headers/ilogb.h: Ditto.
723 * libm/machine/spu/headers/ilogbf.h: Ditto.
724 * libm/machine/spu/headers/ldexp.h: Ditto.
725 * libm/machine/spu/headers/ldexpf.h: Ditto.
726 * libm/machine/spu/headers/llrint.h: Ditto.
727 * libm/machine/spu/headers/llrintf.h: Ditto.
728 * libm/machine/spu/headers/llround.h: Ditto.
729 * libm/machine/spu/headers/llroundf.h: Ditto.
730 * libm/machine/spu/headers/log10f.h: Ditto.
731 * libm/machine/spu/headers/log2f.h: Ditto.
732 * libm/machine/spu/headers/logf.h: Ditto.
733 * libm/machine/spu/headers/lrint.h: Ditto.
734 * libm/machine/spu/headers/lrintf.h: Ditto.
735 * libm/machine/spu/headers/lround.h: Ditto.
736 * libm/machine/spu/headers/lroundf.h: Ditto.
737 * libm/machine/spu/headers/nearbyint.h: Ditto.
738 * libm/machine/spu/headers/remainder.h: Ditto.
739 * libm/machine/spu/headers/remainderf.h: Ditto.
740 * libm/machine/spu/headers/remquo.h: Ditto.
741 * libm/machine/spu/headers/remquof.h: Ditto.
742 * libm/machine/spu/headers/rint.h: Ditto.
743 * libm/machine/spu/headers/round.h: Ditto.
744 * libm/machine/spu/headers/roundf.h: Ditto.
745 * libm/machine/spu/headers/scalbn.h: Ditto.
746 * libm/machine/spu/headers/scalbnf.h: Ditto.
747 * libm/machine/spu/headers/sqrt.h: Ditto.
748 * libm/machine/spu/headers/trunc.h: Ditto.
749 * libm/machine/spu/headers/truncf.h: Ditto.
750 * libm/machine/spu/headers/vec_literal.h: Ditto.
751 * libm/machine/spu/llrint.c: Ditto.
752 * libm/machine/spu/llrintf.c: Ditto.
753 * libm/machine/spu/llround.c: Ditto.
754 * libm/machine/spu/llroundf.c: Ditto.
755 * libm/machine/spu/log2f.c: Ditto.
756 * libm/machine/spu/s_cbrt.c: Ditto.
757 * libm/machine/spu/s_ceil.c: Ditto.
758 * libm/machine/spu/s_copysign.c: Ditto.
759 * libm/machine/spu/s_fabs.c: Ditto.
760 * libm/machine/spu/s_fdim.c: Ditto.
761 * libm/machine/spu/s_floor.c: Ditto.
762 * libm/machine/spu/s_fma.c: Ditto.
763 * libm/machine/spu/s_fmax.c: Ditto.
764 * libm/machine/spu/s_fmin.c: Ditto.
765 * libm/machine/spu/s_frexp.c: Ditto.
766 * libm/machine/spu/s_ilogb.c: Ditto.
767 * libm/machine/spu/s_ldexp.c: Ditto.
768 * libm/machine/spu/s_lrint.c: Ditto.
769 * libm/machine/spu/s_lround.c: Ditto.
770 * libm/machine/spu/s_nearbyint.c: Ditto.
771 * libm/machine/spu/s_remquo.c: Ditto.
772 * libm/machine/spu/s_rint.c: Ditto.
773 * libm/machine/spu/s_round.c: Ditto.
774 * libm/machine/spu/s_scalbn.c: Ditto.
775 * libm/machine/spu/s_trunc.c: Ditto.
776 * libm/machine/spu/sf_atan.c: Ditto.
777 * libm/machine/spu/sf_cbrt.c: Ditto.
778 * libm/machine/spu/sf_ceil.c: Ditto.
779 * libm/machine/spu/sf_copysign.c: Ditto.
780 * libm/machine/spu/sf_fabs.c: Ditto.
781 * libm/machine/spu/sf_fdim.c: Ditto.
782 * libm/machine/spu/sf_floor.c: Ditto.
783 * libm/machine/spu/sf_fma.c: Ditto.
784 * libm/machine/spu/sf_fmax.c: Ditto.
785 * libm/machine/spu/sf_fmin.c: Ditto.
786 * libm/machine/spu/sf_frexp.c: Ditto.
787 * libm/machine/spu/sf_ilogb.c: Ditto.
788 * libm/machine/spu/sf_ldexp.c: Ditto.
789 * libm/machine/spu/sf_lrint.c: Ditto.
790 * libm/machine/spu/sf_lround.c: Ditto.
791 * libm/machine/spu/sf_remquo.c: Ditto.
792 * libm/machine/spu/sf_round.c: Ditto.
793 * libm/machine/spu/sf_scalbn.c: Ditto.
794 * libm/machine/spu/sf_trunc.c: Ditto.
795 * libm/machine/spu/w_fmod.c: Ditto.
796 * libm/machine/spu/w_remainder.c: Ditto.
797 * libm/machine/spu/w_sqrt.c: Ditto.
798 * libm/machine/spu/wf_exp.c: Ditto.
799 * libm/machine/spu/wf_exp2.c: Ditto.
800 * libm/machine/spu/wf_fmod.c: Ditto.
801 * libm/machine/spu/wf_log.c: Ditto.
802 * libm/machine/spu/wf_log10.c: Ditto.
803 * libm/machine/spu/wf_remainder.c: Ditto.
c99e78b8 804
364faf91
JJ
8052007-09-21 Patrick Mansfield <patmans@us.ibm.com>
806
807 * libc/machine/spu/sys/uio.h: New file for readv and writev use.
808
2f3d28fc
JJ
8092007-09-21 Patrick Mansfield <patmans@us.ibm.com>
810
811 * libc/include/sched.h: New file, just include sys/sched.h.
812 * libc/machine/spu/sys/sched.h: New file, has just sched_yield
813 prototype.
814 * libc/machine/spu/sys/utime.h: New file, has utime prototype and
815 struct utimbuf definition.
816
63fbe1fd
JJ
8172007-09-21 Patrick Mansfield <patmans@us.ibm.com>
818
819 * libc/machine/spu/sys/dirent.h: New file, add prototypes and SPU
820 specific struct and typedef.
821
8222007-09-18 Patrick Mansfield <patmans@us.ibm.com>
cebf33e4
JJ
823
824 * libc/include/sys/types.h: Use __dev_t, __uid_t, and __gid_t to
825 typedef dev_t, gid_t, and uid_t.
826 * libc/include/sys/_types.h: Move previous dev_t, uid_t and gid_t
827 types.h code to here, but typedef __dev_t, __uid_t, and __gid_t instead.
828 Change to lower case for all __foo_t_defined names.
829 * libc/machine/spu/machine/_types.h: Add SPU specific __dev_t,
830 __uid_t, and __gid_t making them all four bytes. Change to lower case
831 for all __foo_t_defined names.
832
3908c985
JJ
8332007-09-18 Jeff Johnston <jjohnstn@redhat.com>
834
835 * libc/reent/renamer.c: New file.
836 * libc/reent/Makefile.am: Add new file.
837 * libc/reent/Makefile.in: Regenerated.
838 * libc/stdio/rename.c: Break out _rename_r code into reent/renamer.c
839 and add check for rename syscall.
840
ba21046d
EB
8412007-09-17 Eric Blake <ebb9@byu.net>
842
843 Obey POSIX on printf("%.s", (char*)NULL).
844 * libc/stdio/vfprintf.c (_VFPRINTF_R): Take precision into account
845 for %s on NULL. Skip NULL check when optimizing for size.
846
e5ae7230
JJ
8472007-09-07 Jeff Johnston <jjohnstn@redhat.com>
848
849 * libc/include/sys/_types.h: Protect all types with flag
850 checks to allow definition in machine/_types.h.
851
36fe6da6
JJ
8522007-09-07 Jeff Johnston <jjohnstn@redhat.com>
853
854 * libc/sys/linux/sys/_types.h: Add _fpos_t and _fpos64_t
855 definitions in light of the previous change.
856
8572007-09-07 Patrick Mansfield <patmans@us.ibm.com>
dde22334
JJ
858
859 * libc/include/machine/_default_types.h: New file, contains what
860 was previously in libc/include/machine/_types.h.
861 * libc/include/machine/_types.h: Now only includes
862 machine/_default_types.h.
863 * libc/include/sys/reent.h: Remove _fpos_t and _fpos64_t.
864 * libc/include/sys/_types.h: Move _fpos_t and _fpos64_t to here,
865 with conditional declarations.
866 * libc/machine/spu/machine/_types.h: New file, add SPU specific
867 typedefs for _fpos_t and _fpos64_t.
868
78e66fb9
JJ
8692007-09-07 Jeff Johnston <jjohnstn@redhat.com>
870
871 * libc/include/math.h (_M_LOG2E): Replace with..
872 (_M_LOG2_E): New macro.
873 (log2, log2f, M_LOG2_E): Use _M_LOG2_E.
874
345c1595
BD
8752007-09-06 Brian Dessent <brian@dessent.net>
876
877 * libc/reent/getreent.c: Allow for case where __getreent is
878 defined as a macro.
879
6494ee83
JJ
8802007-09-06 Jeff Johnston <jjohnstn@redhat.com>
881
882 * libc/include/math.h (_M_LOG2E): New log2 of e macro.
883 (log2): Use _M_LOG2E instead of M_LOG2E.
884 (log2f): Ditto.
885 (M_LOG2E): Define to be _M_LOG2E.
886
86a934d2
JJ
8872007-09-04 Kazunori Asayama <asayama@sm.sony.co.jp>
888
889 * libm/math/wf_tgamma.c: Add missing include.
890
6ddf8bef
JJ
8912007-08-31 Antony King <antony.king@st.com>
892
ba21046d 893 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS}: Define IEEE_Arith
6ddf8bef
JJ
894 bits and redefine associated dword0 macro (rvalue issue).
895 * libc/stdio/vfieeefp.h: Ditto.
ba21046d
EB
896 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
897 to prevent setting dword1 which is an rvalue only.
6ddf8bef 898
d4a27886
JJ
8992007-08-28 Hans Kester <hans.kester@ellips.nl>
900
901 * configure.host: Added support for x86_64.
902 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for x86_64.
903 * libc/include/machine/setjmp.h: Define _JBTYPE and _JBLEN for x86_64.
904 * libc/machine/x86_64/aclocal.m4: Generated.
905 * libc/machine/x86_64/configure.in: New.
906 * libc/machine/x86_64/configure: Generated.
907 * libc/machine/x86_64/Makefile.am: New.
908 * libc/machine/x86_64/Makefile.in: Generated.
909 * libc/machine/x86_64/setjmp.S: New.
910 * libc/machine/x86_64/memcpy.S: New.
911 * libc/machine/x86_64/memset.S: New.
912 * libc/machine/configure.in: Added support for x86_64.
913 * libc/machine/configure: Regenerated.
914
309faeb5
JJ
9152007-08-24 Jeff Johnston <jjohnstn@redhat.com>
916
917 * libm/common/sf_lround.c (lroundf): Cast sizeof calculation
918 to int before comparing it to a signed int value.
919
8d44415e
HPN
9202007-08-24 Hans-Peter Nilsson <hp@axis.com>
921
922 * libc/machine/cris/sys/errno.h (ECANCELED, ENOKEY, EKEYEXPIRED)
923 (EKEYREVOKED, EKEYREJECTED, EOWNERDEAD, ENOTRECOVERABLE, ENOTSUP):
924 Define.
925
e6e56f7c
JJ
9262007-08-23 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp>
927
928 Reduce the memory consumption of variable argument functions
929 for SPU (cell):
930 * libc/machine/spu/Makefile.am: Replace printf/scanf family C sources
931 to assembler sources.
932 * libc/machine/spu/Makefile.in: Regenerated.
933 * libc/machine/spu/stdio.c: Add __check_init function wrapping
934 CHECK_INIT macro to use from assembler routines.
935 * libc/machine/spu/c99ppe.h: Add definitions for assembler code.
936 * libc/machine/spu/fiprintf.S: New file.
937 * libc/machine/spu/fiscanf.S: Ditto.
938 * libc/machine/spu/fprintf.S: Ditto.
939 * libc/machine/spu/fscanf.S: Ditto.
940 * libc/machine/spu/iprintf.S: Ditto.
941 * libc/machine/spu/iscanf.S: Ditto.
942 * libc/machine/spu/printf.S: Ditto.
943 * libc/machine/spu/scanf.S: Ditto.
944 * libc/machine/spu/siprintf.S: Ditto.
945 * libc/machine/spu/siscanf.S: Ditto.
946 * libc/machine/spu/sniprintf.S: Ditto.
947 * libc/machine/spu/snprintf.S: Ditto.
948 * libc/machine/spu/sprintf.S: Ditto.
949 * libc/machine/spu/sscanf.S: Ditto.
950 * libc/machine/spu/stack_reg_va.S: Ditto.
951 * libc/machine/spu/syscall.def: Ditto. (for maintenance)
952 * libc/machine/spu/mk_syscalls: Ditto. (for maintenance)
953 * libc/machine/spu/fiprintf.c: Removed. (Replaced by .S)
954 * libc/machine/spu/fiscanf.c: Ditto.
955 * libc/machine/spu/fprintf.c: Ditto.
956 * libc/machine/spu/fscanf.c: Ditto.
957 * libc/machine/spu/iprintf.c: Ditto.
958 * libc/machine/spu/iscanf.c: Ditto.
959 * libc/machine/spu/printf.c: Ditto.
960 * libc/machine/spu/scanf.c: Ditto.
961 * libc/machine/spu/siprintf.c: Ditto.
962 * libc/machine/spu/siscanf.c: Ditto.
963 * libc/machine/spu/sniprintf.c: Ditto.
964 * libc/machine/spu/snprintf.c: Ditto.
965 * libc/machine/spu/sprintf.c: Ditto.
966 * libc/machine/spu/sscanf.c: Ditto.
967
90c6084b
JJ
9682007-08-03 Ralf Corsepius <ralf.corsepius@rtems.org>
969
970 * libc/include/tar.h: New.
971
8fb88162
JJ
9722007-08-03 Jeff Johnston <jjohnstn@redhat.com>
973
974 * libc/sys/linux/intl/Makefile.am: Change stpcpy reference to
975 lcl_stpcpy to avoid conflict with new stpcpy.c in libc/string.
976 * libc/sys/linux/intl/Makefile.in: Regenerated.
977 * libc/sys/linux/intl/stpcpy.c: Renamed to...
978 * libc/sys/linux/intl/lcl_stpcpy.c: ..this.
979
6ddcdb9d
EB
9802007-08-02 Eric Blake <ebb9@byu.net>
981
982 Implement fmemopen and open_memstream.
983 * libc/stdio/fmemopen.c (_fmemopen_r, fmemopen): New file.
984 * libc/stdio/open_memstream.c (_open_memstream_r, open_memstream):
985 New file.
986 * libc/stdio/fopencookie.c (fcwriter): Minor optimization.
987 * libc/include/stdio.h (dprintf, vdprintf): Group all POSIX 200x
988 functions together.
989 (fmemopen, open_memstream): Declare new functions.
990 * libc/stdio/stdio.tex: Document them.
991 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Add
992 fmemopen and open_memstream.
993 * libc/stdio/Makefile.in: Regenerate.
994
f7c978d5
EB
9952007-07-31 Eric Blake <ebb9@byu.net>
996
997 More POSIX stream corner cases.
998 * libc/stdio/findfp.c (__sinit): Open stderr read/write.
999 * libc/stdio/fdopen.c (_fdopen_r): Set O_APPEND on fd when
1000 requested.
1001 * libc/stdio64/fdopen64.c (_fdopen64_r): Likewise.
1002
391b530a
EB
10032007-07-18 Eric Blake <ebb9@byu.net>
1004
1005 Fix 'make info'.
1006 * libc/stdio/stdio.tex: Add missing include.
1007 * libc/stdio/vfprintf.c: Use expected node name.
1008 * libc/stdio/vfscanf.c: Likewise.
1009 * libc/stdio/sscanf.c: Likewise.
1010 * libc/stdio/sprintf.c: Likewise.
1011 * libc/stdio/siscanf.c: Likewise.
1012 * libc/stdio/siprintf.c: Likewise.
1013 * libc/stdio/fopencookie.c: Quote raw {}.
1014 Reported by DJ Delorie.
1015
88c88881
EB
10162007-07-13 Eric Blake <ebb9@byu.net>
1017
08146e5a
EB
1018 Fix fflush issues.
1019 * libc/stdio/fflush.c (_fflush_r): New function.
1020 (fflush): Fix reentrancy and large offset behavior.
1021 * libc/include/stdio.h (_fflush_r): Add prototype.
1022 * libc/stdio/fclose.c (_fclose_r): All fflush callers changed.
1023 * libc/stdio/freopen.c (_freopen_r): Likewise.
1024 * libc/stdio/fseek.c (_fseek_r): Likewise.
1025 * libc/stdio/ftell.c (_ftell_r): Likewise.
1026 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
1027 * libc/stdio/refill.c (__srefill_r): Likewise.
1028 * libc/stdio/setvbuf.c (setvbuf): Likewise.
1029 * libc/stdio/ungetc.c (_ungetc_r): Likewise.
1030 * libc/stdio/vfprintf.c (__sbprintf): Likewise.
1031 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
1032 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
1033 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise. Defer to
1034 32-bit version if not large file.
1035 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
1036 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Avoid compile warning.
1037
88c88881
EB
1038 Documentation updates.
1039 * libc/stdio/ungetc.c: Document ungetc.
1040 * libc/stdio/Makefile.am (CHEWOUT_FILES): Sort, match current list
1041 of files with documentation.
1042 * libc/stdio/Makefile.in: Regenerate.
1043 * libc/stdio/stdio.tex: Sort and update stdio documentation index.
1044
c4ccbcce
JJ
10452007-07-11 Jeff Johnston <jjohnstn@redhat.com>
1046
1047 * libc/include/math.h: Fix so C99 functions/macros are accessible
1048 when -std=c99 is used when compiling and not when using C89.
1049
dec27025
CV
10502007-07-06 Corinna Vinschen <corinna@vinschen.de>
1051
1052 * libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul,
1053 wcstoull, _wcstol_r, _wcstoll_r, _wcstoul_r and _wcstoull_r.
1054 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add wcstol.c and wcstoul.c.
1055 (EXTENDED_SOURCES): Add wcstoll.c, wcstoll_r.c, wcstoull.c and
1056 wcstoull_r.c.
1057 (CHEWOUT_FILES): Add .def files accordingly.
1058 * libc/stdlib/Makefile.in: Regenerate.
1059 * libc/stdlib/stdlib.tex: Add documentation links for above functions.
1060 * libc/stdlib/strtoll.c: Fix portability note.
1061 * libc/stdlib/strtoull.c: Ditto.
1062 * libc/stdlib/wcstol.c: New file.
1063 * libc/stdlib/wcstoll.c: New file.
1064 * libc/stdlib/wcstoll_r.c: New file.
1065 * libc/stdlib/wcstoul.c: New file.
1066 * libc/stdlib/wcstoull.c: New file.
1067 * libc/stdlib/wcstoull_r.c: New file.
1068
0be2bc94
JJ
10692007-07-06 Jeff Johnston <jjohnstn@redhat.com>
1070
1071 * libc/include/sys/time.h (gettimeofday): Change to proper
1072 prototype where second parameter is void *.
1073 * libc/reent/gettimeofdayr.c (_gettimeofday_r): Change prototype
1074 accordingly.
1075 * libc/include/reent.h: Fix prototype for _gettimeofday_r.
1076 * libc/sys/arm/syscalls.c: Fix gettimeofday function signature.
1077 * libc/sys/rdos/gettod.c: Ditto.
1078 * libc/sys/sh/syscalls.c: Ditto.
1079 * libc/time/time.c (time): Change call to _gettimeofday_r
1080 to pass NULL as 2nd argument.
1081
ba9af2d7
JJ
10822007-07-06 Jeff Johnston <jjohnstn@redhat.com>
1083
1084 * libc/sys/linux/intl/dcigettext.c: Define HAVE_STPCPY.
1085 * libc/sys/linux/intl/l10nflist.c: Ditto.
1086
a3721512
CV
10872007-07-04 Corinna Vinschen <corinna@vinschen.de>
1088
1089 * libc/include/wchar.h: Add prototype for wcsxfrm.
1090 * libc/string/Makefile.am (GENERAL_SOURCES): Add wcsxfrm.c.
1091 (CHEWOUT_FILES): Add wcsxfrm.def.
1092 * libc/string/Makefile.in: Regenerate.
1093 * libc/string/wcsxfrm.c: New file.
1094 * libc/string/wcstrings.tex: Add wcsxfrm.
1095
5d8b97a6
CV
10962007-06-28 Corinna Vinschen <corinna@vinschen.de>
1097
1098 * libc/include/string.h: Add prototypes for stpcpy and stpncpy.
1099 * libc/string/Makefile.am (ELIX_SOURCES): Add stpcpy.c and
1100 stpncpy.c.
1101 (CHEWOUT_FILES): Add stpcpy.def and stpncpy.def.
1102 * libc/string/Makefile.in: Regenerate.
1103 * libc/string/stpcpy.c: New file.
1104 * libc/string/stpncpy.c: New file.
1105 * libc/string/strings.tex: Add stpcpy and stpncpy.
1106
3473e6bd
EB
11072007-06-27 Eric Blake <ebb9@byu.net>
1108
1109 Support __func__ in assert, as required by C99.
1110 * libc/stdlib/assert.c (__assert_func): New function.
1111 (__assert): Use __assert_func.
1112 * libc/include/assert.h (assert) [!NDEBUG]: Use __assert_func when
1113 possible.
1114
be977229
JJ
11152007-06-20 Patrick Mansfield <patmans@us.ibm.com>
1116
1117 * libc/machine/spu/perror.c: Pass errno as the second argument to
1118 the assist call.
1119
d360ef18
JJ
11202007-06-20 Patrick Mansfield <patmans@us.ibm.com>
1121
1122 * libc/include/sys/unistd.h[__SPU__]: Add lockf prototype and related
1123 defines; expose ftruncate, truncate and sync prototypes.
1124
f75c7518
JJ
11252007-06-20 Patrick Mansfield <patmans@us.ibm.com>
1126
1127 * libc/include/sys/unistd.h[__SPU__]: Make fchdir prototype visible.
3473e6bd 1128 * libc/include/sys/stat.h[__SPU__]: Make mknod and lstat prototypes
f75c7518
JJ
1129 visible.
1130
438b07b0
JJ
11312007-06-15 Patrick Mansfield <patmans@us.ibm.com>
1132
1133 * libc/machine/spu/Makefile.am: Remove mktemp.c, it was left in
1134 from a dropped patch.
1135 * libc/machine/spu/Makefile.in: Regenerate.
1136
c33ff785
JJ
11372007-06-13 Patrick Mansfield <patmans@us.ibm.com>
1138
1139 * libc/machine/spu/creat.c: New file copied from libc/posix/creat.c,
3473e6bd 1140 it just calls open with appropriate arguments.
c33ff785
JJ
1141 * libc/machine/spu/Makefile.am: Add creat.c.
1142 * libc/machine/spu/Makefile.in: Regenerate.
1143
ae473bdc
JJ
11442007-06-13 Jeff Johnston <jjohnstn@redhat.com>
1145
1146 * libc/machine/spu/Makefile.am: Re-add back setjmp.S which
1147 I accidentally dropped.
1148 * libc/machine/spu/Makefile.in: Regenerated.
1149
a8b08518
JJ
11502007-06-13 Patrick Mansfield <patmans@us.ibm.com>
1151
1152 * libc/include/sys/features.h: Define _POSIX_TIMERS for spu.
1153 * libc/include/sys/unistd.h: Change usleep prototype to Posix
1154 form and move outside of OS flag checks.
1155 * libc/machine/spu/Makefile.am: Add sleep and usleep.
1156 * libc/machine/spu/Makefile.in: Regenerate.
1157 * libc/machine/spu/sleep.c: Copy libc/posix/sleep.c.
1158 * libc/machine/spu/usleep.c: Copy libc/posix/usleep.c.
1159
f4cd2a1d
CV
11602007-06-11 Corinna Vinschen <corinna@vinschen.de>
1161
1162 * libc/include/sys/unistd.h: Declare confstr for Cygwin.
1163 Define confstr constants for Cygwin. Add comment.
1164
32f67ec6
HPN
11652007-06-10 Hans-Peter Nilsson <hp@bitrange.com>
1166
1167 * libc/sys/mmixware/access.c (access): Do not try to use a magic
1168 file-handle and a direct syscall, just use _open.
1169 * libc/sys/mmixware/sys/syscall.h (TMPFNO): Remove this magic
1170 file-handle.
1171
1172 * libc/sys/mmixware/_exit.c (_exit): Update comment about
1173 passing on the exit value.
1174
6fb37475
JJ
11752007-06-08 Jeff Johnston <jjohnstn@redhat.com>
1176
1177 * libc/string/strcasestr.c: New file.
1178 * libc/include/string.h: Add strcasestr.
1179 * libc/string/strings.tex: Add strcasestr.
1180 * libc/string/Makefile.am: Ditto.
1181 * libc/string/Makefile.in: Regenerated.
1182
1eeaeab8
JJ
11832007-06-06 Christian Groessler <chris@groessler.org>
1184
1185 * libc/stdlib/ldtoa (_ldcheck): Make sure the setting of
1186 rnd is done after the last local variable declaration.
1187
11882007-06-06 Jeff Johnston <jjohnstn@redhat.com>
1189
1190 * libc/stdlib/mprec.h[Just_16]: Make sure that Pack_16 is defined.
1191
a5da131d
JJ
11922007-06-05 Christian Groessler <chris@groessler.org>
1193
3473e6bd 1194 * libc/argz/argz_insert.c (argz_insert): Move delta variable
a874abaf 1195 declaration to top of function in keeping with C89 standard.
a5da131d 1196
17c61d6a
EB
11972007-06-04 Eric Blake <ebb9@byu.net>
1198
1199 Implement funopen, fopencookie.
1200 * libc/include/sys/reent.h (struct __sFILE, struct __sFILE64):
1201 Switch to reentrant callbacks.
1202 * libc/include/stdio.h (funopen): Fix declaration.
1203 (fopencookie): Declare.
1204 * libc/stdio/local.h (__sread, __swrite, __sseek, __sclose)
1205 (__sseek64, __swrite64): Fix prototypes.
1206 [__SCLE]: Pull in setmode declaration.
1207 * libc/stdio/stdio.c (__sread, __swrite, __sseek, __sclose): Fix
1208 reentrancy.
1209 * libc/stdio64/stdio64.c (__sseek64_r, __swrite64_r): Delete.
1210 (__sseek64, __swrite64): Fix reentrancy.
1211 * libc/stdio/fseek.c (_fseek_r): Account for overflow, and fix
1212 reentrancy.
1213 * libc/stdio/ftell.c (_ftell_r): Likewise.
1214 * libc/stdio/flags.c (__sflags): Don't lose __SAPP on "a+".
1215 * libc/stdio/fclose.c (_fclose_r): Fix reentrancy.
1216 * libc/stdio/freopen.c (_freopen_r): Likewise.
1217 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
1218 * libc/stdio/refill.c (__srefill_r): Likewise.
1219 * libc/stdio/siscanf.c (eofread): Likewise.
1220 * libc/stdio/sscanf.c (eofread): Likewise.
1221 * libc/stdio/vsiscanf.c (eofread1): Likewise.
1222 * libc/stdio/vsscanf.c (eofread1): Likewise.
1223 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
1224 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
1225 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
1226 * libc/stdio/fflush.c (fflush): Improve reentrancy, although more
1227 could be fixed.
1228 * libc/stdio/fopencookie.c (_fopencookie_r, fopencookie): New file.
1229 * libc/stdio/funopen.c (_funopen_r, funopen): New file.
1230 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Build
1231 new files.
1232 * libc/stdio/Makefile.in: Regenerate.
1233
b2064783
EB
12342007-05-29 Eric Blake <ebb9@byu.net>
1235
1236 Avoid more compiler warnings.
1237 * libc/stdlib/btowc.c: Add missing header.
1238 * libc/stdlib/getopt.c (getopt_internal): Initialize variable.
1239 * libc/stdlib/system.c (do_system) [__CYGWIN__]: Add declaration.
1240 * libc/stdlib/wctob.c: Add missing header.
1241 * libc/string/strcpy.c (strcpy): Avoid warnings.
1242 * libc/string/strrchr.c (strrchr): Likewise.
1243
76a2ee78
CV
12442007-05-29 Corinna Vinschen <corinna@vinschen.de>
1245
1246 * libc/argz/argz_add_sep.c (argz_add_sep): Handle empty string
1247 argument.
1248 * libc/argz/argz_append.c (argz_append): Handle empty buf argument.
1249 * libc/argz/argz_create_sep.c (argz_create_sep): Return (NULL, 0)
1250 on empty input strings.
1251 * libc/argz/argz_extract.c (argz_extract): Check argz_len before
1252 looping through argz.
1253 * libc/argz/argz_stringify.c (argz_stringify): Ditto.
1254
75acf0bb
EB
12552007-05-27 Brian Dessent <brian@dessent.net>
1256
1257 * libc/stdio/vfprintf.c (_VFPRINTF_R): Populate 'ox' when
1258 handling %p.
1259
f5c58e9a
EB
12602007-05-25 Eric Blake <ebb9@byu.net>
1261
1262 * libc/stdio/rewind.c (rewind): Fix regression of 2003-08-22.
1263
d9a1ecc0 12642007-05-24 Steve Ellcey <sje@cup.hp.com>
f5c58e9a 1265 Charles Wilson <libtool@cwilson.fastmail.fm>
d9a1ecc0
SE
1266
1267 * libtool.m4: removed
1268 * configure.in: invoke _LD_DECL_SED before conditionally initializing
1269 libtool. Move AC_PROG_AWK outside conditional.
1270 * libc/sys/linux/configure.in: Ditto.
1271 * libc/sys/linux/linuxthreads/configure.in: Ditto.
1272 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
1273 * libc/sys/linux/machine/i386/configure.in: Ditto.
1274
1275 * iconvdata/configure.in: invoke _LD_DECL_SED before conditionally
1276 initializing libtool.
1277 * libc/configure.in: Ditto.
1278 * libc/machine/configure.in: Ditto.
1279 * libc/machine/i386/configure.in: Ditto.
1280 * libc/sys/configure.in: Ditto.
1281 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
1282 * libc/sys/linux/machine/configure.in: Ditto.
1283 * libm/configure.in: Ditto.
1284 * libm/machine/configure.in: Ditto.
1285
1286 * Makefile.am: Ensure toplevel is included in ACLOCAL_AMFLAGS.
1287 * doc/Makefile.am: Ditto.
1288 * iconvdata/Makefile.am: Ditto.
1289 * libc/Makefile.am: Ditto.
1290 * libc/machine/Makefile.am: Ditto.
1291 * libc/machine/a29k/Makefile.am: Ditto.
1292 * libc/machine/arm/Makefile.am: Ditto.
1293 * libc/machine/bfin/Makefile.am: Ditto.
1294 * libc/machine/cris/Makefile.am: Ditto.
1295 * libc/machine/crx/Makefile.am: Ditto.
1296 * libc/machine/d10v/Makefile.am: Ditto.
1297 * libc/machine/d30v/Makefile.am: Ditto.
1298 * libc/machine/fr30/Makefile.am: Ditto.
1299 * libc/machine/frv/Makefile.am: Ditto.
1300 * libc/machine/h8300/Makefile.am: Ditto.
1301 * libc/machine/h8500/Makefile.am: Ditto.
1302 * libc/machine/hppa/Makefile.am: Ditto.
1303 * libc/machine/i386/Makefile.am: Ditto.
1304 * libc/machine/i960/Makefile.am: Ditto.
1305 * libc/machine/iq2000/Makefile.am: Ditto.
1306 * libc/machine/m32c/Makefile.am: Ditto.
1307 * libc/machine/m32r/Makefile.am: Ditto.
1308 * libc/machine/m68hc11/Makefile.am: Ditto.
1309 * libc/machine/m68k/Makefile.am: Ditto.
1310 * libc/machine/m88k/Makefile.am: Ditto.
1311 * libc/machine/mips/Makefile.am: Ditto.
1312 * libc/machine/mn10200/Makefile.am: Ditto.
1313 * libc/machine/mn10300/Makefile.am: Ditto.
1314 * libc/machine/mt/Makefile.am: Ditto.
1315 * libc/machine/necv70/Makefile.am: Ditto.
1316 * libc/machine/powerpc/Makefile.am: Ditto.
1317 * libc/machine/sh/Makefile.am: Ditto.
1318 * libc/machine/sparc/Makefile.am: Ditto.
1319 * libc/machine/spu/Makefile.am: Ditto.
1320 * libc/machine/tic4x/Makefile.am: Ditto.
1321 * libc/machine/tic80/Makefile.am: Ditto.
1322 * libc/machine/v850/Makefile.am: Ditto.
1323 * libc/machine/w65/Makefile.am: Ditto.
1324 * libc/machine/xscale/Makefile.am: Ditto.
1325 * libc/machine/xstormy16/Makefile.am: Ditto.
1326 * libc/machine/z8k/Makefile.am: Ditto.
1327 * libc/sys/Makefile.am: Ditto.
1328 * libc/sys/a29khif/Makefile.am: Ditto.
1329 * libc/sys/arc/Makefile.am: Ditto.
1330 * libc/sys/arm/Makefile.am: Ditto.
1331 * libc/sys/d10v/Makefile.am: Ditto.
1332 * libc/sys/decstation/Makefile.am: Ditto.
1333 * libc/sys/h8300hms/Makefile.am: Ditto.
1334 * libc/sys/h8500hms/Makefile.am: Ditto.
1335 * libc/sys/linux/Makefile.am: Ditto.
1336 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
1337 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
1338 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
1339 * libc/sys/linux/machine/Makefile.am: Ditto.
1340 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
1341 * libc/sys/m88kbug/Makefile.am: Ditto.
1342 * libc/sys/mmixware/Makefile.am: Ditto.
1343 * libc/sys/netware/Makefile.am: Ditto.
1344 * libc/sys/rdos/Makefile.am: Ditto.
1345 * libc/sys/rtems/Makefile.am: Ditto.
1346 * libc/sys/sh/Makefile.am: Ditto.
1347 * libc/sys/sparc64/Makefile.am: Ditto.
1348 * libc/sys/sun4/Makefile.am: Ditto.
1349 * libc/sys/sysmec/Makefile.am: Ditto.
1350 * libc/sys/sysnec810/Makefile.am: Ditto.
1351 * libc/sys/sysnecv850/Makefile.am: Ditto.
1352 * libc/sys/sysvi386/Makefile.am: Ditto.
1353 * libc/sys/sysvnecv70/Makefile.am: Ditto.
1354 * libc/sys/tic80/Makefile.am: Ditto.
1355 * libc/sys/w65/Makefile.am: Ditto.
1356 * libc/sys/z8ksim/Makefile.am: Ditto.
1357 * libm/Makefile.am: Ditto.
1358 * libm/machine/Makefile.am: Ditto.
1359 * libm/machine/i386/Makefile.am: Ditto.
1360 * libm/machine/spu/Makefile.am: Ditto.
1361
1362 * aclocal.m4: Regenerate.
1363 * iconvdata/aclocal.m4: Regenerate.
1364 * libc/aclocal.m4: Regenerate.
1365 * libc/machine/aclocal.m4: Regenerate.
1366 * libc/machine/i386/aclocal.m4: Regenerate.
1367 * libc/sys/aclocal.m4: Regenerate.
1368 * libc/sys/linux/aclocal.m4: Regenerate.
1369 * libc/sys/linux/linuxthreads/aclocal.m4: Regenerate.
1370 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Regenerate.
1371 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Regenerate.
1372 * libc/sys/linux/machine/aclocal.m4: Regenerate.
1373 * libc/sys/linux/machine/i386/aclocal.m4: Regenerate.
1374 * libm/aclocal.m4: Regenerate.
1375 * libm/machine/aclocal.m4: Regenerate.
1376 * libm/machine/i386/aclocal.m4: Regenerate.
1377
1378 * Makefile.in: Regenerate.
1379 * doc/Makefile.in: Regenerate.
1380 * iconvdata/Makefile.in: Regenerate.
1381 * libc/Makefile.in: Regenerate.
1382 * libc/argz/Makefile.in: Regenerate.
1383 * libc/ctype/Makefile.in: Regenerate.
1384 * libc/errno/Makefile.in: Regenerate.
1385 * libc/iconv/Makefile.in: Regenerate.
1386 * libc/iconv/ccs/Makefile.in: Regenerate.
1387 * libc/iconv/ccs/binary/Makefile.in: Regenerate.
1388 * libc/iconv/ces/Makefile.in: Regenerate.
1389 * libc/iconv/lib/Makefile.in: Regenerate.
1390 * libc/locale/Makefile.in: Regenerate.
1391 * libc/machine/Makefile.in: Regenerate.
1392 * libc/machine/a29k/Makefile.in: Regenerate.
1393 * libc/machine/arm/Makefile.in: Regenerate.
1394 * libc/machine/bfin/Makefile.in: Regenerate.
1395 * libc/machine/cris/Makefile.in: Regenerate.
1396 * libc/machine/crx/Makefile.in: Regenerate.
1397 * libc/machine/d10v/Makefile.in: Regenerate.
1398 * libc/machine/d30v/Makefile.in: Regenerate.
1399 * libc/machine/fr30/Makefile.in: Regenerate.
1400 * libc/machine/frv/Makefile.in: Regenerate.
1401 * libc/machine/h8300/Makefile.in: Regenerate.
1402 * libc/machine/h8500/Makefile.in: Regenerate.
1403 * libc/machine/hppa/Makefile.in: Regenerate.
1404 * libc/machine/i386/Makefile.in: Regenerate.
1405 * libc/machine/i960/Makefile.in: Regenerate.
1406 * libc/machine/iq2000/Makefile.in: Regenerate.
1407 * libc/machine/m32c/Makefile.in: Regenerate.
1408 * libc/machine/m32r/Makefile.in: Regenerate.
1409 * libc/machine/m68hc11/Makefile.in: Regenerate.
1410 * libc/machine/m68k/Makefile.in: Regenerate.
1411 * libc/machine/m88k/Makefile.in: Regenerate.
1412 * libc/machine/mips/Makefile.in: Regenerate.
1413 * libc/machine/mn10200/Makefile.in: Regenerate.
1414 * libc/machine/mn10300/Makefile.in: Regenerate.
1415 * libc/machine/mt/Makefile.in: Regenerate.
1416 * libc/machine/necv70/Makefile.in: Regenerate.
1417 * libc/machine/powerpc/Makefile.in: Regenerate.
1418 * libc/machine/sh/Makefile.in: Regenerate.
1419 * libc/machine/sparc/Makefile.in: Regenerate.
1420 * libc/machine/spu/Makefile.in: Regenerate.
1421 * libc/machine/tic4x/Makefile.in: Regenerate.
1422 * libc/machine/tic80/Makefile.in: Regenerate.
1423 * libc/machine/v850/Makefile.in: Regenerate.
1424 * libc/machine/w65/Makefile.in: Regenerate.
1425 * libc/machine/xscale/Makefile.in: Regenerate.
1426 * libc/machine/xstormy16/Makefile.in: Regenerate.
1427 * libc/machine/z8k/Makefile.in: Regenerate.
1428 * libc/misc/Makefile.in: Regenerate.
1429 * libc/posix/Makefile.in: Regenerate.
1430 * libc/reent/Makefile.in: Regenerate.
1431 * libc/search/Makefile.in: Regenerate.
1432 * libc/signal/Makefile.in: Regenerate.
1433 * libc/stdio/Makefile.in: Regenerate.
1434 * libc/stdio64/Makefile.in: Regenerate.
1435 * libc/stdlib/Makefile.in: Regenerate.
1436 * libc/string/Makefile.in: Regenerate.
1437 * libc/sys/Makefile.in: Regenerate.
1438 * libc/sys/a29khif/Makefile.in: Regenerate.
1439 * libc/sys/arc/Makefile.in: Regenerate.
1440 * libc/sys/arm/Makefile.in: Regenerate.
1441 * libc/sys/d10v/Makefile.in: Regenerate.
1442 * libc/sys/decstation/Makefile.in: Regenerate.
1443 * libc/sys/h8300hms/Makefile.in: Regenerate.
1444 * libc/sys/h8500hms/Makefile.in: Regenerate.
1445 * libc/sys/linux/Makefile.in: Regenerate.
1446 * libc/sys/linux/argp/Makefile.in: Regenerate.
1447 * libc/sys/linux/cmath/Makefile.in: Regenerate.
1448 * libc/sys/linux/dl/Makefile.in: Regenerate.
1449 * libc/sys/linux/iconv/Makefile.in: Regenerate.
1450 * libc/sys/linux/intl/Makefile.in: Regenerate.
1451 * libc/sys/linux/linuxthreads/Makefile.in: Regenerate.
1452 * libc/sys/linux/linuxthreads/machine/Makefile.in: Regenerate.
1453 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerate.
1454 * libc/sys/linux/machine/Makefile.in: Regenerate.
1455 * libc/sys/linux/machine/i386/Makefile.in: Regenerate.
1456 * libc/sys/linux/net/Makefile.in: Regenerate.
1457 * libc/sys/linux/stdlib/Makefile.in: Regenerate.
1458 * libc/sys/m88kbug/Makefile.in: Regenerate.
1459 * libc/sys/mmixware/Makefile.in: Regenerate.
1460 * libc/sys/netware/Makefile.in: Regenerate.
1461 * libc/sys/rdos/Makefile.in: Regenerate.
1462 * libc/sys/rtems/Makefile.in: Regenerate.
1463 * libc/sys/sh/Makefile.in: Regenerate.
1464 * libc/sys/sparc64/Makefile.in: Regenerate.
1465 * libc/sys/sun4/Makefile.in: Regenerate.
1466 * libc/sys/sysmec/Makefile.in: Regenerate.
1467 * libc/sys/sysnec810/Makefile.in: Regenerate.
1468 * libc/sys/sysnecv850/Makefile.in: Regenerate.
1469 * libc/sys/sysvi386/Makefile.in: Regenerate.
1470 * libc/sys/sysvnecv70/Makefile.in: Regenerate.
1471 * libc/sys/tic80/Makefile.in: Regenerate.
1472 * libc/sys/w65/Makefile.in: Regenerate.
1473 * libc/sys/z8ksim/Makefile.in: Regenerate.
1474 * libc/syscalls/Makefile.in: Regenerate.
1475 * libc/time/Makefile.in: Regenerate.
1476 * libc/unix/Makefile.in: Regenerate.
1477 * libm/Makefile.in: Regenerate.
1478 * libm/common/Makefile.in: Regenerate.
1479 * libm/machine/Makefile.in: Regenerate.
1480 * libm/machine/i386/Makefile.in: Regenerate.
1481 * libm/machine/spu/Makefile.in: Regenerate.
1482 * libm/math/Makefile.in: Regenerate.
1483 * libm/mathfp/Makefile.in: Regenerate.
1484
1485 * configure: Regenerate.
1486 * iconvdata/configure: Regenerate.
1487 * libc/configure: Regenerate.
1488 * libc/machine/configure: Regenerate.
1489 * libc/machine/i386/configure: Regenerate.
1490 * libc/sys/configure: Regenerate.
1491 * libc/sys/linux/configure: Regenerate.
1492 * libc/sys/linux/linuxthreads/configure: Regenerate.
1493 * libc/sys/linux/linuxthreads/machine/configure: Regenerate.
1494 * libc/sys/linux/linuxthreads/machine/i386/configure: Regenerate.
1495 * libc/sys/linux/machine/configure: Regenerate.
1496 * libc/sys/linux/machine/i386/configure: Regenerate.
1497 * libm/configure: Regenerate.
1498 * libm/machine/configure: Regenerate.
1499 * libm/machine/i386/configure: Regenerate.
1500
aa5341f9
EB
15012007-05-23 Eric Blake <ebb9@byu.net>
1502
1503 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't truncate %p when
1504 sizeof(void*) is 8 but sizeof(long) is 4.
1505 * libc/stdio/vfscanf.c (__SVFSCANF_R): Likewise. Fix %i scanning
1506 of "-0x". Support "-nan" and "inf" for %e. Audit usage of ungetc
1507 to fix reentrancy and bug on encoding error in multibyte locales.
1508 Always return EOF on read error.
1509
4a9880e0
JJ
15102007-05-23 Patrick Mansfield <patmans@us.ibm.com>
1511
1512 * libc/machine/spu/sys/syscall.h: Update the __send_to_ppe
1513 prototype.
1514 * libc/machine/spu/fclose.c: Use the __send_to_ppe return value
1515 instead of the slot 0 value, remove any now unused variables, and
1516 for some cases, now store the result in an int vs int*.
1517 * libc/machine/spu/feof.c: Ditto.
1518 * libc/machine/spu/ferror.c: Ditto.
1519 * libc/machine/spu/fflush.c: Ditto.
1520 * libc/machine/spu/fgetc.c: Ditto.
1521 * libc/machine/spu/fgetpos.c: Ditto.
1522 * libc/machine/spu/fgets.c: Ditto.
1523 * libc/machine/spu/fileno.c: Ditto.
1524 * libc/machine/spu/fopen.c: Ditto.
1525 * libc/machine/spu/fprintf.c: Ditto.
1526 * libc/machine/spu/fputc.c: Ditto.
1527 * libc/machine/spu/fputs.c: Ditto.
1528 * libc/machine/spu/fread.c: Ditto.
1529 * libc/machine/spu/freopen.c: Ditto.
1530 * libc/machine/spu/fscanf.c: Ditto.
1531 * libc/machine/spu/fseek.c: Ditto.
1532 * libc/machine/spu/fsetpos.c: Ditto.
1533 * libc/machine/spu/ftell.c: Ditto.
1534 * libc/machine/spu/fwrite.c: Ditto.
1535 * libc/machine/spu/getc.c: Ditto.
1536 * libc/machine/spu/getchar.c: Ditto.
1537 * libc/machine/spu/gets.c: Ditto.
1538 * libc/machine/spu/printf.c: Ditto.
1539 * libc/machine/spu/putc.c: Ditto.
1540 * libc/machine/spu/putchar.c: Ditto.
1541 * libc/machine/spu/puts.c: Ditto.
1542 * libc/machine/spu/remove.c: Ditto.
1543 * libc/machine/spu/rename.c: Ditto.
1544 * libc/machine/spu/scanf.c: Ditto.
1545 * libc/machine/spu/setvbuf.c: Ditto.
1546 * libc/machine/spu/snprintf.c: Ditto.
1547 * libc/machine/spu/sprintf.c: Ditto.
1548 * libc/machine/spu/sscanf.c: Ditto.
1549 * libc/machine/spu/tmpfile.c: Ditto.
1550 * libc/machine/spu/tmpnam.c: Ditto.
1551 * libc/machine/spu/ungetc.c: Ditto.
1552 * libc/machine/spu/vfprintf.c: Ditto.
1553 * libc/machine/spu/vfscanf.c: Ditto.
1554 * libc/machine/spu/vprintf.c: Ditto.
1555 * libc/machine/spu/vscanf.c: Ditto.
1556 * libc/machine/spu/vsnprintf.c: Ditto.
1557 * libc/machine/spu/vsprintf.c: Ditto.
1558 * libc/machine/spu/vsscanf.c: Ditto.
1559
9a3ec862
EB
15602007-05-23 Eric Blake <ebb9@byu.net>
1561
1562 * libc/stdio/vfscanf.c (__SVFSCANF_R): Support scanf(%1$s).
1563 Avoid warning when !FLOATING_POINT.
1564 * libc/stdio/vfprintf.c (_VFPRINTF_R): Simplify _NO_POS_ARGS
1565 slightly.
1566
d48670ed
CV
15672007-05-23 Corinna Vinschen <vinschen@redhat.com>
1568
1569 * libc/argz/argz_create_sep.c (argz_create_sep): Initialize *argz_len
1570 to zero.
1571 * libc/include/argz.h: Guard against multiple inclusion. Guard for
1572 use with C++.
1573
8aab2bc2
EB
15742007-05-18 Eric Blake <ebb9@byu.net>
1575
1576 * libc/stdio/vfprintf.c [_WANT_IO_LONG_LONG]: Allow non-gcc
1577 compilers.
1578 * libc/stdio/vfscanf.c: Likewise.
1579
b2250c70
JJ
15802007-05-17 Cary R. <cygcary <at> yahoo.com>
1581
1582 * libm/math/w_atan2.c: Fix atan2 to be consistent with glibc
1583 (atan2(+0,-0), atan2(-0,-0) and atan(-0,+0))
1584 * libm/math/wf_atan2.c: Ditto.
1585
8aab2bc2 15862007-05-17 Yaakov Selkowitz <yselkowitz <at> users.sourceforge.net>
e0500490
JJ
1587
1588 * libm/common/Makefile.am: Add support for exp10, exp10f,
1589 pow10, and pow10f functions.
1590 * libm/common/Makefile.in: Regenerated.
1591 * libm/common/s_pow10.c: New file.
1592 * libm/common/sf_pow10.c: Ditto.
1593 * libm/common/s_exp10.c: Ditto.
1594 * libm/common/sf_exp10.c: Ditto.
1595 * libc/include/math.h [!pow10]: New pow10 prototype.
1596 [!pow10f]: New pow10f prototype.
1597 [!exp10]: New exp10 prototype.
1598 [!exp10f]: New exp10f prototype.
1599
487e9075
EB
16002007-05-17 Charles Wilson <cygwin@...>
1601
1602 * stdio/tmpfile.c: Include <sys/stat.h>.
1603 * stdio64/tmpfile64.c: Ditto.
1604
f6560775
EB
16052007-05-16 Eric Blake <ebb9@byu.net>
1606
d009633d
EB
1607 Close security hole in tmpfile.
1608 * libc/stdio/tmpfile.c (_tmpfile_r): Avoid window between filename
1609 generation and opening the fd.
1610 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Likewise.
1611
895d76fe
EB
1612 * libc/include/math.h (INFINITY, NAN, FP_ILOGB0, FP_ILOGBNAN)
1613 (MATH_ERRNO, MATH_ERREXCEPT, math_errhandling): Add macros
1614 required by POSIX.
1615 * libc/stdlib/ldtoa.c (USE_INFINITY): Rename from INFINITY, to
1616 avoid clash with <math.h>.
1617
f6560775
EB
1618 * libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin.
1619 * libc/search/hash.c (__hash_open): Likewise.
1620
34507ce0
EB
16212007-05-14 Eric Blake <ebb9@byu.net>
1622
1623 Reduce stack size of *printf.
1624 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix use of decimal point
1625 in %f. Avoid malloc when possible for %S.
1626 (BUF): Improve stack locality by using smaller size.
1627 (MAXEXPLEN, _PRINTF_FLOAT_TYPE): Define.
1628 (exponent): Use smaller stack size.
1629
b8a37af9
EB
16302007-05-11 Eric Blake <ebb9@byu.net>
1631
0962fe91
EB
1632 Minimize printf/scanf size on platforms that don't need C99.
1633 * acconfig.h (_WANT_IO_C99_FORMATS): New macro.
1634 * newlib.hin (_WANT_IO_C99_FORMATS): Likewise.
1635 * configure.in (newlib-io-c99-formats): New configure option.
1636 (_WANT_IO_C99_FORMATS): Define appropriately.
1637 * configure.host (*-linux*, cygwin): Default c99-formats to yes.
1638 * libc/stdio/vfprintf.c (_VFPRINTF_R) [!_WANT_IO_C99_FORMATS]:
1639 Cripple ' flag; hh, z, j, t sizes; a, A, F, C, S specifiers.
1640 * libc/stdio/vfscanf.c (_VFSCANF_R) [!_WANT_IO_C99_FORMATS]:
1641 Likewise.
1642 * configure: Regenerate.
1643
b8a37af9
EB
1644 * libc/stdio/vfprintf.c (_VFPRINTF_R, cvt, exponent, chclass)
1645 (get_arg): Support '%a' and '%A'.
1646
81274c67
EB
16472007-05-09 Eric Blake <ebb9@byu.net>
1648
1649 Allow zero size with non-null buf in *asnprintf.
1650 * libc/stdio/asnprintf.c (_asnprintf_r, asnprintf): Avoid free'ing
1651 user's buf.
1652 * libc/stdio/asniprintf.c (_asniprintf_r, asniprintf): Likewise.
1653 * libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
1654 * libc/stdio/vasnprintf.c (_vasnprintf_r): Likewise.
1655
38ed4e51
EB
16562007-05-07 Charles Wilson <cygwin@...>
1657
1658 * libc/stdio/vfprintf.c: Fix typo in comments that breaks docs.
1659
b9db5292
EB
16602007-05-03 Eric Blake <ebb9@byu.net>
1661
1662 Add support for asnprintf, and improve *printf documentation.
1663 * libc/stdio/Makefile.am (ELIX_SOURCES): Rename...
1664 (ELIX_2_SOURCES): ...to this.
1665 (ELIX_4_SOURCES): Add new variable. Build asnprintf.
1666 (GENERAL_SOURCES): Move dprintf to ELIX_4_SOURCES.
1667 (CHEWOUT_FILES): Include diprintf in documentation.
1668 * libc/stdio/Makefile.in: Regenerate.
1669 * libc/stdio/diprintf.c: Improve documentation.
1670 * libc/stdio/dprintf.c: Likewise.
1671 * libc/stdio/siprintf.c: Likewise.
1672 * libc/stdio/sprintf.c: Likewise.
1673 * libc/stdio/vfprintf.c: Likewise.
1674 * libc/stdio/viprintf.c: Likewise.
1675 * libc/stdio/vsniprintf.c: Consolidate documentation.
1676 * libc/stdio/asiprintf.c: Refer to documentation.
1677 * libc/stdio/asprintf.c: Likewise.
1678 * libc/stdio/fiprintf.c: Likewise.
1679 * libc/stdio/fprintf.c: Likewise.
1680 * libc/stdio/iprintf.c: Likewise.
1681 * libc/stdio/printf.c: Likewise.
1682 * libc/stdio/sniprintf.c: Likewise.
1683 * libc/stdio/vdiprintf.c: Likewise.
1684 * libc/stdio/vdprintf.c: Likewise.
1685 * libc/stdio/vsiprintf.c: Likewise.
1686 * libc/stdio/fvwrite.c (__sfvwrite_r): Handle asnprintf.
1687 * libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): New file.
1688 * libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): New file.
1689 * libc/stdio/vasniprintf.c (vasniprintf, _vasniprintf_r): New
1690 file.
1691 * libc/stdio/vasnprintf.c (vasnprintf, _vasnprintf_r): New file.
1692 * libc/stdio/vdprintf.c (_vdprintf_r): Rewrite to avoid malloc in
1693 typical case.
1694 * libc/stdio/vdiprintf.c (_vdiprintf_r): Likewise.
1695 * libc/include/stdio.h: Add prototypes for new functions; sort
1696 existing functions.
1697
fb3937fa
KH
16982007-05-03 Kazu Hirata <kazu@codesourcery.com>
1699
1700 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
1701 and memset.S.
1702 * libc/machine/m68k/Makefile.in: Regenerate.
1703 * libc/machine/m68k/memcpy.S: Use sub.l followed by dbra.
1704 * libc/machine/m68k/memset.S: Likewise.
1705
b4f09558
EB
17062007-05-01 Eric Blake <ebb9@byu.net>
1707
1708 * libc/stdio64/local64.h: Delete, move contents to...
1709 * libc/stdio/local.h: ...here.
1710 * libc/stdio64/fdopen64.c: Update includes.
1711 * libc/stdio64/fopen64.c: Likewise.
1712 * libc/stdio64/freopen64.c: Likewise.
1713 * libc/stdio64/fseeko64.c: Likewise.
1714 * libc/stdio64/ftello64.c: Likewise.
1715 * libc/stdio/findfp.c (std) [__LARGE64_FILES]: Open stdin, stdout,
1716 and stderr with 64-bit offset.
1717 * libc/stdio/fseek.c (_fseek_r): Avoid compile warning.
1718 * libc/stdio/makebuf.c (__smakebuf_r): Likewise.
1719 * libc/stdio/mktemp.c (_gettemp): Likewise.
1720
2babeb3d
JJ
17212007-05-01 Cary R. <cygcary <at> yahoo.com>
1722
1723 * libm/math/e_pow.c: Fix to be consistent with glibc with regards
1724 to treatment of NaN and +-inf arguments.
1725 * libm/math/ef_pow.c: Ditto.
1726 * libm/math/w_pow.c: Ditto.
1727 * libm/math/wf_pow.c: Ditto.
1728 * libm/math/w_acos.c: Fix domain errors to return NaN.
1729 * libm/math/w_asin.c: Ditto.
1730 * libm/math/wf_acos.c: Ditto.
1731 * libm/math/wf_asin.c: Ditto.
1732 * libm/math/w_log.c: Fix to return NaN for negative number inputs.
1733 * libm/math/wf_log.c: Ditto.
1734 * libm/math/wf_log10.c: Ditto.
1735 * libm/math/w_log10.c: Ditto.
1736
643aff87
JJ
17372007-04-27 Jeff Johnston <jjohnstn@redhat.com>
1738
1739 * libc/machine/m68k/Makefile.am: Temporarily remove
1740 memcpy.S and memset.S until logic can be confirmed for
1741 !(__mcoldfile__) case.
1742 * libc/machine/m68k/Makefile.in: Regenerated.
1743
9e5957de
JJ
17442007-04-27 Kazu Hirata <kazu@codesourcery.com>
1745
1746 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
1747 and memset.S.
1748 * libc/machine/m68k/Makefile.in: Regenerate.
1749 * libc/machine/m68k/memcpy.S, libc/machine/m68k/memset.S: New.
1750
976e9d28
JJ
17512007-04-26 Patrick Mansfield <patmans@us.ibm.com>
1752
1753 * libc/include/ieeefp.h: use prefixed __ieeefp_ macros that can be
1754 overridden via machine/ieeefp.h.
1755 * libc/include/machine/ieeefp.h: Add SPU specific C99 and ieeefp
1756 macros for isnan and related macros.
1757 * libc/include/math.h: Allow C99 isfinite, isinf, and isnan to be
1758 overridden via machine/ieeefp.h.
1759 * libm/machine/spu/Makefile.am: Add new files.
1760 * libm/machine/spu/Makefile.in: Autogenerate with new files.
1761 * libm/machine/spu/sf_fpclassify.c: Add SPU specific __fpclassifyf.
1762 * libm/machine/spu/sf_finite.c: Add SPU specific finitef.
1763 * libm/machine/spu/sf_isinf.c: Add SPU specific isinff.
1764 * libm/machine/spu/sf_isinff.c: Add SPU specific __isinff.
1765 * libm/machine/spu/sf_isnan.c: Add SPU specific isnanf.
1766 * libm/machine/spu/sf_isnanf.c: Add SPU specific __isnanf.
1767 * libm/machine/spu/sf_nan.c: Add SPU specific nanf.
1768
34450bd5
JJ
17692007-04-25 Jeff Johnston <jjohnstn@redhat.com>
1770
1771 * libm/common/s_fpclassify.c (__fpclassifyf): Move this to...
1772 * libm/common/sf_fpclassify.c: ...here. New file.
1773 * libm/common/Makefile.am: Add sf_fpclassify.c.
1774 * libm/common/Makefile.in: Regenerated.
1775
42cd3e6c
JJ
17762007-04-25 Patrick Mansfield <patmans@us.ibm.com>
1777
1778 * libc/machine/spu/sys/errno.h: New file, so spu errno values match
1779 ppu linux values. This file is a copy of the cris/sys/errno.h plus
1780 a few changes (see spu errno.h comments).
1781
8b366086
JJ
17822007-04-25 Eric Blake <ebb9@byu.net>
1783
1784 * libc/stdio/vfprintf.c (get_arg): Support %1$lc. Simplify types
1785 that promote to int.
1786
245240b5
JJ
17872007-04-25 Patrick Mansfield <patmans@us.ibm.com>
1788
b4f09558 1789 * libm/machine/spu/headers/feholdexcept.h: Use *envp not env so
245240b5
JJ
1790 we clear the proper bits in the fpscr, and don't set some random ones.
1791
68f2517f
EB
17922007-04-24 Eric Blake <ebb9@byu.net>
1793
5866c023
EB
1794 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't zero pad on infinity
1795 or NaN with %05f.
1796
27e5e9ab
EB
1797 * libc/stdio/vfprintf.c (_VFPRINTF_R): Avoid multibyte when not
1798 _MB_CAPABLE.
1799
68f2517f
EB
1800 * libc/include/limits.h (NL_ARGMAX): Define a default value.
1801 * libc/stdio/vfprintf.c (MAX_POS_ARGS): Define in terms of
1802 NL_ARGMAX, if present.
1803
18042007-04-23 Brian Dessent <brian@dessent.net>
1805
1806 * libc/stdio/vfprintf.c (_vfprintf_r): When the alternate-form flag
1807 has been specified with types 'f', 'F', 'g', or 'G', ensure the
1808 trailing decimal is printed.
1809
714d0b7a
JJ
18102007-04-23 Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>
1811
1812 * confsubdir.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS): New
1813 file. Override Autoconf-2.59's version of these macros with
1814 fixed handling of multiple adjacent whitespace in arguments.
1815 * aclocal.m4: Regenerated forcefully.
1816 * configure: Ditto.
1817 * Makefile.in: Ditto.
1818 * libc/*Makefile.in: Ditto.
1819 * libc/*aclocal.m4: Ditto.
1820 * libc/*configure: Ditto.
1821 * libm/*Makefile.in: Ditto.
1822 * libm/*aclocal.m4: Ditto.
1823 * libm/*configure: Ditto.
1824
8aebc414
JJ
18252007-04-23 Jeff Johnston <jjohnstn@redhat.com>
1826
1827 * libc/sys/arc/dummy.S: Dummy file to force .S.o suffix rule.
1828 * libc/sys/arc/Makefile.am: Add dummy.S to EXTRA_lib_a_SOURCES
1829 and set lib_a_CCASFLAGS so crto.o will use .S.o default suffix rule.
1830 * libc/sys/arc/Makefile.in: Regenerated.
1831
fb5750bf
JJ
18322007-04-17 Brian Dessent <brian@dessent.net>
1833
1834 * libc/stdio/sscanf.c: Update documentation comments.
1835 * libc/stdio/vfscanf.c (__SVFSCANF_R): Handle j, t, and z modifiers.
1836
ba3ccd63
EB
18372007-04-12 Eric Blake <ebb9@byu.net>
1838
1839 * libc/stdio/vfprintf.c (_VFPRINTF_F, cvt): Don't confuse %F with %e.
1840 (chclass): Recognize 'F', 'X', 'n', and not 'W'.
1841 (get_arg): Handle %1$F, %1$n.
1842
503e2d1c
EB
18432007-04-10 Eric Blake <ebb9@byu.net>
1844
1845 * libc/include/stdio.h (_ELIDABLE_INLINE): Work even when using
1846 CFLAGS=-O0.
1847
17c0c97d
EB
18482007-04-09 Eric Blake <ebb9@byu.net>
1849
1850 * libc/include/stdio.h: Add gcc format attributes to printf and
1851 scanf families.
1852
abe43f42 18532007-04-09 Joel Schopp <jschopp@austin.ibm.com>
17c0c97d 1854
abe43f42
JJ
1855 * libc/machine/spu/strxfrm.c: Fix strxfrm so we still copy data
1856 even if the passed in length n is shorter than the source string.
1857 This matches both the non-spu specific and the glibc strxfrm
1858 behaviour.
1859
0efa93c0
KH
18602007-04-04 Mark Mitchell <mark@codesourcery.com>
1861
1862 * libc/stdlib/__call_atexit.c (__call_exitprocs): Handle atexit
1863 functions registering additional atexit functions.
1864
07278e6c
KH
1865 * testsuite/lib/flags.exp (newlib_include_flags): Drop
1866 -I${newlib_dir}.
1867
748c1917 18682007-04-04 Patrick Mansfield <patmans@us.ibm.com>
17c0c97d 1869
748c1917
JJ
1870 * libc/machine/spu/sys/syscall.h: New file for __send_to_ppe
1871 prototype.
1872 * libc/machine/spu/c99ppe.h: Remove static version of send_to_ppe.
1873 * libc/machine/spu/clearerr.c: Call __send_to_ppe vs send_to_ppe.
1874 * libc/machine/spu/fclose.c: Ditto.
1875 * libc/machine/spu/feof.c: Ditto.
1876 * libc/machine/spu/ferror.c: Ditto.
1877 * libc/machine/spu/fflush.c: Ditto.
1878 * libc/machine/spu/fgetc.c: Ditto.
1879 * libc/machine/spu/fgetpos.c: Ditto.
1880 * libc/machine/spu/fgets.c: Ditto.
1881 * libc/machine/spu/fileno.c: Ditto.
1882 * libc/machine/spu/fopen.c: Ditto.
1883 * libc/machine/spu/fprintf.c: Ditto.
1884 * libc/machine/spu/fputc.c: Ditto.
1885 * libc/machine/spu/fputs.c: Ditto.
1886 * libc/machine/spu/fread.c: Ditto.
1887 * libc/machine/spu/freopen.c: Ditto.
1888 * libc/machine/spu/fscanf.c: Ditto.
1889 * libc/machine/spu/fseek.c: Ditto.
1890 * libc/machine/spu/fsetpos.c: Ditto.
1891 * libc/machine/spu/ftell.c: Ditto.
1892 * libc/machine/spu/fwrite.c: Ditto.
1893 * libc/machine/spu/getc.c: Ditto.
1894 * libc/machine/spu/getchar.c: Ditto.
1895 * libc/machine/spu/gets.c: Ditto.
1896 * libc/machine/spu/perror.c: Ditto.
1897 * libc/machine/spu/printf.c: Ditto.
1898 * libc/machine/spu/putc.c: Ditto.
1899 * libc/machine/spu/putchar.c: Ditto.
1900 * libc/machine/spu/puts.c: Ditto.
1901 * libc/machine/spu/remove.c: Ditto.
1902 * libc/machine/spu/rename.c: Ditto.
1903 * libc/machine/spu/rewind.c: Ditto.
1904 * libc/machine/spu/scanf.c: Ditto.
1905 * libc/machine/spu/setbuf.c: Ditto.
1906 * libc/machine/spu/setvbuf.c: Ditto.
1907 * libc/machine/spu/snprintf.c: Ditto.
1908 * libc/machine/spu/sprintf.c: Ditto.
1909 * libc/machine/spu/sscanf.c: Ditto.
1910 * libc/machine/spu/tmpfile.c: Ditto.
1911 * libc/machine/spu/tmpnam.c: Ditto.
1912 * libc/machine/spu/ungetc.c: Ditto.
1913 * libc/machine/spu/vfprintf.c: Ditto.
1914 * libc/machine/spu/vfscanf.c: Ditto.
1915 * libc/machine/spu/vprintf.c: Ditto.
1916 * libc/machine/spu/vscanf.c: Ditto.
1917 * libc/machine/spu/vsnprintf.c: Ditto.
1918 * libc/machine/spu/vsprintf.c: Ditto.
1919 * libc/machine/spu/vsscanf.c: Ditto.
1920
a706aa2e
JJ
19212007-04-04 Jeff Johnston <jjohnstn@redhat.com>
1922
1923 * libc/argz/argz_insert.c: Add stddef.h to get ptrdiff_t type.
1924
db7aa4b1
JJ
19252007-04-04 Eric Blake <ebb9@byu.net>
1926
1927 * libc/stdio/asiprintf.c (_asiprintf_r): Fix reentrancy.
1928 (asiprintf): Avoid overhead.
1929 * libc/stdio/asprintf.c (_asprintf_r): Fix reentrancy.
1930 (asprintf): Avoid overhead.
1931 * libc/stdio/diprintf.c (_diprintf_r, diprintf): New file.
1932 * libc/stdio/dprintf.c (_dprintf_r, dprintf): Use _DEFUN.
1933 * libc/stdio/fiprintf.c (_fiprintf_r): Add reentrant version.
1934 (fiprintf): Avoid overhead.
1935 * libc/stdio/fprintf.c (_fprintf_r): Add reentrant version.
1936 (fprintf): Avoid overhead.
1937 * libc/stdio/iprintf.c (_iprintf_r): Use _DEFUN.
1938 (iprintf): Avoid overhead.
1939 * libc/stdio/printf.c (_printf_r): Use _DEFUN.
1940 (printf): Avoid overhead.
1941 * libc/stdio/vasiprintf.c (vasiprintf): Reduce binary size.
1942 * libc/stdio/vasprintf.c (vasprintf): Reduce binary size.
1943 * libc/stdio/vdiprintf.c (_vdiprintf_r, vdiprintf): New file.
1944 * libc/stdio/vdprintf.c (vdprintf): Avoid overhead.
1945 * libc/stdio/vsiprintf.c (vsiprintf): Reduce binary size.
1946 * libc/stdio/vsniprintf.c (vsniprintf): Reduce binary size.
1947 * libc/stdio/vsnprintf.c (vsnprintf): Reduce binary size.
1948 * libc/stdio/vsprintf.c (vsprintf): Reduce binary size.
1949 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add diprintf.c,
1950 vdiprintf.c.
1951 * libc/include/stdio.h (diprintf, _diprintf_r, vdiprintf)
1952 (_vdiprintf_r, _fiprintf_r, _vfiprintf_r): Add prototypes.
1953
2c58b5a5
DK
19542007-03-30 Dave Korn <dave.korn@artimi.com>
1955
1956 * libc/include/stdio.h (_ELIDABLE_INLINE): New macro to conceal
1957 conflicting inline semantics between C99 and GNU89.
1958 (__sgetc_r): Replace static inline with _ELIDABLE_INLINE to be
1959 compatible with -fkeep-inline-functions usage.
1960 (__sputc_r): Likewise for consistency even though disabled.
1961
519aec5d
NC
19622007-03-29 Nick Clifton <nickc@redhat.com>
1963
1964 Reflect changes made to generic vfprintf.c:
1965 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
1966 and add a "struct reent *" argument.
1967 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
1968 argument and call _VFPRINTF_R instead of VFPRINTF.
1969 (_VFPRINTF_R): Add data pointer to call to cantwrite().
1970 Fix uses of __sprint() and __sbprintf.
1971
19722007-03-20 Nick Clifton <nickc@redhat.com>
1973
1974 Reflect changes made to generic vfprintf.c:
1975 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
1976 and add a "struct reent *" argument.
1977 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
1978 argument and call _VFPRINTF_R instead of VFPRINTF.
1979 (_VFPRINTF_R): Add data pointer to call to cantwrite().
1980 Fix uses of __sprint() and __sbprintf.
1981
443871a6
JJ
19822007-03-16 Charles Wilson <cygwin@...>
1983
1984 * libc/argz/argz_insert.c: "before" pointer is
1985 invalid after *argz realloc. Compute offset
1986 between "before" and *argz, and use it after
1987 reallocation instead.
1988
a167bcd8
JJ
19892007-03-16 Eric Blake <ebb9@byu.net>
1990
1991 * libc/stdio64/fseek064.c (_fseeko64_r): Fix reentrancy.
1992 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
1993
826b5591
JJ
19942007-03-15 Jeff Johnston <jjohnstn@redhat.com>
1995
1996 * configure.in: Add new --enable-newlib-reent-small option.
1997 * configure: Regenerated.
1998 * acconfig.h: Add _WANT_REENT_SMALL.
1999 * newlib.hin: Regenerated minus PACKAGE macros to add
2000 _WANT_REENT_SMALL macro.
2001 * libc/include/sys/config.h[_WANT_REENT_SMALL]: Set _REENT_SMALL
2002 if not already set.
2003 * libc/stdio/fflush.c[_REENT_SMALL]: Return immediately if
2004 there is no buffer.
2005 * libc/stdio/local.h[_REENT_SMALL]: Fix CHECK_INIT macro to
2006 use reentrant pointer passed in when resetting the file
2007 pointer to one of the std streams.
2008
14ba5e14
JJ
20092007-03-15 Eric Blake <ebb9@byu.net>
2010
2011 * libc/stdio/local.h (cantwrite, FREEUB, FREELB): Make reentrant.
2012 (__smakebuf): Rename...
2013 (__smakebuf_r): to this.
2014 * libc/stdio/fvwrite.h (__swsetup_r): Rename, from __swsetup.
2015 * libc/stdio/makebuf.c (__smakebuf): Detect failed asprint
2016 allocation, then rename...
2017 (__smakebuf_r): ...to this and fix reentrancy.
2018 * libc/stdio/wsetup.c (__swsetup): Detect failed asprintf
2019 allocation, then rename...
2020 (__swsetup_r): ...to this and fix reentrancy.
2021 * libc/stdio/fseek.c (_fseek_r): Fix reentrancy.
2022 * libc/stdio/refill.c (__srefill_r): Likewise.
2023 * libc/stdio/fclose.c (_fclose_r): Likewise.
2024 * libc/stdio/fread.c (_fread_r): Likewise.
2025 * libc/stdio/freopen.c (_freopen_r): Likewise.
2026 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
2027 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
2028 * libc/stdio/fvwrite.c (__sfvwrite_r): Set errno properly on
2029 failed asprintf allocation, and fix reentrancy.
2030 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Report overflow,
2031 as required by POSIX.
2032 * libc/stdio/sniprintf.c (sniprintf, _sniprintf_r): Likewise.
2033 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Likewise.
2034 * libc/stdio/vsniprintf.c (vsniprintf, _vsniprintf_r): Likewise.
2035
99304ce6
JJ
20362007-03-12 Eric Blake <ebb9@byu.net>
2037
2038 * libc/stdio/fvwrite.c (__sfvwrite_r): Fix reentrancy.
2039 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Pass failed
2040 allocation to caller.
2041 * libc/stdio/asprintf.c (_asprintf_r, asprintf): Likewise.
2042 * libc/stdio/asiprintf.c (_asiprintf_r, asiprintf): Likewise.
2043 * libc/stdio/vasiprintf.c (vasiprintf, _vasiprintf_r): Likewise.
2044
d9edc05f
JJ
20452007-02-23 Jeff Johnston <jjohnstn@redhat.com>
2046
2047 * libm/math/w_pow.c: Fix typo in documentation comment.
2048
59673dbb
JJ
20492007-02-21 Patrick Mansfield <patmans@us.ibm.com>
2050
2051 * libc/reent/timer.c: Removed (split into two new files).
2052 * libc/reent/timesr.c: New file for _times_r.
2053 * libc/reent/gettimeofdayr.c: New file out _gettimeofday_r.
2054 * reent/Makefile.in: Remove timer.c, add timesr.c and
2055 gettimeofdayr.c.
2056 * libc/reent/Makefile.am: Regenerate.
2057
547c5c61
JJ
20582007-02-20 Patrick Mansfield <patmans@us.ibm.com>
2059
2060 * configure.host: Build SPU with default_newlib_atexit_dynamic_alloc="no".
2061
3b7e017e
JJ
20622007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
2063
2064 * libc/machine/spu/Makefile.am: Add new objects.
2065 * libc/machine/spu/Makefile.in: Regenerated.
2066 * libc/machine/spu/fiprintf.c: New file. Add implementation of
2067 integer-only version.
2068 * libc/machine/spu/fiscanf.c: Ditto.
2069 * libc/machine/spu/iprintf.c: Ditto.
2070 * libc/machine/spu/iscanf.c: Ditto.
2071 * libc/machine/spu/siprintf.c: Ditto.
2072 * libc/machine/spu/siscanf.c: Ditto.
2073 * libc/machine/spu/sniprintf.c: Ditto.
2074 * libc/machine/spu/vfiprintf.c: Ditto.
2075 * libc/machine/spu/vfiscanf.c: Ditto.
2076 * libc/machine/spu/viprintf.c: Ditto.
2077 * libc/machine/spu/viscanf.c: Ditto.
2078 * libc/machine/spu/vsiprintf.c: Ditto.
2079 * libc/machine/spu/vsiscanf.c: Ditto.
2080 * libc/machine/spu/vsniprintf.c: Ditto.
2081 * libc/machine/spu/fprintf.c: Add support for integer-only
2082 version.
2083 * libc/machine/spu/fscanf.c: Ditto.
2084 * libc/machine/spu/printf.c: Ditto.
2085 * libc/machine/spu/scanf.c: Ditto.
2086 * libc/machine/spu/snprintf.c: Ditto.
2087 * libc/machine/spu/sprintf.c: Ditto.
2088 * libc/machine/spu/sscanf.c: Ditto.
2089 * libc/machine/spu/vfprintf.c: Ditto.
2090 * libc/machine/spu/vfscanf.c: Ditto.
2091 * libc/machine/spu/vprintf.c: Ditto.
2092 * libc/machine/spu/vscanf.c: Ditto.
2093 * libc/machine/spu/vsnprintf.c: Ditto.
2094 * libc/machine/spu/vsprintf.c: Ditto.
2095 * libc/machine/spu/vsscanf.c: Ditto.
2096
960e5d8f
JJ
20972007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
2098
2099 * libc/include/stdio.h: Add declaration for vsiprintf.
2100
958e329d
JJ
21012007-02-14 Patrick Mansfield <patmans@us.ibm.com>
2102
2103 Add a floating point environment for SPU (cell):
2104
2105 * configure.host: add libm_machine_dir=spu.
2106 * libm/machine/configure: Add spu.
2107 * libm/machine/configure.in: regenerated with spu added.
2108 * libc/machine/spu/include/fenv.h: New file.
2109 * libc/machine/spu/sys/fenv.h: Ditto.
2110 * libm/machine/spu/Makefile.am: Ditto.
2111 * libm/machine/spu/Makefile.in: Ditto.
2112 * libm/machine/spu/aclocal.m4: Ditto.
2113 * libm/machine/spu/configure: Ditto.
2114 * libm/machine/spu/configure.in: Ditto.
2115 * libm/machine/spu/fe_dfl_env.c: Ditto.
2116 * libm/machine/spu/feclearexcept.c: Ditto.
2117 * libm/machine/spu/fegetenv.c: Ditto.
2118 * libm/machine/spu/fegetexceptflag.c: Ditto.
2119 * libm/machine/spu/fegetround.c: Ditto.
2120 * libm/machine/spu/feholdexcept.c: Ditto.
2121 * libm/machine/spu/feraiseexcept.c: Ditto.
2122 * libm/machine/spu/fesetenv.c: Ditto.
2123 * libm/machine/spu/fesetexceptflag.c: Ditto.
2124 * libm/machine/spu/fesetround.c: Ditto.
2125 * libm/machine/spu/fetestexcept.c: Ditto.
2126 * libm/machine/spu/feupdateenv.c: Ditto.
2127 * libm/machine/spu/headers/feclearexcept.h: Ditto.
2128 * libm/machine/spu/headers/fefpscr.h: Ditto.
2129 * libm/machine/spu/headers/fegetenv.h: Ditto.
2130 * libm/machine/spu/headers/fegetexceptflag.h: Ditto.
2131 * libm/machine/spu/headers/fegetround.h: Ditto.
2132 * libm/machine/spu/headers/feholdexcept.h: Ditto.
2133 * libm/machine/spu/headers/feraiseexcept.h: Ditto.
2134 * libm/machine/spu/headers/fesetenv.h: Ditto.
2135 * libm/machine/spu/headers/fesetexceptflag.h: Ditto.
2136 * libm/machine/spu/headers/fesetround.h: Ditto.
2137 * libm/machine/spu/headers/fetestexcept.h: Ditto.
2138 * libm/machine/spu/headers/feupdateenv.h: Ditto.
2139
4f7e59f2
CV
21402007-02-14 Corinna Vinschen <corinna@vinschen.de>
2141
2142 * libc/include/sys/features.h: Add _POSIX_MESSAGE_PASSING for
2143 Cygwin.
2144
d7e4c7a8
CV
21452007-02-08 Corinna Vinschen <corinna@vinschen.de>
2146
2147 * libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
2148 Cygwin. Fix value of _POSIX_SEMAPHORES. Fix formatting.
2149
0e37a2e6
CV
21502007-02-07 Corinna Vinschen <corinna@vinschen.de>
2151
2152 * libc/include/sys/features.h: Add definition of all supported
2153 _POSIX_xxx values for Cygwin.
2154 * libc/include/sys/types.h (pthread_rwlock_t): Omit definition
2155 on Cygwin.
2156 (pthread_rwlockattr_t): Ditto.
2157 * libc/include/sys/unistd.h: Define all _SC_xxx values as
2158 required by SUSv3. Unify formatting.
2159
6699fabb
JJ
21602007-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
2161
2162 * libc/include/sys/errno.h: Add ECANCELED.
2163
22a339e8 21642007-02-01 Joel Schopp <jschopp@austin.ibm.com>
ba3ccd63 2165 Kazunori Asayama <asayama@sm.sony.co.jp>
22a339e8
JJ
2166
2167 * libc/machine/spu/Makefile.am: Add objects.
2168 * libc/machine/spu/Makefile.in: Regenerated.
2169 * libc/machine/spu/vsscanf.c: New file. Add a stdio function
2170 implementation.
2171 * libc/machine/spu/snprintf.c: Ditto.
2172 * libc/machine/spu/sprintf.c: Ditto.
2173 * libc/machine/spu/sscanf.c: Ditto.
2174 * libc/machine/spu/remove.c: Ditto.
2175 * libc/machine/spu/rename.c: Ditto.
2176 * libc/machine/spu/tmpnam.c: Ditto.
2177 * libc/machine/spu/vsnprintf.c: Add initialization routine of
2178 stdio stuffs.
2179 * libc/machine/spu/vsprintf.c: Ditto.
2180
7d592bb1 21812007-02-01 Joel Schopp <jschopp@austin.ibm.com>
ba3ccd63 2182 Kazunori Asayama <asayama@sm.sony.co.jp>
7d592bb1
JJ
2183
2184 * configure.host: Enable SPU specific stdio directory.
2185 * libc/machine/spu/Makefile.am: Add objects.
2186 * libc/machine/spu/Makefile.in: Regenerated.
2187 * libc/machine/spu/c99ppe.h: Add macros and function
2188 declarations to initialize SPU specific stdio stuffs.
2189 * libc/machine/spu/stdio.c: Add functions to manage Cell SPU
2190 specific FILE structures.
2191 * libc/machine/spu/perror.c: Add initialization routine of
2192 stdio stuffs.
2193 * libc/machine/spu/printf.c: Ditto.
2194 * libc/machine/spu/putchar.c: Ditto.
2195 * libc/machine/spu/puts.c: Ditto.
2196 * libc/machine/spu/vprintf.c: Ditto.
2197 * libc/machine/spu/clearerr.c: New file. Add a stdio function
2198 implementation.
2199 * libc/machine/spu/feof.c: Ditto.
2200 * libc/machine/spu/ferror.c: Ditto.
2201 * libc/machine/spu/fileno.c: Ditto.
2202 * libc/machine/spu/fopen.c: Ditto.
2203 * libc/machine/spu/fclose.c: Ditto.
2204 * libc/machine/spu/freopen.c: Ditto.
2205 * libc/machine/spu/fflush.c: Ditto.
2206 * libc/machine/spu/fseek.c: Ditto.
2207 * libc/machine/spu/ftell.c: Ditto.
2208 * libc/machine/spu/rewind.c: Ditto.
2209 * libc/machine/spu/fgetpos.c: Ditto.
2210 * libc/machine/spu/fsetpos.c: Ditto.
2211 * libc/machine/spu/fread.c: Ditto.
2212 * libc/machine/spu/fwrite.c: Ditto.
2213 * libc/machine/spu/getc.c: Ditto.
2214 * libc/machine/spu/getchar.c: Ditto.
2215 * libc/machine/spu/gets.c: Ditto.
2216 * libc/machine/spu/fgetc.c: Ditto.
2217 * libc/machine/spu/fgets.c: Ditto.
2218 * libc/machine/spu/ungetc.c: Ditto.
2219 * libc/machine/spu/putc.c: Ditto.
2220 * libc/machine/spu/fputc.c: Ditto.
2221 * libc/machine/spu/fputs.c: Ditto.
2222 * libc/machine/spu/vfprintf.c: Ditto.
2223 * libc/machine/spu/vfscanf.c: Ditto.
2224 * libc/machine/spu/fprintf.c: Ditto.
2225 * libc/machine/spu/fscanf.c: Ditto.
2226 * libc/machine/spu/scanf.c: Ditto.
2227 * libc/machine/spu/vscanf.c: Ditto.
2228 * libc/machine/spu/setbuf.c: Ditto.
2229 * libc/machine/spu/setvbuf.c: Ditto.
2230 * libc/machine/spu/tmpfile.c: Ditto.
2231
22322007-02-01 Jeff Johnston <jjohnstn@redhat.com>
2233
2234 * libc/include/sys/config.h[__SPU__]: Define __CUSTOM_FILE_IO__.
2235 * libc/include/stdio.h[!__CUSTOM_FILE_IO__]: Add flag check
17c0c97d 2236 around stdio macros that manipulate fields in the normal file
7d592bb1
JJ
2237 structure.
2238 * libc/include/sys/reent.h[__CUSTOM_FILE_IO__]: Include
2239 <sys/custom_file.h> to define custom FILE structure.
2240 * libc/include/sys/custom_file.h: New default header file
2241 that generates error if not overridden when __CUSTOM_FILE_IO__ set.
2242 * libc/machine/spu/sys/custom_file.h: New file.
2243
0733ae3b
JJ
22442007-01-31 Kazunori Asayama <asayama@sm.sony.co.jp>
2245
2246 * configure.host: Define stdio directory as a variable.
2247 * libc/Makefile.am: Define stdio related names
2248 as macros.
2249 * libc/configure.in: Add detection routine of stdio directory.
2250 * libc/Makefile.in: Regenerated.
2251 * libc/configure: Ditto.
2252 * libc/argz/Makefile.in: Ditto.
2253 * libc/ctype/Makefile.in: Ditto.
2254 * libc/errno/Makefile.in: Ditto.
2255 * libc/iconv/Makefile.in: Ditto.
2256 * libc/iconv/ccs/Makefile.in: Ditto.
2257 * libc/iconv/ccs/binary/Makefile.in: Ditto.
2258 * libc/iconv/ces/Makefile.in: Ditto.
2259 * libc/iconv/lib/Makefile.in: Ditto.
2260 * libc/locale/Makefile.in: Ditto.
2261 * libc/misc/Makefile.in: Ditto.
2262 * libc/posix/Makefile.in: Ditto.
2263 * libc/reent/Makefile.in: Ditto.
2264 * libc/search/Makefile.in: Ditto.
2265 * libc/signal/Makefile.in: Ditto.
2266 * libc/stdio/Makefile.in: Ditto.
2267 * libc/stdio64/Makefile.in: Ditto.
2268 * libc/stdlib/Makefile.in: Ditto.
2269 * libc/string/Makefile.in: Ditto.
2270 * libc/syscalls/Makefile.in: Ditto.
2271 * libc/time/Makefile.in: Ditto.
2272 * libc/unix/Makefile.in: Ditto.
2273
cb7ba0e1
BE
22742007-01-30 Ben Elliston <bje@au.ibm.com>
2275
c7cd7849
BE
2276 * libc/machine/spu/vsnprintf.c (c99_vsnprintf_t): Const-qualify
2277 fmt member.
2278 * libc/machine/spu/printf.c (c99_printf_t): Likewise.
2279 (printf): Pass fmt to va_start to suppress a warning.
2280
cb7ba0e1
BE
2281 * libc/search/hash.c (init_hash): Make `info' parameter const.
2282
f89533c1
JJ
22832007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>
2284
2285 * libc/machine/spu/c99ppe.h: Replace vector with __vector.
2286 * libc/machine/spu/vec_literal.h: Ditto.
2287 * libc/machine/spu/strncmp.c: Ditto.
2288
94b91791
JJ
22892007-01-15 Joseph Myers <joseph@codesourcery.com>
2290 Kazu Hirata <kazu@codesourcery.com>
2291
2292 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Add support
2293 for E500V1 and E500V2.
2294
26190be1
JJ
22952007-01-11 Jeff Johnston <jjohnstn@redhat.com>
2296
2297 * libm/configure.in: Always configure machine directory.
2298 * libm/Makefile.am: Make machine subdirectory part of SUBDIRS
2299 unconditionally.
2300 * libm/configure: Regenerated.
2301 * libm/Makefile.in: Ditto.
2302 * libm/*/Makefile.in: Ditto.
2303
8e0e8f40
JJ
23042007-01-05 Brian Ford <Brian.Ford@FlightSafety.com>
2305
2306 * configure.host (*-*-cygwin*): Define HAVE_BLKSIZE.
2307
9cd4a2de
JJ
23082007-01-02 Ben Elliston <bje@au.ibm.com>
2309
ba3ccd63
EB
2310 * doc/makedoc.c: Include <stdlib.h>.
2311 (malloc, realloc): Remove extern declarations.
9cd4a2de 2312
5fdec53f 23132006-12-18 Jeff Johnston <jjohnstn@redhat.com>
a4b11782 2314
ba3ccd63
EB
2315 * NEWS: Update with 1.15.0 info.
2316 * README: Ditto.
2317 * acinclude.m4: Change version number to 1.15.0.
2318 * aclocal.m4: Regenerated.
2319 * configure: Ditto.
2320 * doc/aclocal.m4: Ditto.
2321 * doc/configure: Ditto.
2322 * libc/*/aclocal.m4: Ditto.
2323 * libc/*/configure: Ditto.
2324 * libc/libc.texinfo: Ditto.
2325 * libm/*/aclocal.m4: Ditto.
2326 * libm/*/configure: Ditto.
2327 * libm/libm.texinfo: Ditto.
2328 * libc/sys/linux/shared.ld: Add VERS_1.15.
a4b11782 2329
def943c1
JJ
23302006-12-18 Kazu Hirata <kazu@codesourcery.com>
2331
2332 Merge from newlib-csl-20060320-branch:
2333 2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
2334 Kazu Hirata <kazu@codesourcery.com>
2335
2336 * configure.host: Recognize fido.
2337
17c0c97d 23382006-12-18 Joel Schopp <jschopp@austin.ibm.com>
505ccc75 2339
ba3ccd63
EB
2340 * libc/machine/spu/c99ppe.h: New file
2341 * libc/machine/spu/perror.c: New file to override libc/stdio version.
2342 * libc/machine/spu/printf.c: New file
2343 * libc/machine/spu/putchar.c: New file
2344 * libc/machine/spu/puts.c: New file
2345 * libc/machine/spu/vprintf.c: New file
2346 * libc/machine/spu/vsnprintf.c: New file
2347 * libc/machine/spu/vsprintf.c: New file
2348 * libc/machine/spu/Makefile.am: Add new targets.
2349 * libc/machine/spu/Makefile.in: Regenerated.
505ccc75 2350
78b7c6f8
JJ
23512006-12-18 Jeff Johnston <jjohnstn@redhat.com>
2352
ba3ccd63
EB
2353 * aclocal.m4 */aclocal.m4: Regenerated using aclocal 1.9.6.
2354 * Makefile.in */Makefile.in: Regenerated using automake 1.9.6.
78b7c6f8 2355
f5222560
JJ
23562006-12-18 Jeff Johnston <jjohnstn@redhat.com>
2357
2358 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from
2359 2.6.5 version of Doug Lea's malloc which is the basis of
2360 this code.
2361
9b354d7f
JJ
23622006-12-18 Kazunori Asayama <asayama@sm.sony.co.jp>
2363
2364 * libc/include/machine/setjmp.h[__SPU__]: Replace vector with __vector.
2365
4c0b8a07 23662006-12-14 Jeff Johnston <jjohnstn@redhat.com>
ba3ccd63 2367 Eric Blake <ebb9@byu.net>
4c0b8a07 2368
ba3ccd63
EB
2369 * libc/stdio/fflush.c (fflush): On seekable streams, always flush
2370 read but unused data.
2371 * libc/stdio/fclose.c (_fclose_r): Always flush streams, since
2372 even read streams may have side effects that must happen.
4c0b8a07 2373
dd52bb72
JJ
23742006-12-13 Joel Schopp <jschopp@austin.ibm.com>
2375
ba3ccd63 2376 * libc/machine/spu/setjmp.S: Fix to handle registers past 115
6a200958
JJ
2377 correctly.
2378
23792006-12-13 Joel Schopp <jschopp@austin.ibm.com>
2380
ba3ccd63 2381 * libc/include/alloca.h: Add undef alloca to work with xlc.
dd52bb72 2382
4e051d91
JJ
23832006-12-12 Joel Schopp <jschopp@austin.ibm.com>
2384
ba3ccd63 2385 * libc/include/machine/setjmp.h[__SPU__]: Redefine _JBTYPE for
6a200958 2386 cell spu.
4e051d91 2387
489bb390
JJ
23882006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
2389
2390 * libc/machine/spu/strncpy.c: Add padding.
2391
3e2d7a91
JJ
23922006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
2393
17c0c97d 2394 * testsuite/newlib.string/tstring.c:
3e2d7a91 2395
0a2ef998
JJ
23962006-12-01 Kazunori Asayama <asayama@sm.sony.co.jp>
2397
2398 * libc/machine/spu/strchr.c: Fix mask for misaligned string.
2399 * libc/machine/spu/strrchr.c: Ditto.
2400
75190a8f
JJ
24012006-11-30 Lev Bishop <lev.bishop@gmail.com>
2402
2403 * libc/include/math.h: Allow C99 functions/macros to be
2404 defined for C++ even when __STRICT_ANSI__.
2405
7d794364
JJ
24062006-11-29 Jeff Johnston <jjohnstn@redhat.com>
2407
2408 * libc/stdio/makebuf.c (__smakebuf): If dealing with
2409 an asprintf-family buffer, make the default initial size 64.
2410
c4c7f139
JJ
24112006-11-29 Eric Blake <ebb9@byu.net>
2412
2413 * libc/stdio/fvwrite.c (__sfvwrite_r): Avoid off-by-one error in
2414 asprintf, as well as quadratic realloc behavior.
2415
24162006-11-29 Kazunori Asayama <asayama@sm.sony.co.jpi
80c6ead2
JJ
2417
2418 * libc/machine/spu/memset.c: Fix type of explicit cast.
2419 * libc/machine/spu/strncmp.c: Add explicit cast.
2420 * libc/machine/spu/strrchr.c: Ditto.
2421 * libc/machine/spu/strspn.c: Ditto.
2422
9bc5b618
JJ
24232006-11-22 Luca Barbato <lu_zero@gentoo.org>
2424
2425 * libc/machine/spu/memcpy.c: Use spu_splats, explicit cast.
2426 * libc/machine/spu/memmove.c: Use spu_splats, explicit cast.
2427 * libc/machine/spu/memset.c: Use spu_splats, remove apple-cast.
2428 * libc/machine/spu/strchr.c: Use spu_splats, remove apple-cast.
2429 * libc/machine/spu/strncat.c: Explicit cast.
2430 * libc/machine/spu/strncmp.c: Use spu_splats.
2431 * libc/machine/spu/strncpy.c: Explicit cast.
2432 * libc/machine/spu/strrchr.c: Use spu_splats.
2433 * libc/machine/spu/strspn.c: Use spu_splats.
2434
52077eb2
JJ
24352006-11-15 Till Straumann <strauman@slac.stanford.edu>
2436
2437 * libc/time/tzset_r.c (_tzset_r): Initialize local variable.
2438
d1a2fe1a
JJ
24392006-11-14 Eric Blake <ebb9@byu.net>
2440
2441 * libc/stdio/vfprintf.c (_vfprintf_r): Support ' flag.
2442 (chclass): ' is a flag. j, t, and z are modifiers.
2443
9842c7e4 24442006-11-08 Jie Zhang <jie.zhang@analog.com>
292f8e23
JJ
2445
2446 * configure.host: Add support for bfin.
2447 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for bfin.
2448 * libc/include/machine/setjmp.h: Define _JBLEN for bfin.
2449 * libc/machine/bfin/aclocal.m4: Generate.
2450 * libc/machine/bfin/configure.in: New.
2451 * libc/machine/bfin/configure: Generate.
2452 * libc/machine/bfin/Makefile.am: New.
2453 * libc/machine/bfin/Makefile.in: Generate.
2454 * libc/machine/bfin/setjmp.S: New.
2455 * libc/machine/bfin/longjmp.S: New.
2456 * libc/machine/configure.in: Add bfin support.
2457 * libc/machine/configure: Generate.
2458
b1755fe7
CV
24592006-11-07 Corinna Vinschen <corinna@vinschen.de>
2460
2461 * libc/include/sys/unistd.h (_SC_STREAM_MAX): Define on Cygwin.
2462 (_PC_FILESIZEBITS): Add definition.
2463 (_PC_2_SYMLINKS): Ditto.
2464 (_PC_SYMLINK_MAX): Ditto.
2465
d384d868
JJ
24662006-10-27 Joel Schopp <jschopp@austin.ibm.com>
2467
2468 * libc/machine/spu/memcpy.c: Override generic function with vectorized
2469 version optimized for the cell spu.
2470 * libc/machine/spu/memmove.c: Ditto.
2471 * libc/machine/spu/memset.c: Ditto.
2472 * libc/machine/spu/strcat.c: Ditto.
2473 * libc/machine/spu/strchr.c: Ditto.
2474 * libc/machine/spu/strcmp.c: Ditto.
2475 * libc/machine/spu/strcpy.c: Ditto.
2476 * libc/machine/spu/strcspn.c: Ditto.
2477 * libc/machine/spu/strlen.c: Ditto.
2478 * libc/machine/spu/strncat.c: Ditto.
2479 * libc/machine/spu/strncmp.c: Ditto.
2480 * libc/machine/spu/strncpy.c: Ditto.
2481 * libc/machine/spu/strpbrk.c: Ditto.
2482 * libc/machine/spu/strrchr.c: Ditto.
2483 * libc/machine/spu/strspn.c: Ditto.
2484 * libc/machine/spu/strxfrm.c: Ditto.
17c0c97d 2485 * libc/machine/spu/vec_literal.h: Add abstraction of vector literals,
d384d868
JJ
2486 removing altivec style initializers.
2487 * libc/machine/spu/Makefile.am: Add new files to list so they build
2488 * libc/machine/spu/Makefile.in: Regenerate from new Makefile.am
2489
f29fdb2f
JJ
24902006-10-27 Jeff Johnston <jjohnstn@redhat.com>
2491
2492 * README: Add a brief section on how to regenerate
2493 configuration files in newlib.
2494
884dc68f
JJ
24952006-10-25 Vladimir Prus <vladimir@codesourcery.com>
2496
2497 * libc/include/math.h: (exception): Add a comment
2498 telling fixincludes that we handle C vs. C++ issue.
2499
f8fe93f9
JJ
25002006-10-11 Yang Tse <yangsita@gmail.com>
2501
6d441576
CV
2502 * libc/include/machine/setjmp.h: Use __extension__ keyword for gcc's
2503 braced-groups.
f8fe93f9 2504
d95c5792
CV
25052006-10-11 Corinna Vinschen <corinna@vinschen.de>
2506
2507 * libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.
2508
e5e148d1
JJ
25092006-09-26 Jeff Johnston <jjohnstn@redhat.com>
2510
2511 * libc/include/stdio.h[_REENT_SMALL]: Do not allow macros
2512 for clearerr, feof, or fileno.
17c0c97d
EB
2513 * libc/include/sys/reent.h[_REENT_SMALL](struct _reent): Change
2514 the dummy std stream scheme to use pointers to const external
e5e148d1
JJ
2515 fake files, one for each standard stream.
2516 * libc/stdio/local.h (CHECK_INIT): Change to take a file pointer
2517 argument. For _REENT_SMALL, reset the file pointer if it
2518 matches one of the fake std stream pointers.
2519 * libc/stdio/clearerr.c: Fix CHECK_INIT macro to add file pointer
2520 argument.
2521 * libc/stdio/fclose.c: Ditto.
2522 * libc/stdio/feof.c: Ditto.
2523 * libc/stdio/ferror.c: Ditto.
2524 * libc/stdio/fflush.c: Ditto.
2525 * libc/stdio/fgetc.c: Ditto.
2526 * libc/stdio/fgets.c: Ditto.
2527 * libc/stdio/fileno.c: Ditto.
2528 * libc/stdio/findfp.c: Ditto.
2529 * libc/stdio/fputc.c: Ditto.
2530 * libc/stdio/fputs.c: Ditto.
2531 * libc/stdio/fread.c: Ditto.
2532 * libc/stdio/freopen.c: Ditto.
2533 * libc/stdio/fseek.c: Ditto.
2534 * libc/stdio/ftell.c: Ditto.
2535 * libc/stdio/fwrite.c: Ditto.
2536 * libc/stdio/getc.c: Ditto.
2537 * libc/stdio/getdelim.c: Ditto.
2538 * libc/stdio/putc.c: Ditto.
2539 * libc/stdio/refill.c: Ditto.
2540 * libc/stdio/setvbuf.c: Ditto.
2541 * libc/stdio/ungetc.c: Ditto.
2542 * libc/stdio/vfprintf.c: Ditto.
2543 * libc/stdio/vfscanf.c: Ditto.
2544 * libc/stdio/wbuf.c: Ditto.: Ditto.
2545 * libc/stdio/wsetup.c: Ditto.
2546 * libc/stdio64/freopen64.c: Ditto.
2547 * libc/stdio64/fseeko64.c: Ditto.
2548 * libc/stdio64/ftello64.c: Ditto.
2549 * libc/machine/powerpc/vfprintf.c: Ditto.
2550 * libc/machine/powerpc/vfscanf.c: Ditto.
2551
e83c3d0a
JJ
25522006-09-22 Paul Brook <paul@codesourcery.com>
2553
2554 * libc/include/sys/reent.h: Define and use __reent_assert.
2555
23754b33
JJ
25562006-09-13 Joel Sherrill <joel@oarcorp.com>
2557
2558 * libc/include/pthread.h: Add pthread barriers,
2559 rwlocks, and spinlocks. Change const to
2560 _CONST and prefix parameter names with
2561 an underscore.
2562 * libc/include/sys/types.h: Add id and attribute
2563 types for barriers, wrlocks, and spinlocks.
2564 * libc/include/sys/features.h: Enable barriers,
2565 wrlocks, and spinlocks for RTEMS.
2566
ba1bb1b3
JJ
25672006-09-13 Patrick Mansfield <patmans@us.ibm.com>
2568
2569 * libc/include/math.h: Remove _CONST from _LIB_VERSION, as it is
2570 supposed to be writable.
2571 * libm/common/s_lib_ver.c: Ditto.
2572
8f9f25da
JJ
25732006-09-12 Paul Brook <paul@codesourcery.com>
2574
2575 * libc/stdlib/rand.c (srand): Add _REENT_CHECK_RAND48.
2576
0324070e
JJ
25772006-09-07 Masaki Muranaka <monaka@monami-software.com>
2578
8f9f25da 2579
0324070e
JJ
2580 * libc/machine/xstormy16/Makefile.am:
2581 Add $(lpfx) prefix to LIBADD objects.
2582 lib_a_DEPENDENCIES uses the value of lib_a_LIBADD.
2583 * libc/machine/xstormy16/Makefile.in: Regenerated.
2584
d39002f9
JJ
25852006-09-06 Eric Blake <ebb9@byu.net>
2586
2587 * libc/stdio/vfprintf.c (_vfprintf_r, get_arg): Add 'hh', 'j',
2588 't', and 'z' modifiers.
2589
c023e783
KH
25902006-09-01 Kazu Hirata <kazu@codesourcery.com>
2591
2592 Merge from newlib-csl-20060320-branch:
2593 2006-05-22 Sandra Loosemore <sandra@codesourcery.com>
2594
2595 * configure.host: Tell it we have _rename and _system when
2596 building m68k-unknown-elf.
2597
85974265
JJ
25982006-08-29 Paul Brook <paul@codesourcery.com>
2599
2600 * libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
2601
c1f828e5
JJ
26022006-08-27 Joel Sherrill <joel.sherrill@OARcorp.com>
2603
2604 * libc/sys/rtems/machine/sys/param.h: Conditionalize definition of
2605 BLKDEV_IOSIZE and MAXPHYS so it will fit into small memory targets.
2606 This is needed to build all AVR and H8300 RTEMS multilib variants.
2607
b8e05321
JJ
26082006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
2609
2610 * libc/machine/configure.in: Add configuration for SPU.
2611 * libc/machine/configure: Regenerated.
2612 * libc/machine/spu/memcpy.c: Include string.h.
2613
380d8ec4
JJ
26142006-08-22 Eric Blake <ebb9@byu.net>
2615
2616 * libc/posix/popen.c (popen): Don't close output end of pipe in
2617 child if stdout was closed on entry.
2618 [HAVE_FCNTL]: In parent, mark file as close-on-exec, per POSIX.
2619
a0922fcb
CF
26202006-08-19 Ramana Radhakrishnan <ramana.r@gmail.com>
2621
2622 * sys/types.h: Correct syntax error caused by missing '\' on #ifdef
2623 line.
2624
84a79403
JJ
26252006-08-17 Brian Ford <Brian.Ford@FlightSafety.com>
2626
17c0c97d
EB
2627 * libc/time/gmtime.c: Correct man page; clock is not a
2628 local time and no conversion occurs.
84a79403 2629
0d8de89c
JJ
26302006-08-16 Joel Schopp <jschopp@austin.ibm.com>
2631
ba3ccd63
EB
2632 * configure.host (newlib_cflags) [spu]: Add special compiler
2633 options to reduce size.
0d8de89c 2634
734e8414
JJ
26352006-08-16 Joel Schopp <jschopp@austin.ibm.com>
2636
2637 * configure.host: Add spu support.
2638 * libc/include/stdint.h: Ditto.
2639 * libc/include/machine/ieeefp.h: Ditto.
2640 * libc/include/machine/setjmp.h: Ditto.
2641 * libc/include/sys/config.h: Ditto.
2642 * libc/include/sys/types.h: Ditto.
2643 * libc/machine/spu/Makefile.am: New file.
2644 * libc/machine/spu/Makefile.in: Ditto.
2645 * libc/machine/spu/aclocal.m4: Ditto.
2646 * libc/machine/spu/configure: Ditto.
2647 * libc/machine/spu/configure.in: Ditto.
2648 * libc/machine/spu/memcpy.c: Ditto.
2649 * libc/machine/spu/setjmp.S: Ditto.
2650
079b45dc
JJ
26512006-08-03 J"orn Rennecke <joern.rennecke@st.com>
2652
2653 * dtoa.c (dtoa_r): Handle the denormalized _DOUBLE_IS_32BITS case
2654 properly.
2655
2ebf115d
JJ
26562006-08-01 Jeff Johnston <jjohnstn@redhat.com>
2657
2658 * libc/Makefile.am: Add libc_TEXINFOS dependency on
2659 generated .texi files.
2660 * libm/Makefile.am: Add libm_TEXINFOS dependency on
2661 generated .texi files.
2662 * libc/Makefile.in: Regenerated.
2663 * libm/Makefile.in: Ditto.
2664
a1213494 26652006-08-01 Thiemo Seufer <ths@mips.com>
ba3ccd63 2666 Nigel Stephens <nigel@mips.com>
a1213494
JJ
2667
2668 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS
2669 define this to force _impure_ptr to live in the .sdata section.
2670
0a85d87f
JJ
26712006-07-31 Jeff Johnston <jjohnstn@redhat.com>
2672
2673 * acinclude.m4: Check for readelf tool.
2674 * configure.in: Use ${READELF} instead of hard-coding.
2675 * Regenerate all aclocal.m4, Makefile.in, and configure files.
2676
17c0c97d 26772006-07-31 Jeff Johnston <jjohnstn@redhat.com>
cc023a75
JJ
2678
2679 * libc/sys/linux/mmap.c: Remove include of sys/mman.h
2680 to avoid conflict with newer glibc's revision of mremap.
2681
17c0c97d 26822006-07-05 Jeff Johnston <jjohnstn@redhat.com>
b0b92438 2683
17c0c97d 2684 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS]: Turn off C99 hex
b0b92438
JJ
2685 floating-point format support. Also redefine
2686 dword0 and dword1 macros.
2687 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
2688 to prevent setting dword1 which is an rvalue only.
2689
17c0c97d 26902006-06-22 Jeff Johnston <jjohnstn@redhat.com>
f489b594
JJ
2691
2692 * libc/stdlib/Makefile.am: Add new gdtoa routines.
2693 * libc/stdlib/Makefile.in: Regenerated.
2694 * libc/stdlib/gd_qnan.h: New file.
2695 * libc/stdlib/gdtoa-gethex.c: Ditto.
2696 * libc/stdlib/gdtoa-hexnan.c: Ditto.
2697 * libc/stdlib/gdtoa.h: Ditto.
2698 * libc/stdlib/mprec.c: Add new helper routines needed by
2699 the new gdtoa code.
2700 * libc/stdlib/mprec.h: Integrate some defines and prototypes
2701 used by gdtoa routines here.
2702 * libc/stdlib/strtod.c: Rebased on David M. Gay's gdtoa-strtod.c
2703 which adds C99 support such as nan, inf, and hexadecimal input
2704 format.
2705
c8956c6f
JJ
27062006-06-15 Corinna Vinschen <corinna@vinschen.de>
2707
2708 * libc/include/stdio.h (__sgetc_r): Fix typo.
2709 * libc/stdio/fread.c (_fread_r): Convert crlf calls to crlf_r.
2710 * libc/stdio/rget.c (__srbuf): Reinstantiate.
2711 * libc/stdio/wbuf.c (__swbuf): Ditto.
2712
17c0c97d 27132006-06-14 Jeff Johnston <jjohnstn@redhat.com>
4dc0c0c4
JJ
2714
2715 * libc/include/stdio.h: Add new reentrant I/O prototypes for
17c0c97d 2716 read/write functions. Change getc/putc macros to have reentrant underlying
4dc0c0c4
JJ
2717 macros/functions. This includes __sgetc_raw_r, __sgetc_r, and __sputc_r.
2718 * libc/stdio/fgetc.c: Fix and/or add reentrant version to call
2719 new reentrant I/O functions/macros for reading/writing.
2720 * libc/stdio/fgets.c: Ditto.
2721 * libc/stdio/fputc.c: Ditto.
2722 * libc/stdio/fputs.c: Ditto.
2723 * libc/stdio/fread.c: Ditto.
2724 * libc/stdio/fseek.c: Ditto.
2725 * libc/stdio64/fseeko64.c: Ditto.
2726 * libc/stdio/fwrite.c: Ditto.
2727 * libc/stdio/getc.c: Ditto.
2728 * libc/stdio/getc_u.c: Ditto.
2729 * libc/stdio/getchar.c: Ditto.
2730 * libc/stdio/getchar_u.c: Ditto.
2731 * libc/stdio/putc.c: Ditto.
2732 * libc/stdio/putc_u.c: Ditto.
2733 * libc/stdio/putchar.c: Ditto.
2734 * libc/stdio/puts.c: Ditto.
2735 * libc/stdio/vfprintf.c: Ditto.
2736 * libc/stdio/vfscanf.c: Ditto.
2737 * libc/stdio/fvwrite.c: Change __sfvwrite into reentrant __sfvwrite_r.
2738 Change all previous callers of __sfvwrite. Set errno to EBADF and
2739 set error flag on if attempt is made to write to file that does not
2740 allow writing.
2741 * libc/stdio/fvwrite.h: Fix new reentrant prototypes.
2742 * libc/stdio/local.h: Ditto.
2743 * libc/stdio/refill.c: Turn __srefill into reentrant __srefill_r.
2744 Set errno to EBADF and the error flag on if attempt is made to
2745 read unreadable file. Change all previous callers of __srefill.
2746 * libc/stdio/rget.c
2747 * libc/stdio/wbuf.c: Turn __swbuf into reentrant __swbuf_r. Change
2748 all previous callers of __swbuf.
2749 * libc/sys/linux/machine/i386/huge_val.h: Ifdef out file contents since
2750 huge value macros are already defined correctly for i386 by <math.h>.
2751
c4cac45f
JJ
27522006-06-13 Sandra Loosemore <sandra@codesourcery.com>
2753
2754 * /libc/sys/arm/syscalls.c (_unlink, isatty, _system, _rename):
2755 Make them do something useful in the ARM_RDI_MONITOR case.
2756
b5b6cbd8
JJ
27572006-06-07 Fred Fish <fnf@specifix.com>
2758
2759 * libc/search/hash_bigkey.c (MIN,MAX): Remove
2760 defines that are already supplied by <sys/param.h>.
2761
3cc3705c
JJ
27622006-06-07 Fred Fish <fnf@specifix.com>
2763
2764 * configure.host: Remove references to HAVE_GETTIMEOFDAY.
2765
512c2879
JJ
27662006-06-05 Shaun Jackman <sjackman@gmail.com>
2767
2768 * libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and
2769 usleep.c.
2770 * libc/posix/Makefile.in: Regenerate.
2771 * libc/posix/sleep.c: New file.
2772 * libc/posix/usleep.c: Ditto.
2773
6ea486a6
JJ
27742006-06-05 Shaun Jackman <sjackman@gmail.com>
2775
9eedc2e6 2776 * configure.host (newlib_cflags) [arm, thumb, xscale]: Remove
6ea486a6
JJ
2777 -DABORT_PROVIDED flag.
2778 * newlib/libc/sys/arm/syscalls.c (kill, exit): Sync with libgloss.
2779 * newlib/libc/sys/arm/libcfunc.c (abort): Ditto.
2780
2e7c576a
JJ
27812006-06-05 Jeff Johnston <jjohnstn@redhat.com>
2782
2783 * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS.
2784 * Makefile.in: Regenerated.
2785 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Remove
2786 extraneous CFLAGS reference now that CCASFLAGS are being extended
2787 properly via multilib.
2788 * libc/machine/sh/Makefile.in: Regenerated.
2789
3feae7b1
JJ
27902006-06-02 Shaun Jackman <sjackman@gmail.com>
2791
2792 * libc/unix/sigset.c: Undefine sigfillset, sigdelset, and
2793 sigismember.
2794
f383bda5
JJ
27952006-05-23 Jeff Johnston <jjohnstn@redhat.com>
2796
2797 * libc/misc/dprintf.c: Removed.
2798 * libc/misc/__dprintf.c: Renamed from dprintf.c.
2799 * libc/misc/Makefile.am: Changed appropriately for rename.
2800 * libc/misc/Makefile.in: Regenerated.
2801
8eeee74e
JJ
28022006-05-23 Jeff Johnston <jjohnstn@redhat.com>
2803
2804 * libc/include/stdio.h: Protect dprintf prototype
2805 with #ifndef dprintf so as to not interfere with
2806 historical code defining their own dprintf macro.
2807
dc7798c6
JJ
28082006-05-18 Jeff Johnston <jjohnstn@redhat.com>
2809
2810 * libc/include/stdio.h: Add prototypes for fiscanf,
2811 iscanf, and siscanf.
2812
e1b888df
JR
28132006-05-11 J"orn Rennecke <joern.rennecke@st.com>
2814
2815 * acinclude.m4 (_NEWLIB_VERSION): Rename to:
2816 (DEF_NEWLIB_VERSION).
2817 * configure.in (_NEWLIB_VERSION): Use NEWLIB_VERSION.
2818 * configure: Regenerate.
2819
7f32c41d
JJ
28202006-05-09 Jeff Johnston <jjohnstn@redhat.com>
2821
2822 * libc/ctype/Makefile.am: Add $(ELIX_SOURCES) to
2823 lib_a_SOURCES.
2824 * libc/ctype/Makefile.in: Regenerated.
2825
bac01fc8
JJ
28262006-05-09 Kazu Hirata <kazu@codesourcery.com>
2827
2828 * libc/machine/arm/Makefile.am: Fix a typo.
2829 * libc/machine/arm/Makefile.in: Regenerated.
2830
6c47d5b7
JR
28312006-05-08 J"orn Rennecke <joern.rennecke@st.com>
2832
2833 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
2834 * libc/machine/sh/Makefile.in: Regenerate.
2835
7cc7e374
JR
28362006-05-03 J"orn Rennecke <joern.rennecke@st.com>
2837
2838 * libc/sys/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
2839 * libc/sys/sh/Makefile.in (AM_CCASFLAGS): Likewise.
2840
a8b02d46
JJ
28412006-05-02 Jeff Johnston <jjohnstn@redhat.com>
2842
2843 * libc/sys/sysnec810/Makefile.am: Specify .S files instead of
2844 .s.
2845 * libc/sys/sysnec810/Makefile.in: Regenerated.
2846 * libc/sys/sysnec810/crt0.S: Renamed from .s file.
2847 * libc/sys/sysnec810/io.S: Ditto.
2848 * libc/sys/sysnec810/crt0.s: Renamed to .S file.
2849 * libc/sys/sysnec810/io.s: Ditto.
2850
8f8f1db1
JJ
28512006-05-01 Jeff Johnston <jjohnstn@redhat.com>
2852
2853 * libc/argz/Makefile.am: Prefix any objects specified with $(lpfx). If source file can
2854 be specified instead of object, do so.
2855 * libc/ctype/Makefile.am: Ditto.
2856 * libc/iconv/ccs/Makefile.am: Ditto.
2857 * libc/iconv/ces/Makefile.am: Ditto.
2858 * libc/iconv/lib/Makefile.am: Ditto.
2859 * libc/locale/Makefile.am: Ditto.
2860 * libc/posix/Makefile.am: Ditto.
2861 * libc/reent/Makefile.am: Ditto.
2862 * libc/search/Makefile.am: Ditto.
2863 * libc/stdio/Makefile.am: Ditto.
2864 * libc/stdio64/Makefile.am: Ditto.
2865 * libc/stdlib/Makefile.am: Ditto.
2866 * libc/string/Makefile.am: Ditto.
2867 * libc/syscalls/Makefile.am: Ditto.
2868 * libc/unix/Makefile.am: Ditto.
2869 * libc/machine/a29k/Makefile.am: Specify lib_a_CCASFLAGS so .S files will get
2870 prefix added automatically. Any specified rules must use $(lpfx) for
2871 object file names.
2872 * libc/machine/arm/Makefile.am: Ditto.
2873 * libc/machine/cris/Makefile.am: Ditto.
2874 * libc/machine/crx/Makefile.am: Ditto.
2875 * libc/machine/d10v/Makefile.am: Ditto.
2876 * libc/machine/d30v/Makefile.am: Ditto.
2877 * libc/machine/fr30/Makefile.am: Ditto.
2878 * libc/machine/frv/Makefile.am: Ditto.
2879 * libc/machine/h8300/Makefile.am: Ditto.
2880 * libc/machine/h8500/Makefile.am: Ditto.
2881 * libc/machine/hppa/Makefile.am: Ditto.
2882 * libc/machine/i386/Makefile.am: Ditto.
2883 * libc/machine/i960/Makefile.am: Ditto.
2884 * libc/machine/iq2000/Makefile.am: Ditto.
2885 * libc/machine/m32c/Makefile.am: Ditto.
2886 * libc/machine/m32r/Makefile.am: Ditto.
2887 * libc/machine/m68hc11/Makefile.am: Ditto.
2888 * libc/machine/m68k/Makefile.am: Ditto.
2889 * libc/machine/m88k/Makefile.am: Ditto.
2890 * libc/machine/mips/Makefile.am: Ditto.
2891 * libc/machine/mn10200/Makefile.am: Ditto.
2892 * libc/machine/mn10300/Makefile.am: Ditto.
2893 * libc/machine/mt/Makefile.am: Ditto.
2894 * libc/machine/necv70/Makefile.am: Ditto.
2895 * libc/machine/powerpc/Makefile.am: Ditto.
2896 * libc/machine/sh/Makefile.am: Ditto.
2897 * libc/machine/sh/Makefile.in: Ditto.
2898 * libc/machine/sparc/Makefile.am: Ditto.
2899 * libc/machine/tic4x/Makefile.am: Ditto.
2900 * libc/machine/tic80/Makefile.am: Ditto.
2901 * libc/machine/v850/Makefile.am: Ditto.
2902 * libc/machine/w65/Makefile.am: Ditto.
2903 * libc/machine/xscale/Makefile.am: Ditto.
2904 * libc/machine/xstormy16/Makefile.am: Ditto.
2905 * libc/machine/z8k/Makefile.am: Ditto.
2906 * libc/sys/a29khif/Makefile.am: Ditto.
2907 * libc/sys/arm/Makefile.am: Ditto.
2908 * libc/sys/d10v/Makefile.am: Ditto.
2909 * libc/sys/h8300hms/Makefile.am: Ditto.
2910 * libc/sys/h8500hms/Makefile.am: Ditto.
2911 * libc/sys/linux/Makefile.am: Ditto.
2912 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
2913 * libc/sys/linux/net/Makefile.am: Ditto.
2914 * libc/sys/linux/stdlib/Makefile.am: Ditto.
2915 * libc/sys/m88kbug/Makefile.am: Ditto.
2916 * libc/sys/mmixware/Makefile.am: Ditto.
2917 * libc/sys/rdos/Makefile.am: Ditto.
2918 * libc/sys/rtems/Makefile.am: Ditto.
2919 * libc/sys/sh/Makefile.am: Ditto.
2920 * libc/sys/sun4/Makefile.am: Ditto.
2921 * libc/sys/sysmec/Makefile.am: Ditto.
2922 * libc/sys/sysnec810/Makefile.am: Ditto.
2923 * libc/sys/sysnecv850/Makefile.am: Ditto.
2924 * libc/sys/sysvi386/Makefile.am: Ditto.
2925 * libc/sys/sysvnecv70/Makefile.am: Ditto.
2926 * libc/sys/tic80/Makefile.am: Ditto.
2927 * libc/sys/w65/Makefile.am: Ditto.
2928 * libc/sys/z8ksim/Makefile.am: Ditto.
2929 * libc/machine/necv70/fastmath.S: Renamed from .s file.
2930 * libc/machine/necv70/setjmp.S: Ditto.
2931 * libc/machine/necv70/fastmath.s: Removed.
2932 * libc/machine/necv70/setjmp.s: Ditto.
2933 * libc/machine/w65/*.S: New files renamed from .s files.
2934 * libc/machine/w65/*.s: Renamed and removed.
2935 * libc/sys/a29khif/*.S: New files renamed from .s files.
2936 * libc/sys/a29khif/*.s: Renamed and removed.
2937 * libc/sys/sysvi386/*.S: New files renamed from .s files.
2938 * libc/sys/sysvi386/*.s: Renamed and removed.
2939 * libc/sys/sysvnecv70/*.S: New files renamed from .s files.
2940 * libc/sys/sysvnecv70/*.s: Renamed and removed.
2941 * libc/*Makefile.in: Regenerated as appropriate.
2942
b34db572
DD
29432006-04-24 DJ Delorie <dj@redhat.com>
2944
2945 * libc/machine/sh/configure.in: Avoid link tests.
2946 * libc/machine/sh/configure: Regenerate.
2947
e163e3e1
JJ
29482006-04-18 Jeff Johnston <jjohnstn@redhat.com>
2949
2950 * libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros.
2951 (sigaddset, sigemptyset): Add return code.
2952
7ad96224
JJ
29532006-04-13 Ralf Corsepius <ralf.corsepius@rtems.org>
2954
ba3ccd63
EB
2955 * acinclude.m4: New _NEWLIB_VERSION.
2956 * acinclude.m4(NEWLIB_CONFIGURE): AC_REQUIRE(_NEWLIB_VERSION).
2957 Use AC_CANONICAL_HOST instead of AC_CANONICAL_SYSTEM.
2958 Use new form of AC_INIT_AUTOMAKE.
2959 * configure.in: AC_PREREQ(2.59).
2960 Use autoconf-2.5.x version of AC_INIT.
2961 Use AC_CONFIG_FILES and autoconf-2.5x AC_OUTPUT instead of
2962 autoconf-2.13's AC_OUTPUT.
2963 * libm/configure.in: Ditto.
2964 * libm/machine/configure.in: Ditto.
2965 * libm/machine/i386/configure.in: Ditto.
2966 * libc/configure.in: Ditto.
2967 * libc/machine/a29k/configure.in: Ditto.
2968 * libc/machine/arm/configure.in: Ditto.
2969 * libc/machine/configure.in: Ditto.
2970 * libc/machine/mn10300/configure.in: Ditto.
2971 * libc/machine/powerpc/configure.in: Ditto.
2972 * libc/machine/z8k/configure.in: Ditto.
2973 * libc/machine/h8300/configure.in: Ditto.
2974 * libc/machine/mips/configure.in: Ditto.
2975 * libc/machine/crx/configure.in: Ditto.
2976 * libc/machine/m68hc11/configure.in: Ditto.
2977 * libc/machine/h8500/configure.in: Ditto.
2978 * libc/machine/xscale/configure.in: Ditto.
2979 * libc/machine/d10v/configure.in: Ditto.
2980 * libc/machine/fr30/configure.in: Ditto.
2981 * libc/machine/sh/configure.in: Ditto.
2982 * libc/machine/tic80/configure.in: Ditto.
2983 * libc/machine/m32r/configure.in: Ditto.
2984 * libc/machine/xstormy16/configure.in: Ditto.
2985 * libc/machine/i386/configure.in: Ditto.
2986 * libc/machine/d30v/configure.in: Ditto.
2987 * libc/machine/mn10200/configure.in: Ditto.
2988 * libc/machine/frv/configure.in: Ditto.
2989 * libc/machine/mt/configure.in: Ditto.
2990 * libc/machine/i960/configure.in: Ditto.
2991 * libc/machine/v850/configure.in: Ditto.
2992 * libc/machine/necv70/configure.in: Ditto.
2993 * libc/machine/tic4x/configure.in: Ditto.
2994 * libc/machine/cris/configure.in: Ditto.
2995 * libc/machine/m68k/configure.in: Ditto.
2996 * libc/machine/m32c/configure.in: Ditto.
2997 * libc/machine/hppa/configure.in: Ditto.
2998 * libc/machine/w65/configure.in: Ditto.
2999 * libc/machine/iq2000/configure.in: Ditto.
3000 * libc/machine/sparc/configure.in: Ditto.
3001 * libc/machine/m88k/configure.in: Ditto.
3002 * libc/sys/linux/configure.in: Ditto.
3003 * libc/sys/linux/machine/configure.in: Ditto.
3004 * libc/sys/linux/machine/i386/configure.in: Ditto.
3005 * libc/sys/linux/linuxthreads/configure.in: Ditto.
3006 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
3007 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
3008 * libc/sys/arm/configure.in: Ditto.
3009 * libc/sys/configure.in: Ditto.
3010 * libc/sys/decstation/configure.in: Ditto.
3011 * libc/sys/a29khif/configure.in: Ditto.
3012 * libc/sys/sysnecv850/configure.in: Ditto.
3013 * libc/sys/d10v/configure.in: Ditto.
3014 * libc/sys/netware/configure.in: Ditto.
3015 * libc/sys/mmixware/configure.in: Ditto.
3016 * libc/sys/h8500hms/configure.in: Ditto.
3017 * libc/sys/sh/configure.in: Ditto.
3018 * libc/sys/tic80/configure.in: Ditto.
3019 * libc/sys/rdos/configure.in: Ditto.
3020 * libc/sys/sysmec/configure.in: Ditto.
3021 * libc/sys/sysvi386/configure.in: Ditto.
3022 * libc/sys/h8300hms/configure.in: Ditto.
3023 * libc/sys/sparc64/configure.in: Ditto.
3024 * libc/sys/arc/configure.in: Ditto.
3025 * libc/sys/sysnec810/configure.in: Ditto.
3026 * libc/sys/m88kbug/configure.in: Ditto.
3027 * libc/sys/sysvnecv70/configure.in: Ditto.
3028 * libc/sys/z8ksim/configure.in: Ditto.
3029 * libc/sys/rtems/configure.in: Ditto.
3030 * libc/sys/w65/configure.in: Ditto.
3031 * libc/sys/sun4/configure.in: Ditto.
3032 * doc/configure.in: Ditto.
3033 * iconvdata/configure.in: Ditto.
3034 * configure.in: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER.
7ad96224 3035
34e66679
JJ
30362006-04-11 Jeff Johnston <jjohnstn@redhat.com>
3037
3038 * acinclude.m4: Properly add square brackets for
3039 AC_DEFUN macros. Rewrite LIB_AC_PROG_CC to remove
3040 macros no longer available. Add LIB_AM_PROG_AS to
3041 remove prereq of AC_PROG_CC. Add LIB_AC_PROG_CC_GNU
3042 macro. Substitute lpfx (library object prefix).
3043 * configure.host: Set lpfx depending on whether
3044 libtool is used or not.
3045 * configure.in: Individually specify libc and libm
3046 to AC_CONFIG_SUBDIRS. Add square bracket quoting as
3047 necessary.
3048 * Makefile.am: Use $(lpfx) to get object names for
3049 math-library functions that should also be in libc.
3050 * libc/machine/configure.in: Use case statement to determine
3051 AC_CONFIG_SUBDIRS statement.
3052 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
3053 * libc/sys/linux/machine/configure.in: Ditto.
3054 * libc/sys/configure.in: Ditto.
3055 * libm/machine/configure.in: Ditto.
3056 * libc/sys/linux/configure.in: Fix up AC_CONFIG_SUBDIRS.
3057 * libm/configure.in: Add AM_CONDITIONAL statement
3058 for HAVE_LIBM_MACHINE_DIR.
3059 * libc/machine/a29k/Makefile.am: Modified to work with
3060 latest automake. Change includes setting AM_CCASFLAGS
3061 so building .S files will properly pick up flags used
3062 to build C files.
3063 * libc/machine/arm/Makefile.am: Ditto.
3064 * libc/machine/crx/Makefile.am: Ditto.
3065 * libc/machine/d10v/Makefile.am: Ditto.
3066 * libc/machine/d30v/Makefile.am: Ditto.
3067 * libc/machine/fr30/Makefile.am: Ditto.
3068 * libc/machine/frv/Makefile.am: Ditto.
3069 * libc/machine/h8300/Makefile.am: Ditto.
3070 * libc/machine/h8500/Makefile.am: Ditto.
3071 * libc/machine/hppa/Makefile.am: Ditto.
3072 * libc/machine/i386/Makefile.am: Ditto.
3073 * libc/machine/iq2000/Makefile.am: Ditto.
3074 * libc/machine/m32c/Makefile.am: Ditto.
3075 * libc/machine/m32r/Makefile.am: Ditto.
3076 * libc/machine/m68hc11/Makefile.am: Ditto.
3077 * libc/machine/m68k/Makefile.am: Ditto.
3078 * libc/machine/m88k/Makefile.am: Ditto.
3079 * libc/machine/mips/Makefile.am: Ditto.
3080 * libc/machine/mn10200/Makefile.am: Ditto.
3081 * libc/machine/mn10300/Makefile.am: Ditto.
3082 * libc/machine/mt/Makefile.am: Ditto.
3083 * libc/machine/necv70/Makefile.am: Ditto.
3084 * libc/machine/powerpc/Makefile.am: Ditto.
3085 * libc/machine/sh/Makefile.am: Ditto.
3086 * libc/machine/sparc/Makefile.am: Ditto.
3087 * libc/machine/tic4x/Makefile.am: Ditto.
3088 * libc/machine/tic80/Makefile.am: Ditto.
3089 * libc/machine/v850/Makefile.am: Ditto.
3090 * libc/machine/w65/Makefile.am: Ditto.
3091 * libc/machine/xscale/Makefile.am: Ditto.
3092 * libc/machine/xstormy16/Makefile.am: Ditto.
3093 * libc/machine/z8k/Makefile.am: Ditto.
3094 * libc/sys/a29khif/Makefile.am: Ditto.
3095 * libc/sys/arc/Makefile.am: Ditto.
3096 * libc/sys/arm/Makefile.am: Ditto.
3097 * libc/sys/d10v/Makefile.am: Ditto.
3098 * libc/sys/decstation/Makefile.am: Ditto.
3099 * libc/sys/h8300hms/Makefile.am: Ditto.
3100 * libc/sys/h8500hms/Makefile.am: Ditto.
3101 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
3102 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
3103 * libc/sys/m88kbug/Makefile.am: Ditto.
3104 * libc/sys/mmixware/Makefile.am: Ditto.
3105 * libc/sys/netware/Makefile.am: Ditto.
3106 * libc/sys/rdos/Makefile.am: Ditto.
3107 * libc/sys/rtems/Makefile.am: Ditto.
3108 * libc/sys/sh/Makefile.am: Ditto.
3109 * libc/sys/sparc64/Makefile.am: Ditto.
3110 * libc/sys/sysmec/Makefile.am: Ditto.
3111 * libc/sys/sysnec810/Makefile.am: Ditto.
3112 * libc/sys/sysnecv850/Makefile.am: Ditto.
3113 * libc/sys/sysvi386/Makefile.am: Ditto.
3114 * libc/sys/sysvnecv70/Makefile.am: Ditto.
3115 * libc/sys/tic80/Makefile.am: Ditto.
3116 * libc/sys/w65/Makefile.am: Ditto.
3117 * libc/sys/z8ksim/Makefile.am: Ditto.
3118 * libm/machine/i386/Makefile.am: Ditto.
3119 * libc/sys/arm/Makefile.am: Ditto plus add EXTRA sources including
3120 trap.S so that automake will generate a .S.o suffix rule.
3121 * libc/argz/Makefile.am: Modified to work with
3122 latest automake. Change includes adding lib_a_CFLAGS
3123 so automake doesn't complain about libtool and non-libtool
3124 libraries sharing objects.
3125 * libc/ctype/Makefile.am: Ditto.
3126 * libc/errno/Makefile.am: Ditto.
3127 * libc/iconv/ccs/Makefile.am: Ditto.
3128 * libc/iconv/ces/Makefile.am: Ditto.
3129 * libc/iconv/lib/Makefile.am: Ditto.
3130 * libc/locale/Makefile.am: Ditto.
3131 * libc/misc/Makefile.am: Ditto.
3132 * libc/posix/Makefile.am: Ditto.
3133 * libc/reent/Makefile.am: Ditto.
3134 * libc/search/Makefile.am: Ditto.
3135 * libc/signal/Makefile.am: Ditto.
3136 * libc/stdio/Makefile.am: Ditto.
3137 * libc/stdio64/Makefile.am: Ditto.
3138 * libc/stdlib/Makefile.am: Ditto.
3139 * libc/string/Makefile.am: Ditto.
3140 * libc/sys/linux/Makefile.am: Ditto.
3141 * libc/sys/linux/argp/Makefile.am: Ditto.
3142 * libc/sys/linux/cmath/Makefile.am: Ditto.
3143 * libc/sys/linux/dl/Makefile.am: Ditto.
3144 * libc/sys/linux/iconv/Makefile.am: Ditto.
3145 * libc/sys/linux/intl/Makefile.am: Ditto.
3146 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
3147 * libc/sys/linux/net/Makefile.am: Ditto.
3148 * libc/sys/linux/stdlib/Makefile.am: Ditto.
3149 * libc/syscalls/Makefile.am: Ditto.
3150 * libc/time/Makefile.am: Ditto.
3151 * libc/unix/Makefile.am: Ditto.
3152 * libm/Makefile.am: Ditto.
3153 * libm/common/Makefile.am: Ditto.
3154 * libm/math/Makefile.am: Ditto.
3155 * libm/mathfp/Makefile.am: Ditto.
3156 * Regenerate all aclocal.m4, Makefile.in, and configure files.
3157
b577ecdf
JJ
31582006-04-07 Jeff Johnston <jjohnstn@redhat.com>
3159
3160 * libc/time/time.c (time): Do not check for HAVE_GETTIMEOFDAY
3161 anymore. Assume there is a gettimeofday syscall.
3162
ef79d97d
JJ
31632006-03-29 Shaun Jackman <sjackman@gmail.com>
3164
3165 * libc/sys/linux/include/netinet/ip.h: Include netinet/in_systm.h
3166 for the declaration of n_long.
3167
15a1b33c
JJ
31682006-03-29 Shaun Jackman <sjackman@gmail.com>
3169
3170 * libc/sys/linux/include/net/if.h: Include sys/socket.h for
3171 struct sockaddr.
3172 (IFF_SMART): Replace this define with IFF_NOTRAILERS.
3173 (IFF_CANTCHANGE): Replace IFF_SMART reference with IFF_NOTRAILERS.
3174 (IFF_NOTRAILERS): New define.
3175 (struct ifreq): Add ifru_netmask.
3176 (ifr_netmask): New define.
3177
bcc4ff05
JJ
31782006-03-29 Shaun Jackman <sjackman@gmail.com>
3179
3180 * libc/sys/linux/sys/ioccom.h (ioctl): Change declaration to
3181 match sys/ioctl.h.
3182
8fed3e2e
JJ
31832006-03-29 Shaun Jackman <sjackman@gmail.com>
3184
17c0c97d 3185 * libtool.m4: Set lt_cv_deplibs_check_method=pass_all for
8fed3e2e
JJ
3186 linux-newlib libc implementations.
3187
6507c097
JJ
31882006-03-29 Eric Blake <ebb9@byu.net>
3189
3190 * libc/stdio/freopen.c (_freopen_r) [__SCLE]: Fix typo.
3191 * libc/stdio64/freopen64.c (_freopen64_r) [__SCLE]: Likewise.
3192
fac690be
JJ
31932006-03-29 Jeff Johnston <jjohnstn@redhat.com>
3194
3195 * libc/sys/linux/io.c (__mknod): Fix declaration of
3196 syscall to pass a dev_t as third argument rather than
3197 a pointer to dev_t.
3198
9e443adb
JJ
31992006-03-29 Jeff Johnston <jjohnstn@redhat.com>
3200
3201 * libc/sys/linux/net/name6.c: Fix struct references.
3202
ce93dfe4
MM
32032006-03-22 Mark Mitchell <mark@codesourcery.com>
3204
3205 * configure.host: Allow hosts to set the default
3206 newlib_atexit_dynamic_alloc value.
3207 * configure.in: Likewise.
3208 * configure: Regenerated.
3209
3078fb4f
MM
32102006-03-20 Mark Mitchell <mark@codesourcery.com>
3211
3212 * acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef.
3213 * configure.in (--disable-newlib-atexit-dynamic-alloc): New
17c0c97d 3214 option.
3078fb4f
MM
3215 * configure: Regenerated.
3216 * newlib.hin: Regenerated.
3217 * libc/stdlib/__atexit.c (__register_exitproc): Don't call malloc
3218 if _ATEXIT_DYNAMIC_ALLOC is undefined.
3219 * libc/stdlib/__call_atexit.c (__call_exitprocs): Don't call free
3220 if _ATEXIT_DYNAMIC_ALLOC is undefined.
3221
9d5cff74
JJ
32222006-03-17 Jeff Johnston <jjohnstn@redhat.com>
3223
3224 * libc/sys/linux/linuxthreads/config.h: Remove definition
3225 of UINT32_C.
3226
490cfb83
JJ
32272006-03-15 Jeff Johnston <jjohnstn@redhat.com>
3228
3229 * libc/stdio/wsetup.c (__swsetup): Don't make a buffer
3230 for a string I/O file that isn't using the asprintf family.
3231
ce10f178
JJ
32322006-03-07 Eric Blake <ebb9@byu.net>
3233
3234 * libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL
3235 filename, allow read-only or write-only FILE atop O_RDWR file
3236 descriptor.
3237 * libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.
3238
ddf12e6b
JJ
32392006-03-07 Jeff Johnston <jjohnstn@redhat.com>
3240
3241 * libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf.
3242 * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.
3243
cb197581
JJ
32442006-03-02 Jeff Johnston <jjohnstn@redhat.com>
3245
3246 * libm/math/math.tex: Fix reference to sisnan.def which
3247 is now in common subdirectory.
3248 * libm/mathfp/mathfp.tex: Ditto.
3249
e48682cf
JJ
32502006-02-27 Jeff Johnston <jjohnstn@redhat.com>
3251
17c0c97d 3252 * Makefile.am (MATHOBJS_IN_LIBC): Add s_isinfd, sf_isinff,
e48682cf
JJ
3253 s_isnand, and sf_isnanf object files.
3254 * Makefile.in: Regenerated.
3255 * libc/include/ieeefp.h: Undef isnan and isinf to avoid
3256 conflict if <math.h> has previously been included.
3257 * libc/include/math.h
bc88ea65
JJ
3258 * libc/include/math.h: Make isnan and isinf macros to
3259 conform to C99.
3260 (__isinfd, __isinff, __isnand, __isnanf): New functions.
e48682cf
JJ
3261 * libm/common/Makefile.am: Add new s_isinfd, s_isnand, sf_isinff,
3262 and sf_isnanf files. Also support s_isnan, sf_isnan, s_isinf, and
17c0c97d 3263 sf_isinf files which have been moved from math/mathfp directories.
e48682cf
JJ
3264 * libm/common/Makefile.in: Regenerated.
3265 * libm/common/s_isinfd.c: New file.
3266 * libm/common/s_isnand.c: Ditto.
3267 * libm/common/sf_isinff.c: Ditto.
3268 * libm/common/sf_isnanf.c: Ditto.
3269 * libm/common/s_isinf.c: Moved from libm/math directory.
3270 * libm/common/s_isnan.c: Ditto.
3271 * libm/common/sf_isinf.c: Ditto.
3272 * libm/common/sf_isnan.c: Ditto.
3273 * libm/math/Makefile.am: Remove isinf and isnan family functions
3274 which have been moved into common directory.
3275 * libm/mathfp/Makefile.am: Ditto.
3276 * libm/math/Makefile.in: Regenerated.
3277 * libm/mathfp/Makefile.in: Ditto.
3278 * libm/math/s_isinf.c: Removed.
3279 * libm/math/s_isnan.c: Ditto.
3280 * libm/math/sf_isinf.c: Ditto.
3281 * libm/math/sf_isnan.c: Ditto.
3282 * libm/mathfp/s_isinf.c: Ditto.
3283 * libm/mathfp/s_isnan.c: Ditto.
3284 * libm/mathfp/sf_isinf.c: Ditto.
3285 * libm/mathfp/sf_isnan.c: Ditto.
3286
99db626d
JJ
32872006-02-20 Jeff Johnston <jjohnstn@redhat.com>
3288
3289 * libc/stdio/fflush.c (fflush): For an fflush on a read-only
3290 stream, turn off fseek/rewind optimization as per POSIX/SUSv3.
3291 * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized
3292 seek, turn off the __SNPT no-optimization flag.
3293
49103e2b
JJ
32942006-02-16 Jeff Johnston <jjohnstn@redhat.com>
3295
3296 * libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit
3297 will be defined.
3298 * libc/sys/linux/sys/types.h: Move <sys/config.h> ahead of
3299 <features.h> to preset special flags.
3300
680e0f1f
CV
33012006-02-15 Corinna Vinschen <corinna@vinschen.de>
3302
3303 * libc/include/sys/time.h (struct timeval): Change member types
3304 according to SUSv3.
3305 * libc/include/sys/types.h (useconds_t): Change to unsigned
3306 according to SUSv3.
3307 (suseconds_t): Define type.
3308
d6593503
JJ
33092006-02-13 Jeff Johnston <jjohnstn@redhat.com>
3310 David Carne <davidcarne@gmail.com>
3311
3312 * libc/string/strndup_r.c (_strndup_r): Use strnlen logic
3313 instead of strlen to determine number of bytes to copy.
3314 * libc/string/strnlen.c (strnlen): Fix so check for max limit occurs
3315 before looking at storage location.
3316
9bbe6d5d
JJ
33172006-02-07 Paul Brook <paul@codesourcery.com>
3318
3319 * libc/machine/arm/setjmp.S: Add Thumb-2 support.
3320 * libc/sys/arm/crt0.S: Add Thumb-2 startup code.
3321 * libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
3322 * libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
3323 * libc/sys/arm/trap.S: Disable for Thumb-2.
3324
d968b3c8
JJ
33252006-01-31 Leif Ekblad <leif@rdos.net>
3326
3327 * configure.host: RDOS support added
3328 * libc/include/sys/config.h: Ditto.
3329 * libc/sys/rdos/Makefile.am, libc/sys/rdos/Makefile.in: New files.
3330 * libc/sys/rdos/aclocal.m4, libc/sys/rdos/chown.c: Ditto.
3331 * libc/sys/rdos/close.c, libc/sys/rdos/config.h: Ditto.
3332 * libc/sys/rdos/configure, libc/sys/rdos/configure.in: Ditto.
3333 * libc/sys/rdos/crt0.S, libc/sys/rdos/execve.c: Ditto.
3334 * libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c: Ditto.
3335 * libc/sys/rdos/getenv.c, libc/sys/rdos/getpid.c: Ditto.
3336 * libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c: Ditto.
3337 * libc/sys/rdos/kill.c, libc/sys/rdos/link.c: Ditto.
3338 * libc/sys/rdos/lseek.c, libc/sys/rdos/open.c: Ditto.
3339 * libc/sys/rdos/rdos.S, libc/sys/rdos/rdos.h: Ditto.
3340 * libc/sys/rdos/rdoshelp.c, libc/sys/rdos/read.c: Ditto.
3341 * libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c: Ditto.
3342 * libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c: Ditto.
3343 * libc/sys/rdos/times.c, libc/sys/rdos/unlink.c: Ditto.
3344 * libc/sys/rdos/user.def, libc/sys/rdos/wait.c: Ditto.
3345 * libc/sys/rdos/write.c: Ditto.
3346
3acaaf54
JJ
33472006-01-24 Jeff Johnston <jjohnstn@redhat.com>
3348
3349 * acinclude.m4: Add nodefine to AM_INIT_AUTOMAKE macro invocation
3350 so as not to define PACKAGE and VERSION in newlib.h.
3351 * aclocal.m4: Regenerated.
3352 * configure: Ditto.
3353 * newlib.hin: Ditto.
3354
54abc854
JJ
33552006-01-20 Jeff Johnston <jjohnstn@redhat.com>
3356
3357 * acconfig.h: New file to generate newlib.hin from.
3358 * newlib.hin: Regenerated.
3359 * stamp-h.in: Regenerated.
3360 * Makefile.am: Add ACLOCAL_AMFLAGS so aclocal can be
3361 called automatically.
3362 * Makefile.in: Regenerated.
3363 * acinclude.m4: Add proper comment for hack in previous change.
3364 * aclocal.m4 */aclocal.m4: Regenerated.
3365 * configure */configure: Regenerated.
3366
33c9cfbd
JJ
33672006-01-11 Jeff Johnston <jjohnstn@redhat.com>
3368
3369 * acinclude.m4: Add hack to prevent INSTALL in subdirs
3370 from being set to "../".
3371 * Makefile.am: Pass INSTALL in AM_MAKEFLAGS.
3372 * aclocal.m4: Regenerated.
3373 * configure: Ditto.
3374 * Makefile.in: Ditto.
3375 * doc/aclocal.m4: Ditto.
3376 * doc/configure: Ditto.
3377 * iconvdata/aclocal.m4: Ditto.
3378 * iconvdata/configure: Ditto.
3379 * libc/*/aclocal.m4: Ditto.
3380 * libc/*/configure: Ditto.
3381 * libc/libc.texinfo: Ditto.
3382 * libm/*/aclocal.m4: Ditto.
3383 * libm/*/configure: Ditto.
3384
dea958bc
JJ
33852006-01-10 Eric Blake <ebb9@byu.net>
3386
3387 * libc/stdio/freopen.c (_freopen_r): Fix use of oflags.
3388 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
3389
216633f7
JJ
33902006-01-10 Jeff Johnston <jjohnstn@redhat.com>
3391
3392 * libm/mathfp/s_frexp.c: Check for special values on
3393 the original input, not the manipulated output value.
3394 * libm/mathfp/sf_frexp.c: Ditto.
3395 * libm/mathfp/s_atangent.c: Don't use local value branch
3396 when checking for quadrant.
3397 * libm/mathfp/sf_atangent.c: Ditto.
3398
64ae8ab5
JJ
33992006-01-09 Jeff Johnston <jjohnstn@redhat.com>
3400
3401 * libc/stdio/freopen.c: Switch to use isatty instead of _isatty.
3402 * libc/stdio64/freopen64.c: Ditto.
3403
0da7297e
JJ
34042006-01-09 Eric Blake <ebb9@byu.net>
3405
3406 * libc/stdio/freopen.c (_freopen_r): Accept NULL filename.
3407 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
3408
a37aaf88
JJ
34092006-01-06 Jeff Johnston <jjohnstn@redhat.com>
3410
3411 * libc/sys/linux/include/getopt.h: Add macros needed by
3412 new version of getopt.c in libc/stdlib.
3413
791c9bda
JJ
34142006-01-04 Gregory Pietsch <gpietsch@comcast.net>
3415
3416 * libc/stdlib/getopt.c: Replaced with version
3417 that adds getopt_long and getopt_long_only support.
3418 * libc/include/getopt.h: New file.
3419
0217078f
JJ
34202005-12-16 Jeff Johnston <jjohnstn@redhat.com>
3421
3422 * NEWS: Update with 1.14.0 info.
3423 * README: Ditto.
3424 * acinclude.m4: Change version number to 1.14.0.
3425 * aclocal.m4: Regenerated.
3426 * configure: Ditto.
3427 * doc/aclocal.m4: Ditto.
3428 * doc/configure: Ditto.
3429 * libc/*/aclocal.m4: Ditto.
3430 * libc/*/configure: Ditto.
3431 * libc/libc.texinfo: Ditto.
3432 * libm/*/aclocal.m4: Ditto.
3433 * libm/*/configure: Ditto.
3434 * libm/libm.texinfo: Ditto.
3435 * libc/sys/linux/shared.ld: Add VERS_1.14.
3436
a4cd7f20
JJ
34372005-12-16 Jeff Johnston <jjohnstn@redhat.com>
3438
3439 * libc/sys/linux/sys/stat.h: Change *stat64 prototypes to
3440 take a pointer to struct stat64 rather than struct stat.
3441
843e635a
JJ
34422005-12-16 Ralf Corsepius <ralf.corsepius@rtems.org>
3443
3444 * libc/include/stdint.h: Prefer long over int for int32_t.
3445 Use __have_long32 to set up int32_t.
3446 * libc/include/inttypes.h: Use "#if xxx" instead of "#ifdef xxx"
3447 (Sync with stdint.h).
3448
10cba930
CV
34492005-12-14 Corinna Vinschen <corinna@vinschen.de>
3450
3451 * libc/include/sys/fcntl.h: Define O_SYNC unconditionally. Fix
3452 typo in O_NDELAY comment.
3453
c8ba5c22
JJ
34542005-12-13 Nathan Sidwell <nathan@codesourcery.com>
3455
3456 * libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__.
3457 * libc/include/machine/setjmp.h (__mt__): Likewise.
3458 * libc/machine/mt/setjmp.S: Rename ms1 reference to mt.
3459 * libc/machine/configure.in: Ditto.
3460
74ecef0d
NS
34612005-12-12 Nathan Sidwell <nathan@codesourcery.com>
3462
3463 * configure.host: Replace ms1 arch with mt arch.
3464 * libc/machine/mt: Renamed from ms1 dir.
3465
2a1fc53c
JJ
34662005-12-08 Shaun Jackman <sjackman@gmail.com>
3467
3468 * libc/include/sys/types.h: Remove the ifdef armour around
3469 standard POSIX types.
3470
77e70d34
JJ
34712005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
3472
3473 * libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
3474 rtems_gxx_key_delete, rtems_gxx_getspecific,
17c0c97d
EB
3475 rtems_gxx_setspecific, rtems_gxx_mutex_trylock,
3476 rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock,
77e70d34
JJ
3477 rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.
3478
b1da33a0
CF
34792005-12-05 Christopher Faylor <cgf@timesys.com>
3480
3481 * libc/include/stdlib.h: Move cygwin declarations to cygwin-specific
3482 file. Declare unsetenv and _unsetenv_r when not cygwin.
3483
6b1a6ec6
JJ
34842005-11-18 Jeff Johnston <jjohnstn@redhat.com>
3485
3486 * libc/time/strptime.c (strptime): Don't abort for %c and %Z.
3487 Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.
3488
d7d477b7
CF
34892005-11-18 Christopher Faylor <cgf@timesys.com>
3490
3491 * include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
3492
c1534dbe
CF
34932005-11-18 Christopher Faylor <cgf@timesys.com>
3494
3495 * include/time.h: Remove more cygwin-specific stuff.
3496
d3e81bda
CF
34972005-11-18 Christopher Faylor <cgf@timesys.com>
3498
3499 * include/time.h: Move cygwin declarations to cygwin-specific header.
3500 * include/sys/time.h: Rename cygwin include to "sys_time.h".
3501
1396951b
JJ
35022005-11-17 Jeff Johnston <jjohnstn@redhat.com>
3503
3504 * libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
3505 in libc/sys/linux/include.
3506 * libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
3507 * libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
3508 * libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
3509 in libc/sys/linux/dl.
3510
37bd11ed
CF
35112005-11-11 Christopher Faylor <cgf@timesys.com>
3512
3513 * libc/include/sys/time.h: For cygwin, use general header rather than
3514 specific "sys/select.h".
3515
b397593c
JJ
35162005-11-08 Tom Walsh <tom@openhardware.net>
3517
3518 * libc/time/tzvars.c: New file.
3519 * libc/time/tzset_r.c: Moved globals into tzvars.c
3520 so other time functions needn't link in __tzset_r and its
3521 dependencies.
3522 * libc/time/Makefile.am: Add the new file.
3523 * libc/time/Makefile.in: Regenerated.
3524
86c6c421
CF
35252005-11-08 Christopher Faylor <cgf@timesys.com>
3526
3527 * libc/include/string.h: Add cygwin-specific function declaration.
3528
ef1206e4
CV
35292005-11-07 Corinna Vinschen <corinna@vinschen.de>
3530
3531 * libc/include/ieeefp.h: Add C++ guards.
3532
15eaca1c
JJ
35332005-11-03 Jeff Johnston <jjohnstn@redhat.com>
3534
3535 * libc/unix/getcwd.c: Don't use non-reentrant syscall names.
3536 * libc/unix/getlogin.c: Ditto.
3537 * libc/unix/getpass.c: Ditto.
3538 * libc/unix/getut.c: Ditto.
3539 * libc/unix/ttyname.c: Ditto.
3540
d31a8623
JJ
35412005-11-03 Shaun Jackman <sjackman@gmail.com>
3542
3543 * libc/include/sys/unistd.h (readlink, symlink): Provide these
3544 prototypes by default.
3545 * libc/sys/linux/include/unistd.h (readlink): Remove this
3546 prototype.
3547 * libc/sys/linux/sys/unistd.h (readlink, symlink): New
3548 prototypes.
3549
71ac53ee
JJ
35502005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>
3551
3552 * libc/include/stdint.h: Cleanup #if vs. #ifdef.
3553
dc1b6289
JJ
35542005-10-31 Darin Johnson <darin@usa.net>
3555
3556 * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
3557 correct for constants.
3558
884c0ff0
JJ
35592005-10-28 Bob Wilson <bob.wilson@acm.org>
3560
3561 * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
3562 * libc/stdio/siscanf.c: Likewise.
3563 * libc/stdio/sprintf.c: Likewise.
3564 * libc/stdio/sscanf.c: Likewise.
3565 * libc/stdio/vfprintf.c: Likewise.
3566 * libc/stdio/vfscanf.c: Likewise.
3567 * libc/stdio/viprintf.c: Likewise.
3568 * libc/stdio/viscanf.c: Likewise.
3569
a9c15f6f
JJ
35702005-10-28 Bob Wilson <bob.wilson@acm.org>
3571
3572 * libc/sys.tex (Stubs): Format examples consistently. Change sbrk
3573 example to use "_end" symbol instead of "end". Change write example
3574 to use "outbyte" instead of "writechar".
3575
a306ebc9
JJ
35762005-10-28 Bob Wilson <bob.wilson@acm.org>
3577
3578 * libc/ctype/ctype.tex: Use hyphens as appropriate, but not otherwise.
3579 * libc/ctype/islower.c: Likewise.
3580 * libc/ctype/isupper.c: Likewise.
3581 * libc/ctype/iswalnum.c: Likewise.
3582 * libc/ctype/iswalpha.c: Likewise.
3583 * libc/ctype/iswblank.c: Likewise.
3584 * libc/ctype/iswcntrl.c: Likewise.
3585 * libc/ctype/iswdigit.c: Likewise.
3586 * libc/ctype/iswgraph.c: Likewise.
3587 * libc/ctype/iswlower.c: Likewise.
3588 * libc/ctype/iswprint.c: Likewise.
3589 * libc/ctype/iswpunct.c: Likewise.
3590 * libc/ctype/iswspace.c: Likewise.
3591 * libc/ctype/iswupper.c: Likewise.
3592 * libc/ctype/iswxdigit.c: Likewise.
3593 * libc/ctype/tolower.c: Likewise.
3594 * libc/ctype/toupper.c: Likewise.
3595 * libc/ctype/towctrans.c: Likewise.
3596 * libc/ctype/towlower.c: Likewise.
3597 * libc/ctype/towupper.c: Likewise.
3598 * libc/string/strcasecmp.c: Likewise.
3599 * libc/string/strcoll.c: Likewise.
3600 * libc/string/strings.tex: Likewise.
3601 * libc/string/strlwr.c: Likewise.
3602 * libc/string/strncasecmp.c: Likewise.
3603 * libc/string/strupr.c: Likewise.
3604 * libc/string/wcscoll.c: Likewise.
3605 * libc/string/wcslcat.c: Likewise.
3606 * libc/string/wcslcpy.c: Likewise.
3607 * libc/string/wcsnlen.c: Likewise.
3608 * libc/string/wcsstr.c: Likewise.
3609 * libc/string/wcstrings.tex: Likewise.
3610 * libc/string/wmemchr.c: Likewise.
3611 * libc/string/wmemcmp.c: Likewise.
3612 * libc/string/wmemcpy.c: Likewise.
3613 * libc/string/wmemmove.c: Likewise.
17c0c97d 3614 * libc/string/wmemset.c: Likewise.
a306ebc9 3615
239c2bf9
JJ
36162005-10-28 Bob Wilson <bob.wilson@acm.org>
3617
3618 * libc/misc/unctrl.c: Replace FUNCTION description.
3619 * libc/signal/signal.c: Remove documentation for raise and _raise_r.
3620 * libc/stdio/getdelim.c: Fix spelling errors.
3621 * libc/stdio/getw.c: Put RETURNS on a separate line. Fix punctuation.
3622 * libc/stdio/putw.c: Likewise.
3623 * libc/stdlib/a64l.c: Fix formatting, spelling and punctuation in
ba3ccd63 3624 documentation.
239c2bf9
JJ
3625 * libc/stdlib/assert.c: Do not capitalize FUNCTION description.
3626 * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
3627 * libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
3628 * libc/stdlib/mlock.c: Likewise.
3629 * libc/stdlib/mstats.c: Likewise.
3630 * libc/time/tzlock.c: Likewise.
3631 * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe" in NOTES.
3632 * libc/stdlib/rand48.c: Remove extra space in FUNCTION description
ba3ccd63 3633 and hyphenate "pseudo-random".
239c2bf9
JJ
3634 * libc/string/bcmp.c: Remove extra blank lines in documentation.
3635 * libc/string/strncat.c: Likewise.
3636 * libc/string/memchr.c: Remove extra ">" character in documentation.
3637 * libc/string/strcspn.c: Use "characters" instead of "chars".
3638 * libc/string/strpbrk.c: Likewise.
3639 * libc/string/strerror_r.c: Capitalize "GNU".
3640 * libc/string/strnlen.c: Likewise.
3641 * libc/string/strtok.c: Fix formatting, spelling and punctuation in
ba3ccd63 3642 documentation. Use "multi-threaded" and "thread-safe" in NOTES.
239c2bf9
JJ
3643 * libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
3644 * libc/string/wcschr.c: Likewise.
3645 * libc/string/wcscmp.c: Likewise.
3646 * libc/string/wcscpy.c: Likewise.
3647 * libc/string/wcscspn.c: Likewise.
3648 * libc/string/wcslen.c: Likewise.
3649 * libc/string/wcsncat.c: Likewise.
3650 * libc/string/wcsncmp.c: Likewise.
3651 * libc/string/wcsncpy.c: Likewise.
3652 * libc/string/wcsnlen.c: Likewise.
3653 * libc/string/wcspbrk.c: Likewise.
3654 * libc/string/wcsrchr.c: Likewise.
3655 * libc/string/wcsspn.c: Likewise.
3656 * libc/string/wmemchr.c: Likewise.
3657 * libc/string/wmemcmp.c: Likewise.
3658 * libc/string/wmemcpy.c: Likewise.
3659 * libc/string/wmemset.c: Likewise.
3660 * libc/string/wmemmove.c: Likewise. Also fix FUNCTION description.
3661 * libc/string/wcswidth.c: Formatting and punctuation in documentation.
3662 * libc/string/wcwidth.c: Likewise.
3663 * libm/common/s_modf.c: Remove extra period from documentation.
3664 * libm/math/s_isnan.c: Fix formatting, grammar and punctuation in
ba3ccd63 3665 documentation.
239c2bf9
JJ
3666 * libm/mathfp/s_isnan.c: Likewise.
3667 * libm/math/s_ldexp.c: Fix punctuation.
3668 * libm/mathfp/s_ldexp.c: Likewise.
3669 * libm/math/w_log.c: Likewise.
3670 * libm/mathfp/s_logarithm.c: Likewise.
3671 * libm/math/w_j0.c: Add spaces to FUNCTION description.
17c0c97d 3672 * libm/mathfp/w_jn.c: Likewise.
239c2bf9 3673
2556eb8d
JJ
36742005-10-26 Shaun Jackman <sjackman@gmail.com>
3675
3676 * libc/posix/scandir.c (scandir): Update the function
3677 prototype to match the header.
3678 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
3679 extraneous #endif.
3680 * libc/sys/linux/sys/lock.h: Do not include
3681 machine/weakalias.h, since it's not used by this file.
3682
c9d71a8d
JJ
36832005-10-26 Jeff Johnston <jjohnstn@redhat.com>
3684
3685 * libc/Makefile.am: Reorder SUBLIBS so machine and sys
3686 directories can override properly.
3687
09968b6d
JJ
36882005-10-20 Jeff Johnston <jjohnstn@redhat.com>
3689
3690 * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
3691 gcc is 3.3 or greater, use special gcc builtins.
3692
c70571bd
CV
36932005-10-20 Corinna Vinschen <corinna@vinschen.de>
3694
3695 * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
3696
a92822b7
CV
36972005-10-18 Corinna Vinschen <corinna@vinschen.de>
3698
3699 * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
3700
d2c2c132
JJ
37012005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3702
3703 * libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
3704 * libm/common/Makefile.am: Add s_infconst.c support.
3705 * libm/common/Makefile.in: Regenerated.
3706 * libm/common/s_infconst.c: New file with float and
3707 long double infinity support added.
3708 * libm/math/Makefile.am: Remove s_infconst.c support.
3709 * libm/math/Makefile.in: Regenerated.
3710 * libm/math/s_infconst.c: Moved to common directory.
3711 * libm/mathfp/Makefile.am: Remove s_infconst.c support.
3712 * libm/mathfp/Makefile.in: Regenerated.
3713 * libm/mathfp/s_infconst.c: Moved to common directory.
3714
4d57c1ed
JJ
37152005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3716
3717 * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
3718 dbgprintf to prevent conflict with new dprintf function.
3719
1012585f
JJ
37202005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3721
3722 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
3723 "nan" processing for systems that have long double support.
3724
e9154015
JJ
37252005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3726
3727 * libc/sys/linux/sys/types.h (int8_t): Add type.
3728
1a869698
JJ
37292005-10-14 Bob Wilson <bob.wilson@acm.org>
3730
ba3ccd63
EB
3731 * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC).
3732 * libm/common/Makefile.in: Regenerate.
3733 * libm/common/common.tex: Delete file.
3734 * libm/math/math.tex: Include .def files from common/.
3735 * libm/mathfp/mathfp.tex: Likewise.
1a869698 3736
e0811fb3
JJ
37372005-10-14 Bob Wilson <bob.wilson@acm.org>
3738
3739 * libc/libc.texinfo (Top): Surround this node with @ifnottex
3740 instead of @ifinfo. Update menu to add Introduction and match
3741 SUBDIRS order.
ba3ccd63 3742 (Introduction): New section.
e0811fb3 3743
e63c98c6
JJ
37442005-10-14 Bob Wilson <bob.wilson@acm.org>
3745
ba3ccd63
EB
3746 * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
3747 with "Red Hat newlib C Library".
3748 * libc/sys.tex (Stubs): Likewise.
3749 * libm/math/math.tex (Math): Likewise.
3750 * libm/mathfp/mathfp.tex (Math): Likewise.
e63c98c6 3751
339195bf
JJ
37522005-10-11 Shaun Jackman <sjackman@gmail.com>
3753
3754 * libc/include/stdio.h (dprintf): New declaration.
3755 (vdprintf): Ditto.
3756 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
3757 and vdprintf.c.
3758 * libc/stdio/Makefile.in: Regenerate.
3759 * libc/stdio/dprintf.c: New file.
3760 * libc/stdio/vdprintf.c: New file.
3761 * libc/stdio/stdio.tex (dprintf): New entry.
3762
da71e518
JJ
37632005-10-11 David Weatherford <weath@tensilica.com>
3764
3765 * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
17c0c97d 3766 Print "inf" and "nan" in lowercase for e/f/g formats and in
da71e518
JJ
3767 uppercase for E/F/G formats.
3768
f011605a
JJ
37692005-10-07 Bob Wilson <bob.wilson@acm.org>
3770
3771 * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
3772 to ENOMEM on failure.
3773
bc037f3a
JJ
37742005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>
3775
3776 * libc/include/stdint.h: Add [u]int_fast<N>_t types.
3777
c7e20979
JJ
37782005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>
3779
3780 * libc/include/stdint.h: Move magic to set __have_long* to the
3781 beginning. Use #if __have* instead of #if defined(__have*).
3782 Minor typo fixes.
3783
58e78add
JJ
37842005-10-04 James E Wilson <wilson@specifix.com>
3785
3786 * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next. Add
3787 #error.
3788
8afb8202
JJ
37892005-10-03 Jeff Johnston <jjohnstn@redhat.com>
3790
3791 * libc/sys/linux/include/stdint.h: Include <sys/types.h> and
3792 incorporate Ralf's change below.
3793
14491fd0
JJ
37942005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>
3795
17c0c97d 3796 * libc/include/stdint.h:
14491fd0
JJ
3797 Use __INTMAX_TYPE__ to derive intmax_t.
3798 Use __UINTMAX_TYPE__ to derive uintmax_t.
3799 Fix minor typo.
3800
ee694aea
JJ
38012005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
3802
17c0c97d 3803 * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
ee694aea
JJ
3804 handling GCC >= 4.
3805
9f1926f2
JJ
38062005-09-20 Jeff Johnston <jjohnstn@redhat.com>
3807
3808 * libc/sys/linux/include/stdint.h: Update to match functionality
3809 of generic newlib stdint.h.
3810
0ce4fcef
JJ
38112005-09-20 Jeff Johnston <jjohnstn@redhat.com>
3812
3813 * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
3814 and do not #undef the macro after it is used. Fix typos.
3815 Also change 64-bit constants to use the __have_long64 and
3816 __have_longlong64 flags to determine if long or long long
3817 constants should be used.
3818 * libc/include/inttypes.h: Include stddef.h to get wchar_t
3819 type defined.
3820
17060817
JJ
38212005-09-20 Shaun Jackman <sjackman@gmail.com>
3822
3823 * libc/include/stdint.h: Fix typo in names of
3824 LEAST macros.
3825
1e1d1d3d
JJ
38262005-09-20 Jeff Johnston <jjohnstn@redhat.com>
3827
3828 * libc/sys/rtems/include/inttypes.h: Moved to...
3829 * libc/include/inttypes.h: ...here.
3830
cddfc170
JJ
38312005-09-19 Jeff Johnston <jjohnstn@redhat.com>
3832
3833 * libc/sys/rtems/include/stdint.h: Moved to...
3834 * libc/include/stdint.h: ...here.
3835
b10ab725
JJ
38362005-09-08 Jeff Johnston <jjohnstn@redhat.com>
3837
3838 * Makefile.am: Add include files under bits sub-directory.
3839 * Makefile.in: Regenerated.
3840 * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
3841 actual value of 1 to be compatible with newer glibc headers.
3842 * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
3843 glibc headers.
3844 * libc/sys/linux/sys/dirent.h: Ditto.
3845 * libc/sys/linux/argp/argp-xinl.c: Ditto.
3846 * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
3847 profile_fixup routines are marked used so they won't be
3848 optimized away.
3849 * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
3850 to mark functions as weak.
3851 * libc/sys/linux/dl/dl-open.c: Ditto.
3852 * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
3853 rules about lvalues.
3854 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
3855 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
3856 weak_extern macro to mark functions as weak. Instead always
3857 use #pragma weak.
3858 * iconvdata/jis0208.h: Fix to work with gcc4.
3859 * libc/sys/linux/dl/dl-load.c: Ditto.
3860 * libc/sys/linux/dl/dl-reloc.c: Ditto.
3861 * libc/sys/linux/dl/do-rel.h: Ditto.
3862 * libc/sys/linux/dl/dynamic-link.h: Ditto.
3863 * libc/sys/linux/include/ltdl.h: Ditto.
3864 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
3865 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
3866 * libc/sys/linux/net/ns_ntoa.c: Ditto.
3867 * libc/sys/linux/bits/initspin.h: New file.
3868 * libc/sys/linux/bits/libc-lock.h: Ditto.
3869 * libc/sys/linux/bits/pthreadtypes.h: Ditto.
3870 * libc/sys/linux/bits/typesizes.h: Ditto.
3871
7b786e48
JJ
38722005-09-08 Eric Blake <ebb9@byu.net>
3873
3874 * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
3875 before is NULL.
3876
32b09d75
JJ
38772005-09-08 Brian Dessent <brian@dessent.net>
3878
3879 * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
3880 mantissa.
3881 * s_lrint.c: Ditto.
3882
8f36ef2f
JJ
38832005-09-02 Jeff Johnston <jjohnstn@redhat.com>
3884
3885 * libc/include/stdio.h: Add prototype for viprintf.
3886
cebe43dd
JJ
38872005-09-01 Jeff Johnston <jjohnstn@redhat.com>
3888
3889 * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
3890 any positive power results in 0.
3891 * libm/mathfp/sf_pow.c (powf): Ditto.
3892
45c8bb8f
JJ
38932005-08-31 Paul Brook <paul@codesourcery.com>
3894
3895 * configure.host: Set have_crt0 to no for Arm targts when not
3896 providing syscalls. Set sys_dir=arm unconditionally.
3897 Default have_crt0 based on sys_dir.
3898 * configure.in: Use have_crt0.
3899 * libc/configure.in: Ditto.
3900 * libc/sys/configure.in: Ditto.
3901 * configure: Regenerate.
3902 * libc/configure: Regenerate.
3903 * libc/sys/configure: Regenerate.
3904 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
3905 Only build other files when providing syscalls.
3906 * libc/sys/arm/Makefile.in: Regenerate.
3907 * libc/sys/arm/aeabi_atexit.c: New file.
3908
dbeee890
CF
39092005-08-26 Christopher Faylor <cgf@timesys.com>
3910
3911 * libc/include/string.h: Revert previous change.
3912
377d3ea0
CF
39132005-08-25 Christopher Faylor <cgf@timesys.com>
3914
3915 * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
3916
4797a77c
JJ
39172005-08-22 Shaun Jackman <sjackman@gmail.com>
3918
3919 * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
3920 define _opendir as opendir, _readdir as readdir, and
3921 _closedir as closedir so that the implementations in
3922 libc/posix will be used.
3923
2e73582e
DD
39242005-08-10 DJ Delorie <dj@redhat.com>
3925
3926 * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
3927
234cf97f
JJ
39282005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
3929
3930 * libm/common/sf_fmax.c: Fix to properly handle NaNs.
3931 * libm/common/s_max.c: Ditto.
3932 * libm/common/sf_fmin.c: Ditto.
3933 * libm/common/s_min.c: Ditto.
3934
56448afa
JJ
39352005-08-10 DJ Delorie <dj@redhat.com>
3936
3937 * configure.host: Add m32c support.
3938 * libc/include/machine/ieeefp.h: Likewise.
3939 * libc/include/machine/setjmp.h: Likewise.
3940 * libc/include/sys/config.h: Likewise.
3941 * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
3942 * libc/machine/m32c/aclocal.m4: New file.
3943 * libc/machine/m32c/configure: Ditto.
3944 * libc/machine/m32c/configure.in: Ditto.
3945 * libc/machine/m32c/Makefile.am: Ditto.
3946 * libc/machine/m32c/Makefile.in: Ditto.
3947 * libc/machine/m32c/setjmp.S: Ditto.
3948
0c5c6c23
JJ
39492005-08-02 Bob Wilson <bob.wilson@acm.org>
3950
ba3ccd63
EB
3951 * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
3952 to the value for 2^126.
0c5c6c23 3953
12499c7a
HPN
39542005-07-26 Hans-Peter Nilsson <hp@bitrange.com>
3955
3956 * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
3957 used.
3958
395a327d 39592005-07-20 Bob Wilson <bob.wilson@acm.org>
ba3ccd63 3960 Darin Petkov <darin@tensilica.com>
395a327d
JJ
3961
3962 * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
3963
108d7dd8
JJ
39642005-07-19 Paul Brook <paul@codesourcery.com>
3965
3966 * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
3967
b776efc5
JJ
39682005-07-18 Joseph S. Myers <joseph@codesourcery.com>
3969
3970 * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
3971 names after PASS and FAIL which do not depend on source directory
3972 name or on whether test passed or failed.
3973 * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
3974
88540e24
JJ
39752005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
3976
3977 * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
3978
85d62190 39792005-07-07 Shaun Jackman <sjackman@gmail.com>
b32adfc5 3980
88540e24 3981 * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
b32adfc5
JJ
3982 twice for the same directory. _closedir calls free, and freeing
3983 the same pointer twice may cause a crash.
3984
dee9edd9
AH
39852005-07-06 Aldy Hernandez <aldyh@redhat.com>
3986
ba3ccd63
EB
3987 * configure.host: Added entry for ms1*.
3988 * libc/include/machine/ieeefp.h: Handle ms1.
3989 * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
3990 * libc/machine/ms1/aclocal.m4: New.
3991 * libc/machine/ms1/configure: New.
3992 * libc/machine/ms1/configure.in: New.
3993 * libc/machine/ms1/Makefile.am: New.
3994 * libc/machine/ms1/Makefile.in: New.
3995 * libc/machine/ms1/setjmp.S: New.
dee9edd9 3996
cec1d3b4
JJ
39972005-07-04 Mark Mitchell <mark@codesourcery.com>
3998
3999 * Makefile.am (site.exp): Set tmpdir.
4000 * Makefile.in: Regenerated.
4001 * testsuite/lib/checkoutput.exp (newlib_check_output): Put
4002 executables in $tmpdir.
4003 * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
4004 libgloss version if not running in the build directory.
4005 * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
4006 $tmpdir.
4007 * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
4008 in $tmpdir.
4009
25d209f1
JJ
40102005-06-28 Dave Korn <dave.korn@artimi.com>
4011
4012 * libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison
4013 and miscalculation caused by fp representation of zero.
4014 * libm/common/sf_lrint.c (lrintf): Likewise.
4015
68cdbb18
JJ
40162005-06-16 Christopher Faylor <cgf@timesys.com>
4017
4018 * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
4019 determine characteristics of long double. Use a union instead.
4020 * ldtoa.c (_ldtoa_r): Ditto.
4021 (_ldcheck): Ditto.
4022 (_strtold): Ditto.
4023 (union uconv): New union.
4024
15c04fd1
JJ
40252005-06-03 Jeff Johnston <jjohnstn@redhat.com>
4026
4027 * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
4028 instead of memcpy.
4029
cf55bf5e
JJ
40302005-05-12 Jeff Johnston <jjohnstn@redhat.com>
4031
4032 * configure.host (mn10300-*): Add long long I/O support by default.
4033
b6e654c4
JJ
40342005-05-12 Jeff Johnston <jjohnstn@redhat.com>
4035
4036 * libc/sys/linux/getpwuid.c: Removed.
4037 * libc/sys/linux/getpwnam.c: Removed.
4038 * libc/sys/linux/getpwent.c: New file containing logic
4039 from files removed above. This allows overriding of file
4040 in libc/unix.
4041 * libc/sys/linux/Makefile.am: Support changes above.
4042 * libc/sys/linux/Makefile.in: Regenerated.
4043
5456408b
JJ
40442005-04-28 Jeff Johnston <jjohnstn@redhat.com>
4045
4046 * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
4047 when checking for multiple flags.
4048
1c74754f
HPN
40492005-04-18 Hans-Peter Nilsson <hp@axis.com>
4050
4051 * configure.host <cris-*-* | crisv32-*-*>: Set
ba3ccd63 4052 default_newlib_io_long_long="yes".
1c74754f 4053
6e75bff6
JJ
40542005-04-08 Jeff Johnston <jjohnstn@redhat.com>
4055
4056 * libc/include/libgen.h: New file.
4057
40582005-04-08 Shaun Jackman <sjackman@gmail.com>
4059
4060 * libc/unix/Makefile.am: Add support for basename and dirname.
4061 * libc/unix/Makefile.in: Regenerated.
4062 * libc/unix/basename.c: New file.
4063 * libc/unix/dirname.c: New file.
4064
95c136c4
JJ
40652005-04-07 Shaun Jackman <sjackman@gmail.com>
4066
4067 * libc/sys/linux/inode.c (lchown): New function.
4068
9ae26f7e
JJ
40692005-04-07 Shaun Jackman <sjackman@gmail.com>
4070
4071 * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
4072 ELIX level is defined.
4073 * libc/unix/Makefile.in: Regenerated.
4074
85da7039
JJ
40752005-04-05 Dave Korn <dave.korn@artimi.com>
4076
4077 * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
4078 something that looks like a "NaN", put back the characters processed.
4079
fefc73a0
CV
40802005-04-01 Corinna Vinschen <corinna@vinschen.de>
4081
4082 * libc/stdlib/strtod.c (_strtod_r): Never change s00.
4083
e633fde1
CF
40842005-03-23 Christopher Faylor <cgf@timesys.com>
4085
4086 * configure.host: For cygwin, redefine CC with cygwin include directory
4087 first to mimic the behavior of the top-level configury. Move include
4088 directory out of newlib_cflags.
4089
859c94e8
JJ
40902005-03-22 Jeff Johnston <jjohnstn@redhat.com>
4091
4092 * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
17c0c97d 4093 * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
859c94e8
JJ
4094 than errno.
4095
7e3fd32b
CF
40962005-03-22 Christopher Faylor <cgf@timesys.com>
4097
4098 * libc/include/machine/_types.h: Make trivial change to comment to
4099 avoid a spurious warning from gcc.
4100
d4eb8920
JJ
41012005-03-21 Nicholas Wourms <nwourms@netscape.net>
4102
4103 * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
4104 since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
4105 reent.h include.
4106
45030958 41072005-03-18 Hans-Peter Nilsson <hp@axis.com>
ba3ccd63 4108 Corinna Vinschen <corinna@vinschen.de>
45030958 4109
ba3ccd63
EB
4110 * libc/include/ctype.h: Remove invalid +1 offset from
4111 ctype macro references to __ctype_ptr.
4112 (_ctype_): Move declaration outside #ifndef __cplusplus.
45030958 4113
5c9b5ac7
CV
41142005-03-18 Corinna Vinschen <corinna@vinschen.de>
4115
4116 * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
4117 evaluate first parameter only once.
4118 (siglongjmp): Ditto.
4119
dd801fda
JJ
41202005-03-17 Jeff Johnston <jjohnstn@redhat.com>
4121
4122 * configure.in: Add new check to see if compiler supports
4123 aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
4124 * configure: Regenerated.
4125 * Makefile.in: Ditto.
4126 * newlib.hin: Add _HAVE_ARRAY_ALIASING.
4127 * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
4128 aliasing the _ctype_ array to _ctype_b.
4129 * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
4130 _ctype_ as deprecated.
4131
333eabc6
HPN
41322005-03-17 Hans-Peter Nilsson <hp@axis.com>
4133
4134 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
4135 -DCOMPACT_CTYPE.
4136
df5a5b35
JJ
41372005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
4138
4139 * libc/sys/rtems/include/inttypes.h: New file.
4140 * libc/sys/rtems/include/stdint.h: Ditto.
4141
9d385fb0
JJ
41422005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
4143
4144 * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
4145
2e7d9bf9
JJ
41462005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
4147
4148 * libc/include/machine/_types.h: New file.
4149 * libc/include/sys/types.h: Do not check for __rtems__
4150 when including <machine/_types.h>. Remove some redundant
4151 declarations now that <machine/_types.h> is included.
4152 * libc/sys/rtems/machine/_types.h: Removed. Replaced with
4153 shared header file.
4154
92a7e06e
JJ
41552005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
4156
4157 * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
4158 L qualifier for these long constants.
4159
1139537a
JJ
41602005-02-25 Eric Blake <ebb9@byu.net>
4161
4162 * libc/include/time.h (__tzrule_struct): Make offset long, since
4163 a 16-bit int overflows on a 12-hour offset.
4164 * libc/sys/linux/include/time.h: Ditto.
4165 * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
4166 * libc/time/mktm_r.c: Ditto.
4167 * libc/time/gettzinfo.c: Ditto.
4168 * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
4169 years. Fix '%z' to use long, not int.
4170
f4fd7b4c
JJ
41712005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
4172
4173 * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
4174 manipulate float values in integer form.
4175 * libm/common/sf_round.c: Ditto.
4176
f2f8a9a2
JJ
41772005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
4178
4179 * libc/include/sys/types.h [__rtems__]: Include new
4180 header file machine/_types.h.
4181 * libc/include/machine/types.h: Ditto.
4182 * libc/sys/rtems/machine/_types.h: New file.
4183
39fd43d7
CV
41842005-02-23 Corinna Vinschen <corinna@vinschen.de>
4185
4186 * libc/include/time.h (_timezone): Change to long also for Cygwin.
4187 (timezone): Drop cast from definition.
4188
6b9a74f9
JJ
41892005-02-23 Jeff Johnston <jjohnstn@redhat.com>
4190
4191 * libc/include/time.h [!CYGWIN](_timezone): Change to long.
4192 (__tzrule_type, __tzinfo_type): New types.
4193 (__gettzinfo): New function.
4194 * libc/sys/linux/include/time.h: Ditto.
4195 * libc/time/Makefile.am: Add gettzinfo.c.
4196 * libc/time/Makefile.in: Regenerated.
4197 * libc/time/local.h: Moved __tzrule_type to time.h.
4198 * libc/time/mktime.c: Call __gettzinfo to reference
4199 __tznorth, __tzyear, and __tzrule array.
4200 * libc/time/mktm_r.c: Ditto.
4201 * libc/time/strftime.c: Ditto.
4202 * libc/time/tzset_r.c: Ditto. Also remove definition
4203 of __tzrule which is now in gettzinfo.c. Change _timezone
4204 references to not cast to time_t.
4205 * libc/time/gettzinfo.c: New file.
4206
6015cf9f
CV
42072005-02-23 Corinna Vinschen <corinna@vinschen.de>
4208
4209 * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
4210
5e4c05da
CV
42112005-02-22 Corinna Vinschen <corinna@vinschen.de>
4212
4213 * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
4214
f1d439fc
JJ
42152005-02-16 Eric Blake <ebb9@byu.net>
4216
4217 * libc/time/time.tex: Improve the documentation.
4218 * libc/time/strftime.c: Improve the documentation.
4219 (iso_year_adjust): New helper function.
4220 (strftime): Simplify '%E' and '%O'. Change '%c' to use
4221 recursion. Fix '%C', '%y', and '%Y' to deal with years with more
4222 than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
4223 '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
4224 Avoid core dumps on valid inputs (maxsize == 0, or
4225 tim_p->tm_isdst > 1).
4226
18d3a03b
CV
42272005-02-08 Corinna Vinschen <corinna@vinschen.de>
4228
4229 * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
4230 members to uid_t and gid_t according to SUSv3.
4231 * libc/include/sys/time.h (utimes): Change second parameter
4232 to const according to SUSv3.
4233
1159e0fd
JJ
42342005-02-07 Antony King <antony.king@st.com>
4235
4236 * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
4237 called before _flockfile to prevent lock object use before
4238 initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
4239 take a struct _reent * instead of a FILE *.
4240 * libc/stdio/fclose.c (_fclose_r): Ditto.
4241 * libc/stdio/feof.c (feof): Ditto.
4242 * libc/stdio/ferror.c (ferror): Ditto.
4243 * libc/stdio/fflush.c (fflush): Ditto.
4244 * libc/stdio/fgetc.c (fgetc): Ditto.
4245 * libc/stdio/fgets.c (fgets): Ditto.
4246 * libc/stdio/fileno.c (fileno): Ditto.
4247 * libc/stdio/fputc.c (fputc): Ditto.
4248 * libc/stdio/fputs.c (fputs): Ditto.
4249 * libc/stdio/fread.c (fread): Ditto.
4250 * libc/stdio/freopen.c (_freopen_r): Ditto.
4251 * libc/stdio/fseek.c (_fseek_r): Ditto.
4252 * libc/stdio/ftell.c (_ftell_r): Ditto.
4253 * libc/stdio/fwrite.c (fwrite): Ditto.
4254 * libc/stdio/getc.c (getc): Ditto.
4255 * libc/stdio/getdelim.c (__getdelim): Ditto.
4256 * libc/stdio/putc.c (putc): Ditto.
4257 * libc/stdio/setvbuf.c (setvbuf): Ditto.
4258 * libc/stdio/ungetc.c (_ungetc_r): Ditto.
4259 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
4260 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
4261 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
4262 * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
4263 * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
4264 _reent * instead of a FILE * and so replace incorrect use of
4265 _REENT with argument.
4266 * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
4267 * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
4268 CHECK_INIT() take a struct _reent * instead of a FILE *.
4269 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
4270 * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
4271 * libc/stdio/perror.c (perror): Ditto.
4272 * libc/stdio/printf.c (printf, _printf_r): Ditto.
4273 * libc/stdio/putchar.c (putchar): Ditto.
4274 * libc/stdio/puts.c (puts): Ditto.
4275 * libc/stdio/refill.c (__srefill): Ditto.
4276 * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
4277 * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
4278 * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
4279 * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
4280 * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
4281 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
4282 * libc/stdio/wbuf.c (__swbuf): Ditto.
4283 * libc/stdio/wsetup.c (__swsetup): Ditto.
4284 * libc/stdlib/mallocr.c (malloc_stats): Ditto.
4285 * libc/stdlib/mstats.c (_mstats_r): Ditto.
4286 * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
4287 * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
4288 * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
4289 to _flockfile and _funlockfile; rely on locking in _ftell_r.
4290 * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
4291 * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
4292 initialision of _data field in FILE structure.
4293 * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
4294
3d915670
JJ
42952005-02-07 Jeff Johnston <jjohnstn@redhat.com>
4296
4297 * libc/stdio/findfp.c (__sinit): Protect with new lock.
4298 (__sinit_lock): New lock.
4299 (__sinit_lock_acquire, __sinit_lock_release): New functions.
4300 * libc/stdio/local.h: Add reference to new __sinit locking
4301 functions.
4302
b59cab1e
JJ
43032005-02-07 Jeff Johnston <jjohnstn@redhat.com>
4304
4305 * libc/include/math.h (isfinite, isnormal, isunordered): Change
4306 input variable names to avoid mixups with nesting macros.
4307
1815fdea
JJ
43082005-01-27 Hans-Peter Nilsson <hp@axis.com>
4309
4310 * configure.host: Add support for cris-*-* and crisv32-*-*.
4311 * libc/include/machine/ieeefp.h: Ditto.
4312 * libc/include/machine/setjmp.h: Ditto.
4313 * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
4314 libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
4315 libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
4316 libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
4317 libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
4318 libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
4319 libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
4320 files.
4321
f7d4d41a
JJ
43222005-01-27 Hans-Peter Nilsson <hp@axis.com>
4323
4324 * testsuite/newlib.string/memmove1.c: New test.
4325
1319dec6
JJ
43262005-01-27 Hans-Peter Nilsson <hp@axis.com>
4327
4328 * testsuite/include/check.h: Include stdlib.h.
4329
b45e65b0
JJ
43302005-01-27 Hans-Peter Nilsson <hp@axis.com>
4331
4332 * Makefile.am (stmp-targ-include): Support include header files
4333 from machine directories.
e9743354 4334 (install-data-local): Ditto.
b45e65b0
JJ
4335 * Makefile.in: Regenerate.
4336
dbfa92dd
JJ
43372005-01-24 Jeff Johnston <jjohnstn@redhat.com>
4338
4339 * libc/include/string.h: Remove Linux-specific declaration of
4340 strsignal and add #include <sys/string.h>.
4341 * libc/include/sys/string.h: New file.
4342 * libc/include/sys/linux/sys/string.h: New file with strsignal
4343 declaration deleted above.
4344
6cb0c055
JJ
43452005-01-20 Jeff Johnston <jjohnstn@redhat.com>
4346
4347 * libc/time/strftime.c (strftime): Change %r and %x to be compliant
4348 to POSIX standard for "C" locale. Allow %E and %O modifiers
4349 to be ignored as long as they precede valid specifiers according
4350 to POSIX.
4351
52429807
JJ
43522005-01-19 Shaun Jackman <sjackman@gmail.com>
4353
4354 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
4355 environment variable is set.
4356
f693170a
JJ
43572005-01-19 Shaun Jackman <sjackman@gmail.com>
4358
ba3ccd63 4359 * tzset_r.c (_tzname): Add a comma.
f693170a 4360
464d01bf
AH
43612005-01-18 Aldy Hernandez <aldyh@redhat.com>
4362
4363 * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
4364 _VFPRINTF_R.
4365
f7a74742 43662005-01-07 Paul Brook <paul@codesourcery.com>
17c0c97d 4367
f7a74742
JJ
4368 * configure.in: Add test for .init_array.
4369 * configure: Regenerate.
4370 * newlib.hin: Add HAVE_INITFINI_ARRAY.
4371 * libc/misc/Makefile.am: Add init.c
4372 * libc/misc/Makefile.in: Regenerate.
4373 * libc/misc/init.c: New file.
4374 * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
4375 _init/_fini if they exist.
17c0c97d 4376
8fa6cb9a
JJ
43772005-01-06 Jeff Johnston <jjohnstn@redhat.com>
4378
4379 * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
4380 * (strtof): Ditto.
4381 * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
4382 * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
4383 functions for use by strtod and strtof.
4384 * Makefile.in: Regenerated.
17c0c97d 4385
034a3909 43862005-01-06 Hans-Peter Nilsson <hp@axis.com>
17c0c97d 4387
034a3909
JJ
4388 * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
4389 bit-test in combination with NULL test.
17c0c97d 4390
9918ea2d 43912005-01-06 Hans-Peter Nilsson <hp@axis.com>
17c0c97d 4392
ba3ccd63 4393 * README: Fix typo of LGPL. Change "license" to "copyright".
17c0c97d 4394
5cc3f592
JJ
43952004-12-17 Jeff Johnston <jjohnstn@redhat.com>
4396
4397 * NEWS: Update with 1.13.0 info.
4398 * README: Ditto.
4399 * acinclude.m4: Change version number to 1.13.0.
4400 * aclocal.m4: Regenerated.
4401 * configure: Ditto.
4402 * doc/aclocal.m4: Ditto.
4403 * doc/configure: Ditto.
4404 * libc/*/aclocal.m4: Ditto.
4405 * libc/*/configure: Ditto.
4406 * libc/libc.texinfo: Ditto.
4407 * libm/*/aclocal.m4: Ditto.
4408 * libm/*/configure: Ditto.
4409 * libm/libm.texinfo: Ditto.
4410 * libc/sys/linux/shared.ld: Add VERS_1.13.
4411
d8ae996c
JJ
44122004-12-17 Christian Groessler <chris@groessler.org>
4413
4414 * libc/machine/z8k/memcmp.S: New file.
4415 * libc/machine/z8k/memcpy.S: Ditto.
4416 * libc/machine/z8k/memmove.S: Ditto.
4417 * libc/machine/z8k/memset.S: Ditto.
4418 * libc/machine/z8k/Makefile.am: Add new files.
4419 * libc/machine/z8k/Makefile.in: Regenerated.
4420 * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
4421 part. Implement Z8002 stdcall version.
4422
82673116
JJ
44232004-12-13 Jeff Johnston <jjohnstn@redhat.com>
4424
4425 * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
4426 a low-level read if we don't get the full amount of bytes so
4427 EOF or error flags will be set.
4428
0082d4cf
JJ
44292004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
4430
4431 * libc/time/tzset_r (_tzset_r): Properly skip over
4432 '/' when it is detected.
4433
3b54b74f
JJ
44342004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
4435
4436 * libc/time/tzset_r (_tzset_r): Fix loop.
4437
4b30e154
JJ
44382004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
4439
4440 * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
4441 m_day.
4442 (__tzcalc_limits): Fix reference to month array to be zero-based.
4443
465eab2e
JJ
44442004-12-07 Jeff Johnston <jjohnstn@redhat.com>
4445
4446 * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
4447 and usleep.
4448
a2b1a849
JJ
44492004-12-03 Jeff Johnston <jjohnstn@redhat.com>
4450
4451 * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
4452 libgcc dependencies.
4453 (libm_la_LDFLAGS): Ditto.
4454 * Makefile.in: Regenerated.
4455
c80a1731
JJ
44562004-12-03 Shaun Jackman <sjackman@gmail.com>
4457
4458 * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
4459 our link to use readlink so as to preserve any relative link created
4460 by install-toollibLIBRARIES.
4461 * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
4462
70e9da42
JJ
44632004-12-02 Shaun Jackman <sjackman@gmail.com>
4464
4465 * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
4466 time_t before including sys/stat.h, which uses it.
4467 * libc/sys/linux/sys/stat.h: Include <sys/types.h> and
4468 <linux/time.h> just prior to definition of __KERNEL__ so as to
4469 allow building on Debian Linux where otherwise, mktime would
4470 be redefined.
4471
a330d85a
JJ
44722004-11-26 Paul Brook <paul@codesourcery.com>
4473
4474 * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
17c0c97d 4475
c41a1cb7
JJ
44762004-11-24 Jeff Johnston <jjohnstn@redhat.com>
4477
4478 * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
9aa189be 4479 const for value string parameter to match Single Unix and glibc.
c41a1cb7
JJ
4480 * libc/stdlib/putenv.c: Ditto.
4481 * libc/stdlib/putenv_r.c: Ditto.
4482
16ac96ee
JJ
44832004-11-24 Jeff Johnston <jjohnstn@redhat.com>
4484
4485 * libc/stdio/Makefile.am: Fix missing vfscanf.
4486 * libc/stdio/Makefile.in: Regenerated.
17c0c97d 4487
3bf09147 44882004-11-23 Jeff Johnston <jjohnstn@redhat.com>
17c0c97d 4489
3bf09147
JJ
4490 * libc/include/stdio.h: Add new iprintf and iscanf variants. Also
4491 do some reordering.
4492 * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
4493 * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
4494 family functions.
4495 * libc/stdio/Makefile.in: Regenerated.
4496 * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
4497 * libc/stdio/iprintf.c: Ditto.
4498 * libc/stdio/local.h (__svfiscanf_r): New prototype.
4499 * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
4500 * libc/stdio/sniprintf.c: Move docs to siprintf.c.
4501 * libc/stdio/stdio.tex: Add new functions.
4502 * libc/stdio/vfscanf.c: Split out __sccl function to separate
4503 file and add special name defines so this file can be used
4504 to build vfiscanf.o.
4505 * libc/stdio/asiprintf.c: New file.
4506 * libc/stdio/fiscanf.c: Ditto.
4507 * libc/stdio/iscanf.c: Ditto.
4508 * libc/stdio/sccl.c: Ditto.
4509 * libc/stdio/siscanf.c: Ditto.
4510 * libc/stdio/vasiprintf.c: Ditto.
4511 * libc/stdio/viprintf.c: Ditto.
4512 * libc/stdio/viscanf.c: Ditto.
4513 * libc/stdio/vsiprintf.c: Ditto.
4514 * libc/stdio/vsiscanf.c: Ditto.
4515 * libc/stdio/vsniprintf.c: Ditto.
4516
0f0fcb04 45172004-11-19 Shaun Jackman <sjackman@gmail.com>
17c0c97d 4518
ba3ccd63
EB
4519 * libc/include/stdio.h: Add sniprintf.
4520 * libc/stdio/Makefile.am: Add sniprintf.c.
4521 * libc/stdio/Makefile.in: Regenerated.
4522 * libc/stdio/sniprintf.c: New file.
4523 * libc/stdio/stdio.tex: Add sniprintf.
17c0c97d 4524
1f8f7e2d
CF
45252004-11-17 Christopher Faylor <cgf@timesys.com>
4526
4527 * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear
4528 EOF flag if successful.
4529
b08d08c7
CF
45302004-10-28 Christopher Faylor <cgf@timesys.com>
4531
4532 * libc/include/sys/signal.h: Move <signal.h> include to bottom of file
334ba104 4533 so that all relevant definitions have been performed for use in the
b08d08c7
CF
4534 include.
4535
65b1964f
JJ
45362004-10-26 Jason Tishler <jason@tishler.net>
4537
4538 * libc/stdio/fread.c (fread): Fix return value for unbuffered
4539 fread.
4540
6382b7e3 45412004-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
06b5ef6e
JJ
4542
4543 * libc/include/machine/setjmp.h: Add AVR support.
4544 * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
4545
73131c2d 45462004-10-08 Jeff Johnston <jjohnstn@redhat.com>
17c0c97d 4547
ba3ccd63
EB
4548 * libc/include/sys/signal.h: If <signal.h> didn't include
4549 this header file, include <signal.h> to account for
4550 applications that take advantage that the two header
4551 files are the same in glibc.
17c0c97d 4552
1185687a
JJ
45532004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
4554
ba3ccd63
EB
4555 * configure.host: Add support for crx.
4556 * libc/include/machine/ieeefp.h: Ditto.
4557 * libc/include/machine/setjmp.h: Ditto.
4558 * libc/machine/crx/Makefile.am: New file.
4559 * libc/machine/crx/configure.in: Ditto.
4560 * libc/machine/crx/setjmp.S: Ditto.
4561 * libc/machine/crx/getenv.c: Ditto.
4562 * libc/machine/crx/aclocal.m4: Generate.
4563 * libc/machine/crx/configure: Ditto.
4564 * libc/machine/crx/Makefile.in: Ditto.
4565 * libc/machine/crx/sys/asm.h: New file.
4566 * libc/machine/crx/sys/libh.h: Ditto.
4567 * libc/machine/crx/sys/syscall.h: Ditto.
1185687a 4568
423152ed
JJ
45692004-10-05 Jeff Johnston <jjohnstn@redhat.com>
4570
4571 * Makefile.am (stmp-targ-include): Support sys header files
4572 from machine directories.
4573 * Makefile.in: Regenerated.
4574
3ea9de76
JJ
45752004-10-04 Jeff Johnston <jjohnstn@redhat.com>
4576
4577 * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
4578 count skipped zero characters as part of the nread count for %n.
4579 * libc/machine/powerpc/vfscanf.c: Ditto.
4580
2a6e1223
JJ
45812004-09-24 Jeff Johnston <jjohnstn@redhat.com>
4582
4583 * libc/stdio/local.h: Include <stdlib.h>.
4584
d163f2fc
CV
45852004-09-24 Corinna Vinschen <corinna@vinschen.de>
4586
4587 * libc/stdio/fread.c (fread): Include <malloc.h>.
4588
602de582
JJ
45892004-09-22 Jeff Johnston <jjohnstn@redhat.com>
4590
4591 * libc/stdio/fread.c (fread): For non-space-optimized case,
4592 add special code for unbuffered files to use user buffer and
4593 only require one low-level system read.
4594
32e73f4d
ILT
45952004-09-21 Ian Lance Taylor <ian@wasabisystems.com>
4596
4597 * libc/machine/xscale/setjmp.S: New file, copied from
4598 libc/machine/arm/setjmp.S.
4599 * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
4600 * libc/machine/xscale/Makefile.in: Regenerate.
4601
ed6859b8
JJ
46022004-09-16 Antony King <antony.king@st.com>
4603
4604 * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
4605 with locking API.
17c0c97d 4606 * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
ed6859b8
JJ
4607 check for__SSTR in _flags and if set, skip lock request.
4608 (_funlockfile)[!SINGLE_THREAD]: Ditto.
4609 * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
4610 not NULL.
4611 * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
4612 initialisation of _file to -1 in local FILE.
4613 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
4614 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
4615 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
4616 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
4617 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
4618 _flags in local FILE to prevent locking.
4619 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
4620
7a0f6966
JJ
46212004-09-16 Antony King <antony.king@st.com>
4622
4623 * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
4624 and only walk the reentrancy parameter.
4625 (_fwalk_reent): Ditto.
4626 * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
4627
c77672c0
JJ
46282004-09-16 Antony King <antony.king@st.com>
4629
4630 * libc/stdio64/freopen64.c: Remove casting of fp lock to
4631 _LOCK_RECURSIVE_T.
4632
5c44c2e5
JJ
46332004-09-16 Antony King <antony.king@st.com>
4634
4635 * libc/time/tzlock.c: Add default stubs that use generic
4636 locking code.
4637
14613e5e
JJ
46382004-09-16 Antony King <antony.king@st.com>
4639
4640 * libc/ctype/ctype.tex: Added missing documentation.
4641 * libc/stdio/stdio.tex Ditto.
4642 * libc/stdlib/stdlib.tex Ditto.
4643 * libc/string/strings.tex Ditto.
4644 * libc/time/time.tex: Ditto.
4645 * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
4646
181cb051
JJ
46472004-09-15 Corinna Vinschen <vinschen@redhat.com>
4648
4649 * libc/reent/impure.c (reent_data): Define as alias to impure_data
4650 when building for Cygwin.
4651 * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
4652 _global_impure_ptr.
4653
51d4a7ea
JJ
46542004-09-15 Jeff Johnston <jjohnstn@redhat.com>
4655
4656 * configure.host: Reverting 2004-09-14 change as fix has occurred on
4657 Cygwin side.
4658 * configure.in: Ditto.
4659 * libc/configure.in: Ditto.
4660 * libc/sys/configure.in: Ditto.
4661 * configure: Ditto.
4662 * libc/configure: Ditto.
4663 * libc/sys/configure: Ditto.
4664 * libc/include/sys/reent.h: Ditto.
4665 * libc/stdlib/__atexit.c: Ditto.
4666 * libc/stdlib/__call_atexit.c: Ditto.
4667 * libc/stdlib/cxa_atexit.c: Ditto.
4668 * libc/stdlib/cxa_finalize.c: Ditto.
4669 * libc/sys/cygwin/Makefile.am: Removed again.
4670 * libc/sys/cygwin/Makefile.in: Ditto.
4671 * libc/sys/cygwin/aclocal.m4: Ditto.
4672 * libc/sys/cygwin/configure: Ditto.
4673 * libc/sys/cygwin/configure.in: Ditto.
4674 * libc/sys/cygwin/dummy.c: Ditto.
4675 * libc/sys/cygwin/sys/reent.h: Ditto.
4676
98650d2f
JJ
46772004-09-14 Jeff Johnston <jjohnstn@redhat.com>
4678
4679 * configure.host: Add Cygwin sys directory.
4680 * configure.in: Do not set CRT0 for cygwin.
4681 * libc/configure.in: Ditto.
4682 * libc/sys/configure.in: Ditto.
4683 * configure: Regenerated.
4684 * libc/configure: Ditto.
4685 * libc/sys/configure: Ditto.
4686 * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
4687 * libc/stdlib/__atexit.c: Keep cxa support protected by new
4688 __REENT_HAS_CXA_SUPPORT flag.
4689 * libc/stdlib/__call_atexit.c: Ditto.
4690 * libc/stdlib/cxa_atexit.c: Ditto.
4691 * libc/stdlib/cxa_finalize.c: Ditto.
4692 * libc/sys/cygwin/Makefile.am: New file.
4693 * libc/sys/cygwin/Makefile.in: Ditto.
4694 * libc/sys/cygwin/aclocal.m4: Ditto.
4695 * libc/sys/cygwin/configure: Ditto.
4696 * libc/sys/cygwin/configure.in: Ditto.
4697 * libc/sys/cygwin/dummy.c: Ditto.
4698 * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
4699 version of reent.h.
4700
d4c8e53b
JJ
47012004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4702
4703 * libc/iconv/iconv.tex: Updated with new content.
4704 * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
4705 instead of NLS_DEFAULT_NLSPATH.
4706 * libc/iconv/lib/iconvnls.h: Fix typo.
4707 * libc/include/sys/iconvnls.h: New file.
4708
0c8593cf
JJ
47092004-09-09 Paul Brook <paul@codesourcery.com>
4710
4711 * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
4712 and _is_cxa.
4713 (struct _atexit): Add _next when _REENT_SMALL.
4714 (struct _reent): Add _atexit0 when _REENT_SMALL.
4715 (_REENT_INIT_PTR): Adjust.
4716 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
4717 __call_exit.c.
4718 (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
4719 * libc/stdlib/Makefile.in: Regenerate.
4720 * libc/stdlib/__atexit.c: New file.
4721 * libc/stdlib/__call_atexit.c: New file.
4722 * libc/stdlib/atexit.h: Remove old definitions. Add new.
4723 * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
4724 * libc/stdlib/cxa_atexit.c: New file.
4725 * libc/stdlib/cxa_finalize.c: New file.
4726 * libc/stdlib/exit.c (exit): Use __call_exitprocs.
4727 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
4728 2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
4729 * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
4730 _on_exit_args_ptr.
4731
c6ed5a85
JJ
47322004-08-23 Jeff Johnston <jjohnstn@redhat.com>
4733
4734 * libc/include/sys/unistd.h (getpass): Change prototype to use
4735 const instead of __const.
4736
721a934c
JJ
47372004-08-16 Nathan Sidwell <nathan@codesourcery.com>
4738
4739 * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
4740 #if.
4741
4e53fc28
JJ
47422004-08-12 Jeff Johnston <jjohnstn@redhat.com>
4743
4744 * libc/sys/linux/sys/types.h (u64): New typedef to allow building
4745 on linux systems with glibc 2.3.3 installed.
4746 * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
4747 profile_fixup so newlib can build on fc3 system.
17c0c97d 4748
82045f12
AO
47492004-07-30 Alexandre Oliva <aoliva@redhat.com>
4750
4751 Introduce SH2a support.
4752 2004-03-16 Corinna Vinschen <vinschen@redhat.com>
4753 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
4754 __SH2A_SINGLE_ONLY__, too.
4755 * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
4756 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
4757 * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
4758 2004-02-10 DJ Delorie <dj@redhat.com>
4759 * libc/sys/sh/crt0.S (start_l): Support sh2a.
4760
ad6b1d79
JJ
47612004-07-29 Jeff Johnston <jjohnstn@redhat.com>
4762
4763 * libc/time/strptime.c: Correct full-name of "March" typo.
4764
63b9dcc4
JJ
47652004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
4766
17c0c97d 4767 * configure.host (h8300*-*-*): Default long long printing support.
63b9dcc4 4768
dbfd3394
JJ
47692004-07-16 Jeff Johnston <jjohnstn@redhat.com>
4770
4771 * libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
4772 calls, if realloc fails, free up buffer as it is no longer
4773 used.
4774
6edb3da9
JJ
47752004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4776
4777 * libc/iconv/iconv.tex: Updated to represent recent changes.
4778 * libc/iconv/lib/iconv.c: Documentation updated.
4779
578a3560
NC
47802004-07-07 Nick Clifton <nickc@redhat.com>
4781
4782 * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
4783 for xStormy16.
4784
2bc257e3
JJ
47852004-07-06 Chris Demetriou <cgd@broadcom.com>
4786
4787 * configure.host (mips*-*-elf*): Default long long printing
4788 support.
4789
75e7ffaa
JJ
47902004-07-05 Jeff Johnston <jjohnstn@redhat.com>
4791
4792 * libc/Makefile.am (libc.dvi): Add target and specify
4793 same dependencies as libc.info.
4794 * libc/Makefile.in: Regenerated.
4795 * libm/Makefile.am (libm.dvi): Add target and specify
4796 same dependencies as libm.info.
4797 * libm/Makefile.in: Regenerated.
4798
76ce12c3
JJ
47992004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4800
4801 * acinclude.m4: Move --enable-newlib-iconv option back here.
4802 * configure.in: Remove --enable-newlib-iconv option. Don't
4803 tie iconv support to --enable-newlib-mb.
4804 * aclocal.m4: Regenerated.
4805 * configure: Ditto.
4806 * doc/aclocal.m4, doc/configure: Ditto.
4807 * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
4808 * libm/*/aclocal.m4: Ditto.
4809 * libm/*/configure: Ditto.
4810 * libc/*/aclocal.m4: Ditto.
4811 * libc/*/configure: Ditto.
4812
660dade3
JJ
48132004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4814
4815 * acinclude.m4: Move iconv options into configure.in.
4816 * aclocal.m4: Regenerated.
4817 * configure: Ditto.
4818 * configure.in: Add iconv options.
4819 * newlib.hin: Add new iconv encodings and remove deleted ones.
4820 * doc/aclocal.m4: Regenerated.
4821 * doc/configure: Ditto.
4822 * iconvdata/aclocal.m4: Ditto.
4823 * iconvdata/configure: Ditto.
4824 * libc/iconv: Design change. New size-optimized ccs format.
4825 * libc/iconv/AUTHORS: Removed.
4826 * libc/iconv/COPYING: Ditto.
4827 * libc/iconv/README.ORIGINAL: Ditto.
4828 * libc/iconv/README.TODO: Ditto.
4829 * libc/iconv/charset.aliases: Ditto.
4830 * libc/iconv/encoding.aliases: New file.
4831 * libc/iconv/Makefile.am: Updated.
4832 * libc/iconv/Makefile.in: Regenerated.
4833 * libc/iconv/iconv.tex: Updated.
4834 * libc/iconv/ccs/Makefile.am: Ditto.
4835 * libc/iconv/ccs/Makefile.in: Regenerated.
4836 * libc/iconv/ccs/big5.c: Updated.
4837 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
4838 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
4839 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
4840 * libc/iconv/ccs/cp775.c: Ditto.
4841 * libc/iconv/ccs/cp850.c: Ditto.
4842 * libc/iconv/ccs/cp852.c: Ditto.
4843 * libc/iconv/ccs/cp855.c: Ditto.
4844 * libc/iconv/ccs/cp866.c: Ditto.
4845 * libc/iconv/ccs/iso_8859_1.c: Ditto.
4846 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
4847 * libc/iconv/ccs/gb_2312_80.c: Ditto.
4848 * libc/iconv/ccs/iconv_mktbl: Ditto.
4849 * libc/iconv/ccs/jis_x0201.c: Ditto.
4850 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
4851 * libc/iconv/ccs/shift_jis.c: Ditto.
4852 * libc/iconv/ccs/us_ascii.c: Ditto.
4853 * libc/iconv/ccs/ccs.h: New file.
4854 * libc/iconv/ccs/ccsbi.c: Ditto.
4855 * libc/iconv/ccs/ccsbi.h: Ditto.
4856 * libc/iconv/ccs/ccsnames.h: Ditto.
4857 * libc/iconv/ccs/iso_8859_10.c: Ditto.
4858 * libc/iconv/ccs/iso_8859_11.c: Ditto.
4859 * libc/iconv/ccs/iso_8859_13.c: Ditto.
4860 * libc/iconv/ccs/iso_8859_14.c: Ditto.
4861 * libc/iconv/ccs/iso_8859_3.c: Ditto.
4862 * libc/iconv/ccs/iso_8859_6.c: Ditto.
4863 * libc/iconv/ccs/iso_8859_7.c: Ditto.
4864 * libc/iconv/ccs/iso_8859_8.c: Ditto.
4865 * libc/iconv/ccs/iso_8859_9.c: Ditto.
4866 * libc/iconv/ccs/iso_ir_111.c: Ditto.
4867 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
4868 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
4869 * libc/iconv/ccs/koi8_ru.c: Ditto.
4870 * libc/iconv/ccs/koi8_uni.c: Ditto.
4871 * libc/iconv/ccs/mktbl.pl: Ditto.
4872 * libc/iconv/ccs/win_1250.c: Ditto.
4873 * libc/iconv/ccs/win_1251.c: Ditto.
4874 * libc/iconv/ccs/win_1252.c: Ditto.
4875 * libc/iconv/ccs/win_1253.c: Ditto.
4876 * libc/iconv/ccs/win_1254.c: Ditto.
4877 * libc/iconv/ccs/win_1255.c: Ditto.
4878 * libc/iconv/ccs/win_1256.c: Ditto.
4879 * libc/iconv/ccs/win_1257.c: Ditto.
4880 * libc/iconv/ccs/win_1258.c: Ditto.
d68d3538
JJ
4881 * libc/iconv/ccs/iso_8859_15.c: Updated.
4882 * libc/iconv/ccs/iso_8859_2.c: Ditto.
4883 * libc/iconv/ccs/iso_8859_4.c: Ditto.
4884 * libc/iconv/ccs/iso_8859_5.c: Ditto.
4885 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
4886 * libc/iconv/ccs/koi8_r.c: Ditto.
4887 * libc/iconv/ccs/koi8_u.c: Ditto.
4888 * libc/iconv/ccs/ksx1001.c: Ditto.
660dade3
JJ
4889 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
4890 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
4891 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
4892 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
4893 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
4894 * libc/iconv/ccs/binary/Makefile.am: Updated.
4895 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
4896 * libc/iconv/ccs/binary/big5.cct: Updated.
4897 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
4898 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
4899 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
4900 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
4901 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
4902 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
4903 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
4904 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
4905 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
4906 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
4907 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
4908 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
4909 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
4910 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
4911 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
4912 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
4913 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
4914 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
4915 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
4916 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
4917 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
4918 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
4919 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
4920 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
4921 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
4922 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
4923 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
4924 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
4925 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
4926 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
4927 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
4928 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
4929 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
4930 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
4931 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
4932 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
4933 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
4934 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
4935 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
4936 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
4937 * libc/iconv/ces/Makefile.am: Updated.
4938 * libc/iconv/ces/Makefile.in: Regenerated.
4939 * libc/iconv/ces/ucs-2-internal.c: Updated.
4940 * libc/iconv/ces/ucs-4-internal.c: Ditto.
4941 * libc/iconv/ces/utf-16.c: Ditto.
4942 * libc/iconv/ces/utf-8.c: Ditto.
4943 * libc/iconv/ces/cesbi.c: New file.
4944 * libc/iconv/ces/cesbi.h: Ditto.
4945 * libc/iconv/ces/cesdeps.h: Ditto.
4946 * libc/iconv/ces/euc.c: Ditto.
4947 * libc/iconv/ces/mkdeps.pl: Ditto.
4948 * libc/iconv/ces/table-pcs.c: Ditto.
4949 * libc/iconv/ces/table.c: Ditto.
4950 * libc/iconv/ces/ucs-2.c: Ditto.
4951 * libc/iconv/ces/ucs-4.c: Ditto.
4952 * libc/iconv/ces/us-ascii.c: Ditto.
4953 * libc/iconv/ces/euc-jp.c: Removed.
4954 * libc/iconv/ces/euc-kr.c: Ditto.
4955 * libc/iconv/ces/euc-tw.c: Ditto.
4956 * libc/iconv/ces/gb2312.c: Ditto.
4957 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
4958 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
4959 * libc/iconv/lib/Makefile.am: Updated.
4960 * libc/iconv/lib/Makefile.in: Regenerated.
4961 * libc/iconv/lib/endian.h: Updated.
4962 * libc/iconv/lib/iconv.c: Ditto.
4963 * libc/iconv/lib/local.h: Ditto.
4964 * libc/iconv/lib/aliases.c: Removed.
4965 * libc/iconv/lib/bialiasesi.c: Ditto.
4966 * libc/iconv/lib/biccs.c: Ditto.
4967 * libc/iconv/lib/bices.c: Ditto.
4968 * libc/iconv/lib/ccs.c: Ditto.
4969 * libc/iconv/lib/ces.c: Ditto.
4970 * libc/iconv/lib/ces_euc.c: Ditto.
4971 * libc/iconv/lib/ces_iso2022.c: Ditto.
4972 * libc/iconv/lib/ces_table.c: Ditto.
4973 * libc/iconv/lib/converter.c: Ditto.
4974 * libc/iconv/lib/deps.h: Ditto.
d68d3538
JJ
4975 * libc/iconv/lib/loaddata.c: Ditto.
4976 * libc/iconv/lib/aliasesbi.c: New file.
660dade3
JJ
4977 * libc/iconv/lib/aliasesi.c: Ditto.
4978 * libc/iconv/lib/conv.h: Ditto.
4979 * libc/iconv/lib/encnames.h: Ditto.
4980 * libc/iconv/lib/encoding.deps: Ditto.
4981 * libc/iconv/lib/iconvnls.c: Ditto.
4982 * libc/iconv/lib/iconvnls.h: Ditto.
660dade3
JJ
4983 * libc/iconv/lib/nullconv.c: Ditto.
4984 * libc/iconv/lib/ucsconv.c: Ditto.
4985 * libc/iconv/lib/ucsconv.h: Ditto.
4986 * libc/include/iconv.h: Update copyright.
4987 * libc/*/aclocal.m4: Regenerated.
4988 * libc/*/configure: Ditto.
4989 * libm/*/aclocal.m4: Ditto.
4990 * libm/*/configure: Ditto.
4991
9a6831be
AO
49922004-06-22 Alexandre Oliva <aoliva@redhat.com>
4993
eb6a452a
AO
4994 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
4995 instead of typedefing jmp_buf.
4996
9a6831be
AO
4997 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
4998 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
4999 * libc/machine/h8300/defines.h (LEN): New macro.
5000 * libc/machine/h8300/memcpy.S: Add h8sx version.
5001 * libc/machine/h8300/memset.S: Likewise.
5002 * libc/machine/h8300/strcmp.S: Likewise.
5003 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
5004 * libc/machine/h8300/h8sx_strcpy.S: New file.
5005 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
5006 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
5007 __H8300SX__.
5008 * libc/include/machine/setjmp.h: Likewise.
5009 * libc/include/sys/config.h: Likewise.
5010 * libc/machine/h8300/defines.h: Likewise.
5011 * libc/machine/h8300/setjmp.S: Likewise.
5012 * libc/machine/h8300/strcmp.S: Likewise.
5013 * libc/sys/h8300hms/close.S: Likewise.
5014 * libc/sys/h8300hms/fstat.S: Likewise.
5015 * libc/sys/h8300hms/lseek.S: Likewise.
5016 * libc/sys/h8300hms/read.S: Likewise.
5017 * libc/sys/h8300hms/write.S: Likewise.
5018 * libc/sys/h8300hms/crt0.S: Likewise.
5019 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
5020 __H8300SX__ is defined.
5021 * libc/sys/h8300hms/setarch.h: Likewise.
5022
80dba41e
JJ
50232004-06-17 Jeff Johnston <jjohnstn@redhat.com>
5024
5025 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
5026 out change which set _GLOBAL_REENT to _global_impure_ptr until
5027 we understand why Cygwin breaks because of it.
5028
be910599
JJ
50292004-06-14 Jeff Johnston <jjohnstn@redhat.com>
5030
5031 * libc/sys/linux/machine/i386/syscall.h: For now, set up
5032 __syscall_return macro for systems with vsyscall.
5033
d0bd3e6f
JJ
50342004-06-11 Antony King <antony.king@st.com>
5035
5036 * libc/include/sys/_types.h: Include <sys/lock.h> and change
5037 _flock_t to be of type _LOCK_RECURSIVE_T.
5038 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
5039 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
5040 (_global_impure_ptr): New declaration.
5041 (_GLOBAL_REENT): Change to be _global_impure_ptr.
5042 * libc/include/sys/stdio.h: Include <sys/lock.h> and
5043 <sys/reent.h>.
5044 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
5045 (_funlockfile)[!SINGLE_THREAD]: Ditto.
5046 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
5047 * libc/stdio/fclose.c: Remove casting of fp lock to
5048 _LOCK_RECURSIVE_T.
5049 * libc/stdio/findfp.c: Ditto.
5050 * libc/stdio/fopen.c: Ditto.
5051 * libc/stdio/freopen.c: Ditto.
5052 * libc/stdio/vfprintf.c: Ditto.
5053 * libc/stdio64/fopen64.c: Ditto.
5054 * libc/stdlib/envlock.c: Add default stubs that use generic
5055 locking code.
5056 * libc/stdlib/mlock.c: Ditto.
5057
5058 Jeff Johnston <jjohnstn@redhat.com>
5059 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
5060 (_flock_t): Change to be a struct containing a single member
5061 named mutex which is of type __flock_mutex_t.
5062
db7033a9
JJ
50632004-06-09 Jeff Johnston <jjohnstn@redhat.com>
5064
5065 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
5066 from /usr/include/asm/signal.h instead of kernel sources. Also
5067 default max to 32 if not found in header file.
5068 * libc/sys/linux/Makefile.in: Regenerated.
5069 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
5070 systems where __syscall_return is not defined.
5071 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
5072 systems to use syscall() function instead of assembler interrupt.
5073
a170abec
JJ
50742004-06-09 Toralf Lund <toralf@procaptura.com>
5075
5076 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
5077 files from libc/sys/arm to libc/machine/arm.
5078 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
5079 library build support for files moved from libc/sys/arm.
5080 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
5081 references to access and setjmp.
5082 * configure.host: Add checks for newlib_may_supply_syscalls to
5083 determine whether or not to use sys/arm directory and use
5084 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
17c0c97d 5085
8b57e664
JJ
50862004-06-02 Jeff Johnston <jjohnstn@redhat.com>
5087
5088 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
5089 reset digit flags appropriately after we have discovered "0x".
5090 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
5091
3f611058
JJ
50922004-05-27 Jeff Johnston <jjohnstn@redhat.com>
5093
5094 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
5095 from here ...
5096 (_VFPRINTF_R): ... to here so all I/O printf routines
5097 are covered.
5098
bb42a35c
JJ
50992004-05-26 Jeff Johnston <jjohnstn@redhat.com>
5100
5101 * libc/search/hash_buf.c: Protect MAX and MIN macros from
5102 redefinition.
5103 * libc/search/hash.c: Ditto.
5104
227e6ef6
JJ
51052004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5106
5107 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
5108 (_WANT_IO_LONG_LONG): Ditto.
5109 (_WANT_IO_LONG_DOUBLE): Ditto.
5110 * configure.in: Add new configuration options
5111 --enable-newlib-io-long-long and --enable-newlib-io-long-double
5112 which tie to new defines in newlib.hin.
5113 * configure: Regenerated.
5114 * configure.host: Add checks for new configuration options. Also
5115 fix up check for --enable-newlib-io-pos-args so configuration
5116 option will override any default for a given platform.
5117 Remove defining compiler flags for the _WANT_IO* options.
5118 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
5119 instead of looking for old compiler flags.
5120 * libc/stdio/vfscanf.c: Ditto.
5121 * libc/stdio/vfieeefp.h: Ditto.
5122 * libc/machine/powerpc/vfprintf.c: Ditto.
5123 * libc/machine/powerpc/vfscanf.c: Ditto.
5124
9178da95
JJ
51252004-05-25 Jeff Johnston <jjohnstn@redhat.com>
5126
5127 * testsuite/include/check.h: Add include of <stdio.h>.
5128
cf3aae91
CV
51292004-05-17 Corinna Vinschen <corinna@vinschen.de>
5130
5131 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
5132
5b4c8ae2
JJ
51332004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5134
5135 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
5136 of free.
5137
51382004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5139
5140 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
5141 list for reentrant pointer. Call _vfiprintf_r.
5142 * libc/stdio/siprintf.c (_siprintf_r): New function.
5143 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
5144 pointer argument. Change all callers. Call _VFPRINTF_R.
5145 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
5146 prototypes.
5147
631fbe65
JJ
51482004-05-07 Jeff Johnston <jjohnstn@redhat.com>
5149
5150 * libc/include/sys/param.h: Remove endian info and include
5151 <machine/endian.h> instead.
5152 * libc/include/machine/endian.h: New file.
5153 * libc/include/machine/param.h: Ditto.
5154 * libc/machine/arm/machine/endian.h: Ditto.
5155 * libc/machine/arm/machine/param.h: Ditto.
5156 * libc/sys/arm/sys/param.h: Removed.
5157 * libc/sys/sysvi386/sys/param.h: Ditto.
5158 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
5159
1af84bb7
JJ
51602004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5161
5162 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
5163 multibyte functions return failure for %C, %S, %lc, and %ls
5164 format specifiers.
5165
1c63798e
JJ
51662004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5167
5168 * testsuite/include/check.h (CHECK): Add flush of stdout.
5169
20b0251a
JJ
51702004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5171
5172 * libc/include/stdio.h (_ungetc_r): New prototype.
5173 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
5174 (__submore): Add reentrant struct pointer argument.
5175 (ungetc): Change to call _ungetc_r.
5176
6194cf4a
JJ
51772004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5178
5179 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
5180 function pointer argument.
5181 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
5182 to specify function pointer arguments.
5183 (__fwalk, __fwalk_reent): Ditto.
5184
b4ddf489
AH
51852004-04-26 Aldy Hernandez <aldyh@redhat.com>
5186
ba3ccd63
EB
5187 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
5188 CT_INT case.
b4ddf489 5189
f777e3a5
JJ
51902004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5191
5192 * configure.in: Define _MB_CAPABLE if mb supported.
5193 * configure: Regenerated.
5194 * configure.host: Remove manual setting of MB_CAPABLE compiler
5195 flag.
5196 * newlib.hin: Add _MB_CAPABLE flag.
5197 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
5198 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
5199 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
5200 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
5201 * libc/ctype/jp2uc.c: Ditto.
5202 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
5203 * libc/locale/locale.c: Ditto
5204 * libc/machine/powerpc/vfscanf.c: Ditto
5205 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
5206 * libc/stdlib/mblen.c: Ditto
5207 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
5208 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
5209 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
5210 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
5211 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
5212 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
5213 * libc/sys/linux/intl/explodename.c: Ditto
5214 * libc/sys/linux/intl/finddomain.c: Ditto
5215 * libc/sys/linux/intl/l10nflist.c: Ditto
5216 * libc/sys/linux/intl/loadmsgcat.c: Ditto
5217 * libc/sys/linux/intl/localealias.c: Ditto
5218
27c7566c
JJ
52192004-04-23 Jeff Johnston <jjohnstn@redhat.com>
5220
5221 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
5222 (__svfscanf_r): In integer conversions, leave out leading zeroes
5223 which are not part of a base prefix.
5224 Keep track of width truncation to fit into buf, not counting left-out
5225 zeroes against width till the truncation has been compensated for.
5226 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
5227
c00f9719
JJ
52282004-04-23 Jeff Johnston <jjohnstn@redhat.com>
5229
5230 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
5231
05b31577
JJ
52322004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5233
5234 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
5235 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
5236 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
5237 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
5238 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
5239 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
5240 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
5241 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
5242 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
5243 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
5244 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
5245 libc/stdio/getchar.c libc/stdio/getchar_u.c,
5246 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
5247 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
5248 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
5249 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
5250 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
5251 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
5252 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
5253 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
5254 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
5255 libc/stdio/siprintf.c libc/stdio/snprintf.c,
5256 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
5257 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
5258 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
5259 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
5260 libc/stdio/vprintf.c libc/stdio/vscanf.c,
5261 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
5262 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
5263 libc/stdio/wsetup.c: Perform minor formatting changes. Move
5264 copyright notices to top of file, ensure that <_ansi.h> is
5265 included, be consistent with open parentheses, use _DEFUN macro,
5266 include "local.h" where needed, and remove various compiler
5267 warnings.
5268
04e8fca1
JJ
52692004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
5270
5271 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
5272 (__svfscanf_r): In integer conversions, leave out leading zeroes
5273 which are not part of a base prefix.
5274 Keep track of width truncation to fit into buf, not counting left-out
5275 zeroes against width till the truncation has been compensated for.
5276
9090ec74
CV
52772004-04-20 Corinna Vinschen <corinna@vinschen.de>
5278
5279 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
5280
1c17deea
CV
52812004-04-20 Corinna Vinschen <corinna@vinschen.de>
5282
5283 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
5284
54c7940f
CV
52852004-04-10 Corinna Vinschen <corinna@vinschen.de>
5286
5287 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
5288 to SUSv3.
5289
47dcaf56
JJ
52902004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5291
5292 * libc/stdio/fclose.c (_fclose_r): New function.
5293 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
5294 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
5295 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
5296 * libc/include/stdio.h (_fclose_r): New prototype.
5297 * libc/stdio/fopen.c: Fix typo in comment.
5298
52992004-04-08 Jeff Johnston <jjohnstn@redhat.com>
5300
5301 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
5302 to handle _r reentrant functions.
5303
4121d8cf
JJ
53042004-04-08 Eric Christopher <echristo@redhat.com>
5305
5306 * libc/include/machine/setjmp.h: Fix endif locations.
5307
59c9f5f5
JJ
53082004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5309
5310 * libc/time/strptime.c: Add standard includes to avoid
5311 warning messages at compilation time.
5312
38f4f023
JJ
53132004-04-01 Jeff Johnston <jjohnstn@redhat.com>
5314
5315 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
5316 of file.
5317
53182004-03-30 Jeff Johnston <jjohnstn@redhat.com>
ed4c5ece
JJ
5319
5320 * libc/machine/h8300/Makefile.am: Reformat slightly.
5321 * libc/machine/h8300/Makefile.in: Regenerate.
5322
38f4f023 53232004-03-30 Thomas Pfaff <tpfaff@gmx.net>
cacc0d44
JJ
5324
5325 * libc/stdio/findfp.c (__fp_lock_all): Add call to
5326 __sfp_lock_acquire.
17c0c97d 5327 (__fp_unlock_all): Add call to __sfp_lock_release.
cacc0d44 5328
10dcf7e7
JJ
53292004-03-25 Thomas Pfaff <tpfaff@gmx.net>
5330
5331 * libc/stdio/fclose.c (fclose): Protect file pointer list when
5332 releasing a file.
5333 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
5334 fwalk.
5335 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
5336 _flockfile/_funlockfile.
5337 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
5338 to recursive.
5339 Change __lock_acquire/__lock_release calls for __sfp_lock to
5340 __sfp_lock_acquire/__sfp_lock_release throughout.
5341 (std): Make sure that file lock is only initialized once.
5342 (__sfp): Move _file initialization. Initialize file lock.
5343 (__sfp_lock_acquire): New function.
5344 (__sfp_lock_release): Ditto.
5345 (__fp_lock_all): Remove __sfp_lock_acquire call.
5346 (__fp_unlock_all): Remove __sfp_lock_release call.
5347 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
5348 Add calls to _flockfile/_funlockfile. Remove
5349 __lock_init_recursive call.
5350 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
5351 * libc/stdio/fwalk.c (__fwalk): New static function.
5352 (_fwalk): Protect file pointer list. Use __fwalk to walk through
5353 file pointers.
5354 * libc/stdio/local.h: Add defines for
5355 __sfp_lock_acquire/__sfp_lock_release when
5356 single threaded. Add function prototypes otherwise.
5357 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
5358 _flockfile/_funlockfile.
5359 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
5360 Add calls to _flockfile/_funlockfile. Remove
5361 __lock_init_recursive call.
5362 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
17c0c97d 5363 list.
10dcf7e7 5364
ec475b09
JJ
53652004-03-25 Jeff Johnston <jjohnstn@redhat.com>
5366
5367 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
5368 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
5369 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
5370 to be __LOCK_INIT_RECURSIVE.
5371
2c4ef10a
JJ
53722004-03-11 Kazu Hirata <kazu@cs.umass.edu>
5373
5374 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
5375 _exit.c with _exit.S.
5376 * libc/sys/h8300hms/Makefile.in: Regenerate.
5377 * libc/sys/h8300hms/_exit.c: Remove.
5378 * libc/sys/h8300hms/_exit.S: New.
5379
41c3da6a
JJ
53802004-03-09 Thomas Pfaff <tpfaff@gmx.net>
5381
5382 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
5383 Change __sfp_lock to static global.
5384 (__fp_lock): New static function.
5385 (__fp_unlock): Ditto.
5386 (__fp_lock_all): New function.
17c0c97d 5387 (__fp_unlock_all): Ditto.
41c3da6a 5388
0ccf5430
CF
53892004-02-10 Christopher Faylor <cgf@redhat.com>
5390
5391 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
5392 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
5393 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
5394 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
5395
3536f0fb
CF
53962004-02-09 Christopher Faylor <cgf@redhat.com>
5397
5398 * libc/include/time.h (TIMER_RELTIME): New define.
5399
6a6e493a
JJ
54002004-02-09 Jeff Johnston <jjohnstn@redhat.com>
5401
5402 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
5403 * libc/stdlib/Makefile.in: Regenerated.
5404
733309f5
CF
54052004-02-08 Christopher Faylor <cgf@redhat.com>
5406
5407 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
5408 * libc/include/sys/reent.h (__getreent): Protect against possibly being
5409 defined.
5410 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
5411
b4a84c66
JJ
54122004-02-05 Paul Brook <paul@codesourcery.com>
5413
17c0c97d 5414 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
b4a84c66
JJ
5415 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
5416
4669438f
JJ
54172004-02-02 Jeff Johnston <jjohnstn@redhat.com>
5418
5419 * NEWS: Update with 1.12.0 info.
5420 * README: Ditto.
5421 * acinclude.m4: Change version number to 1.12.0.
5422 * aclocal.m4: Regenerated.
5423 * configure: Ditto.
5424 * doc/aclocal.m4: Ditto.
5425 * doc/configure: Ditto.
5426 * libc/*/aclocal.m4: Ditto.
5427 * libc/*/configure: Ditto.
5428 * libc/libc.texinfo: Ditto.
5429 * libm/*/aclocal.m4: Ditto.
5430 * libm/*/configure: Ditto.
5431 * libm/libm.texinfo: Ditto.
5432 * libc/sys/linux/shared.ld: Add VERS_1.12.
5433
94d61fcb
JJ
54342004-02-02 Joel Sherrill <joel@oarcorp.com>
5435
5436 * configure.host: Add support for tic4x.
5437 * libc/include/machine/ieeefp.h: Ditto.
5438 * libc/include/machine/setjmp.h: Ditto.
5439 * libc/machine/tic4x/Makefile.am: New file.
5440 * libc/machine/tic4x/configure.in: Ditto.
5441 * libc/machine/tic4x/setjmp.S: Ditto.
5442 * libc/machine/tic4x/aclocal.m4: Generated.
5443 * libc/machine/tic4x/configure: Ditto.
5444 * libc/machine/tic4x/Makefile.in: Ditto.
5445
c730e0e7
JJ
54462004-01-30 Jeff Johnston <jjohnstn@redhat.com>
5447
5448 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
5449 file chain on the passed in reentrancy struct if it
5450 is _GLOBAL_REENT.
5451
2892ec68 54522004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
ba3ccd63 5453 Jeff Johnston <jjohnstn@redhat.com>
2892ec68
JJ
5454
5455 * libc/iconv/iconv.tex: Updated with more information.
5456
ff41498a 54572004-01-30 Thomas Pfaff <tpfaff@gmx.net>
ba3ccd63 5458 Jeff Johnston <jjohnstn@redhat.com>
ff41498a
JJ
5459
5460 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
5461 struct for std streams and traverse the global reeentrancy
5462 struct for all other streams.
5463
d5b6c234
JJ
54642004-01-27 Jeff Johnston <jjohnstn@redhat.com>
5465
5466 * libc/stdlib/atexit.c: Protect global atexit list with a
5467 lock when newlib is multithreaded.
5468
01e0a777
JJ
54692004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5470
5471 * configure.in: Add support to generate iconv converter flags
5472 for newlib.h
5473 * newlib.hin: Add iconv converter flags.
5474 * configure: Regenerated.
5475 * libc/Makefile.in: Ditto.
5476 * libc/configure.in: Moved iconv converter parsing logic to
5477 top level newlib configure.in.
5478 * libc/configure: Regenerated.
5479 * libc/iconv/Makefile.in: Ditto.
5480 * libc/iconv/README.TODO
5481 * libc/iconv/charset.aliases: Remove wrong BE aliases for
5482 UCS2/UCS4/UTF8.
5483 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
5484 newlib.h can be used.
5485 * libc/iconv/ces/Makefile.am: Ditto.
5486 * libc/iconv/lib/Makefile.am: Ditto.
5487 * libc/iconv/ccs/Makefile.in: Regenerated.
5488 * libc/iconv/ces/Makefile.in: Ditto.
5489 * libc/iconv/lib/Makefile.in: Ditto.
5490 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
5491 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
5492 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
5493 defined in newlib.h.
5494 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
5495 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
5496 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
5497 * libc/iconv/ccs/cp775.c: Ditto.
5498 * libc/iconv/ccs/cp850.c: Ditto.
5499 * libc/iconv/ccs/cp852.c: Ditto.
5500 * libc/iconv/ccs/cp855.c: Ditto.
5501 * libc/iconv/ccs/cp866.c: Ditto.
5502 * libc/iconv/ccs/gb_2312_80.c: Ditto.
5503 * libc/iconv/ccs/iso_8859_1.c: Ditto.
5504 * libc/iconv/ccs/iso_8859_15.c: Ditto.
5505 * libc/iconv/ccs/iso_8859_2.c: Ditto.
5506 * libc/iconv/ccs/iso_8859_4.c: Ditto.
5507 * libc/iconv/ccs/iso_8859_5.c: Ditto.
5508 * libc/iconv/ccs/jis_x0201.c: Ditto.
5509 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
5510 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
5511 * libc/iconv/ccs/koi8_r.c: Ditto.
5512 * libc/iconv/ccs/koi8_u.c: Ditto.
5513 * libc/iconv/ccs/ksx1001.c: Ditto.
5514 * libc/iconv/ccs/shift_jis.c: Ditto.
5515 * libc/iconv/ccs/us_ascii.c: Ditto.
5516 * libc/iconv/ccs/binary/big5.cct: Newly generated.
5517 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
5518 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
5519 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
5520 * libc/iconv/ccs/binary/cp775.cct: Ditto.
5521 * libc/iconv/ccs/binary/cp850.cct: Ditto.
5522 * libc/iconv/ccs/binary/cp852.cct: Ditto.
5523 * libc/iconv/ccs/binary/cp855.cct: Ditto.
5524 * libc/iconv/ccs/binary/cp866.cct: Ditto.
5525 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
5526 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
5527 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
5528 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
5529 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
5530 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
5531 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
5532 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
5533 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
5534 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
5535 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
5536 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
5537 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
5538 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
5539 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
5540 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
5541 * libc/iconv/ces/euc-kr.c: Ditto.
5542 * libc/iconv/ces/euc-tw.c: Ditto.
5543 * libc/iconv/ces/gb2312.c: Ditto.
5544 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
5545 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
5546 * libc/iconv/ces/ucs-2-internal.c: Ditto.
5547 * libc/iconv/ces/ucs-4-internal.c: Ditto.
5548 * libc/iconv/ces/utf-16.c: Ditto.
5549 * libc/iconv/ces/utf-8.c: Ditto.
5550 * libc/iconv/lib/aliases.c: Ditto.
5551 * libc/iconv/lib/biccs.c: Ditto.
5552 * libc/iconv/lib/bices.c: Ditto.
5553 * libc/iconv/lib/ccs.c: Ditto.
5554 * libc/iconv/lib/ces.c: Ditto.
5555 * libc/iconv/lib/ces_euc.c: Ditto.
5556 * libc/iconv/lib/ces_iso2022.c: Ditto.
5557 * libc/iconv/lib/ces_table.c: Ditto.
5558 * libc/iconv/lib/converter.c: Ditto.
5559 * libc/iconv/lib/deps.h: Ditto.
5560 * libc/iconv/lib/endian.h: Ditto.
5561 * libc/iconv/lib/iconv.c: Ditto.
5562 * libc/iconv/lib/loaddata.c: Ditto.
5563 * libc/iconv/lib/local.h: Include newlib.h.
5564 * libc/argz/Makefile.in: Regenerated.
5565 * libc/ctype/Makefile.in: Ditto.
5566 * libc/errno/Makefile.in: Ditto.
5567 * libc/iconv/ccs/binary/Makefile.in: Ditto.
5568 * libc/locale/Makefile.in: Ditto.
5569 * libc/misc/Makefile.in: Ditto.
5570 * libc/posix/Makefile.in: Ditto.
5571 * libc/reent/Makefile.in: Ditto.
5572 * libc/search/Makefile.in: Ditto.
5573 * libc/signal/Makefile.in: Ditto.
5574 * libc/stdio/Makefile.in: Ditto.
5575 * libc/stdio64/Makefile.in: Ditto.
5576 * libc/stdlib/Makefile.in: Ditto.
5577 * libc/string/Makefile.in: Ditto.
5578 * libc/syscalls/Makefile.in: Ditto.
5579 * libc/time/Makefile.in: Ditto.
5580 * libc/unix/Makefile.in: Ditto.
5581 * testsuite/newlib.iconv/iconv.exp: New file.
5582 * testsuite/newlib.iconv/iconvjp.c: Ditto.
5583 * testsuite/newlib.iconv/iconvnm.c: Ditto.
5584 * testsuite/newlib.iconv/iconvru.c: Ditto.
5585
786ab12c
JJ
55862004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5587
5588 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
5589 (--enable-newlib-builtin-converters): Ditto.
5590 * configure.in: Add code to set _ICONV_ENABLED flag.
5591 Set _MB_LEN_MAX to 1 if not mb enabled.
5592 * configure: Regenerated.
5593 * aclocal.m4: Ditto.
5594 * Makefile.in: Ditto.
5595 * newlib.hin: Add _ICONV_ENABLED flag.
5596 * libc/Makefile.am: Add support for iconv.
5597 * libc/configure.in: Ditto.
5598 * libc/Makefile.in: Regenerated.
5599 * libc/aclocal.m4: Ditto.
5600 * libc/configure: Ditto.
5601 * libc/libc.texinfo: Add iconv documentation.
5602 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
5603 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
5604 libc/iconv/README.TODO, libc/iconv/charset.aliases,
5605 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
5606 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
5607 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
5608 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
5609 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
5610 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
5611 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
5612 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
5613 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
5614 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
5615 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
5616 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
5617 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
5618 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
5619 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
5620 libc/iconv/ccs/binary/big5.cct,
5621 libc/iconv/ccs/binary/cns11643_plane1.cct,
5622 libc/iconv/ccs/binary/cns11643_plane14.cct,
5623 libc/iconv/ccs/binary/cns11643_plane2.cct,
5624 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
5625 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
5626 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
5627 libc/iconv/ccs/binary/iso_8859_1.cct,
5628 libc/iconv/ccs/binary/iso_8859_15.cct,
5629 libc/iconv/ccs/binary/iso_8859_2.cct,
5630 libc/iconv/ccs/binary/iso_8859_4.cct,
5631 libc/iconv/ccs/binary/iso_8859_5.cct,
5632 libc/iconv/ccs/binary/jis_x0201.cct,
5633 libc/iconv/ccs/binary/jis_x0208_1983.cct,
5634 libc/iconv/ccs/binary/jis_x0212_1990.cct,
5635 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
5636 libc/iconv/ccs/binary/ksx1001.cct,
5637 libc/iconv/ccs/binary/shift_jis.cct,
5638 libc/iconv/ccs/binary/us_ascii.cct,
5639 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
5640 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
5641 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
5642 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
5643 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
5644 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
5645 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
5646 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
5647 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
5648 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
5649 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
5650 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
5651 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
5652 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
5653 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
5654 * libc/sys/linux/include/iconv.h: Ditto.
5655 * libc/include/sys/_types.h (_iconv_t): Added.
5656 * doc/aclocal.m4: Regenerated.
5657 * doc/configure: Ditto.
5658 * doc/Makefile.in: Ditto.
5659 * iconvdata/Makefile.in: Ditto.
5660 * iconvdata/aclocal.m4: Ditto.
5661 * iconvdata/configure: Ditto.
5662 * libc/*aclocal.m4: Ditto.
5663 * libc/*Makefile.in: Ditto.
5664 * libc/*configure: Ditto.
5665 * libm/*aclocal.m4: Ditto.
5666 * libm/*Makefile.in: Ditto.
5667 * libm/*configure: Ditto.
5668
ed1a95dc
JJ
56692004-01-22 Thomas Pfaff <tpfaff@gmx.net>
5670
5671 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
17c0c97d 5672 by a lock when newlib is multithreaded.
ed1a95dc 5673
7d4be1ef
JJ
56742004-01-21 Jeff Johnston <jjohnstn@redhat.com>
5675
5676 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
5677 pointer to match C99 spec.
5678 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
5679 dst is NULL. Also fix to not alter src pointer when dst is NULL
5680 and call _mbrtowc_r instead of _mbtowc_r.
5681 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
5682 of _wctomb_r.
5683
403f752c
JJ
56842004-01-19 Thomas Pfaff <tpfaff@gmx.net>
5685
5686 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
5687 * libc/stdio/freopen.c (freopen): Ditto.
5688
85b6d63b
CF
56892004-01-16 Christopher Faylor <cgf@redhat.com>
5690
5691 * libc/stdio/vfprintf.c: Add sys/lock.h include.
5692
4af71a91
JJ
56932004-01-16 Thomas Pfaff <tpfaff@gmx.net>
5694
5695 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
5696 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
5697 Add calls to __lock_init_recursive and __lock_close_recursive
5698 instead.
5699
6a150987
JJ
57002004-01-15 Thomas Pfaff <tpfaff@gmx.net>
5701
5702 * libc/stdio/fclose.c: Include sys/lock.h.
5703 (fclose): Destroy lock when file is closed.
5704 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
5705 member.
5706 * libc/stdio/freopen.c: Include sys/lock.h.
5707 (_freopen_r): Destroy lock when file is closed.
5708 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
5709 _lock member.
5710
c9524c0c
JJ
57112004-01-08 Joel Sherrill <joel@oarcorp.com>
5712
ba3ccd63
EB
5713 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
5714 Remove warnings.
c9524c0c 5715
9f13ccb3
JJ
57162004-01-08 Joel Sherrill <joel@oarcorp.com>
5717
ba3ccd63
EB
5718 * libc/sys/rtems/sys/queue.h: New file.
5719 * libc/include/sys/signal.h: Reflect renumbering of signals to
5720 fit into 32-bit mask.
5721 * libc/include/sys/unistd.h: Add fdatasync() prototype.
5722 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
5723 required. In particular, add the reentrant variants of libc calls.
5724 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
9f13ccb3 5725
9488c414
JJ
57262004-01-06 Mark Mitchell <mark@codesourcery.com>
5727
5728 * libc/sys/arm/syscalls.c (unistd.h): Include it.
5729 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
5730 Similarly for stdout and stderr.
5731
5125f919
JJ
57322004-01-06 Jeff Johnston <jjohnstn@redhat.com>
5733
5734 * libc/libc.texinfo: Correct escape character for @ sign
5735 so file will be processed by make info. Update copyright years.
5736 * libm/libm.texinfo: Ditto.
5737
9fc92ceb
JJ
57382003-12-05 Jeff Johnston <jjohnstn@redhat.com>
5739
5740 * libc/include/sys/stat.h: No longer include stat-dj.h.
5741 * libc/include/sys/stat-dj.h: Removed.
5742
25c7dad1
JJ
57432003-12-05 Jeff Johnston <jjohnstn@redhat.com>
5744
5745 * libc/include/wchar.h: Include <sys/reent.h>.
5746
576593dd
CF
57472003-12-05 Christopher Faylor <cgf@redhat.com>
5748
5749 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
5750 when defining _mbrtowc.
5751 * libc/stdlib/mbsinit.c: Ditto.
5752 * libc/stdlib/mbsrtowcs.c: Ditto.
5753 * libc/stdlib/wcrtomb.c: Ditto.
5754 * libc/stdlib/wcsrtombs.c: Ditto.
5755 * libc/stdlib/wctob.c: Ditto.
5756
57572003-12-05 Christopher Faylor <cgf@redhat.com>
5758
5759 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
5760 errors when defining _mbrtowc.
5761 * libc/stdlib/mbsinit.c: Ditto.
5762 * libc/stdlib/mbsrtowcs.c: Ditto.
5763
4c889d62
CF
57642003-12-05 Christopher Faylor <cgf@redhat.com>
5765
5766 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
5767 errors when defining _mbrtowc.
5768
5d109bde
JJ
57692003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5770
5771 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
5772 of mb routines for %lc and %ls support.
5773 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
5774 %ls, and %S support. Remove CYGNUS_NEC markers and
5775 code within.
5776
3aca0888
JJ
57772003-12-04 Jeff Johnston <jjohnstn@redhat.com>
5778
5779 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
5780 _wcrtomb_r, and _wcsrtombs_r.
5781
18dcb167
CV
57822003-12-01 Corinna Vinschen <corinna@vinschen.de>
5783
5784 * libc/include/sys/fcntl.h: Don't define struct flock when on
5785 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
5786
93f8e673
CF
57872003-11-28 Christopher Faylor <cgf@redhat.com>
5788
5789 * libc/include/sys/signal.h: Use system specific signal file when
5790 building on cygwin.
5791
cc2a11e0
JJ
57922003-11-27 Jeff Johnston <jjohnstn@redhat.com>
5793
5794 * libc/include/stdlib.h (_atoi_r): New prototype.
5795 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
5796
83bf7d2f
JJ
57972003-11-27 Jeff Johnston <jjohnstn@redhat.com>
5798
5799 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
5800 * libc/stdlib/atol.c (_atol_r): New reentrant function.
5801 * libc/stdlib/atoll.c (_atoll_r): Ditto.
5802
5d109bde 58032003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6bbb700c
JJ
5804 Jeff Johnston <jjohnstn@redhat.com>
5805
5806 * libc/include/stdlib.h (lldiv_t): New type.
5807 (atoll, llabs, lldiv): New prototypes.
5808 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
5809 * libc/stdlib/stdlib.tex: Ditto.
5810 * libc/stdlib/Makefile.in: Regenerated.
5811 * libc/stdlib/atoll.c: New file.
5812 * libc/stdlib/llabs.c: Ditto.
5813 * libc/stdlib/lldiv.c: Ditto.
5814
0a707c79
JJ
58152003-11-26 Corinna Vinschen <corinna@vinschen.de>
5816
5817 * libc/include/fcntl.h: Declare syscalls only when building newlib.
5818 * libc/include/unistd.h: Ditto.
5819 * libc/include/stat.h: Ditto. Also declare struct stat64.
5820
5d109bde 58212003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6db165c2
JJ
5822
5823 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
5824 specifier to use ch instead of *fmt.
5825
5d109bde 58262003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
759a097e
JJ
5827
5828 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
5829 code within checks for MB_CAPABLE. For non-mb-capable platforms,
5830 use simple byte logic.
5831
4f6149d6
JJ
58322003-11-21 Jeff Johnston <jjohnstn@redhat.com>
5833
5834 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
5835 _strtold routine for processing floats and doubles since it
5836 is not as fast as _strtod_r.
5837
17c0c97d 58382003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
7343eefb 5839
17c0c97d 5840 * libc/machine/h8300/defines.h : Correct pointer register defines
7343eefb 5841 for normal mode.
17c0c97d 5842 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
7343eefb
JJ
5843 for normal mode.
5844 * libc/machine/h8300/reg_memcpy.S : Likewise.
5845 * libc/machine/h8300/reg_memset.S : Likewise.
5846 * libc/machine/h8300/strcmp.S : Likewise.
5847
64cfc6f2
JJ
58482003-11-19 Nicholas Wourms <nwourms@netscape.net>
5849
5850 * configure.host: Enable positional arguments for printf
5851 family for Cygwin.
5852 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
5853 pointer reference for quad_ptr_t.
5854
e1dc8171
JJ
58552003-11-19 Jeff Johnston <jjohnstn@redhat.com>
5856
5857 * libc/stdio/scanf.c: Don't include local.h more than once.
5858
a472290f
JJ
58592003-11-18 Corinna Vinschen <corinna@vinschen.de>
5860
5861 * libc/include/sys/fcntl.h: Declare _open64.
5862 * libc/include/sys/stat.h: Declare _fstat64.
5863 * libc/include/sys/unistd.h: Declare _lseek64.
5864
a2f1155c
CV
58652003-11-17 Corinna Vinschen <corinna@vinschen.de>
5866
5867 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
5868 (setprogname): Ditto.
5869
030441fc
JJ
58702003-11-10 Jeff Johnston <jjohnstn@redhat.com>
5871
5872 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
5873 to use (Ebits + 1) which accounts for the sign-bit.
5874
fe359733
JJ
58752003-11-07 Jeff Johnston <jjohnstn@redhat.com>
5876
17c0c97d 5877 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
fe359733
JJ
5878 x86 build.
5879 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
5880 and set up default flags to pass to aclocal.
5881 * iconvdata/Makefile.in: Regenerated.
5882 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
5883 and getpwuid routines.
5884 * libc/sys/linux/Makefile.in: Regenerated.
5885 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
5886 applications to link with newlib's shared libc library.
5887 * libc/sys/linux/getpwnam.c: Ditto.
5888 * libc/sys/linux/getpwuid.c: Ditto.
5889 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
5890 that were formerly supplied by /usr/include/linux/types.h with
5891 kernel types.
5892 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
5893 test _ELIX_LEVEL macro.
5894
2985521f
JJ
58952003-11-07 Jeff Johnston <jjohnstn@redhat.com>
5896
5897 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
5898 referring to _NO_LONGLONG macro.
5899
dcad6a89
JJ
59002003-11-06 Jeff Johnston <jjohnstn@redhat.com>
5901
5902 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
5903 in LOG() macro so this will compile on gcc 3.4 and up.
5904 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
5905 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
5906 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
5907 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
5908 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
5909 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
5910 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
5911 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
5912 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
5913 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
5914 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
5915 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
5916 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
5917 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
5918 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
5919 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
5920 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
5921 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
5922 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
5923 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
5924 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
5925 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
5926 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
5927 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
5928 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
5929 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
5930 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
5931 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
5932 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
5933 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
5934 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
5935 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
5936 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
5937 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
5938 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
5939 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
5940
d2ffac09 59412003-11-05 Jeff Johnston <jjohnstn@redhat.com>
ba3ccd63 5942 Artem B. Bityuckiy <abitytsky@softminecorp.com>
d2ffac09
JJ
5943
5944 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
5945 %ls, %S, %lc, and %C format specifiers.
5946 (get_arg): Ditto.
5947 * libc/stdio/sprintf.c: Add documentation regarding new
5948 format specifiers added in vfprintf.c.
5949
da2d1227
JJ
59502003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5951
5952 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
5953 to make code work as specified in standard.
5954
3ef05bac
JJ
59552003-10-23 Jeff Johnston <jjohnstn@redhat.com>
5956
5957 * configure.in: Use absolute newlib basedir when forming
5958 CC_FOR_NEWLIB include options.
5959 * configure: Regenerated.
5960
5d109bde 59612003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4340b63b
JJ
5962
5963 * libc/string/wcsnlen.c: New file.
5964 * libc/include/wchar.h: Add wcsnlen prototype.
5965 * libc/string/Makefile.am: Add wcsnlen support.
5966 * libc/string/Makefile.in: Regenerated.
5967 * libc/string/wcstrings.tex: Add wcsnlen documentation.
5968
63a823f8
RS
59692003-10-22 Richard Sandiford <rsandifo@redhat.com>
5970
5971 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
5972
76a7df52
JJ
59732003-10-20 Bob Wilson <bob.wilson@acm.org>
5974
5975 * libc/locale/locale.c: Use double quotes in code.
5976 * libc/locale/locale.tex: Likewise.
5977 * libc/libc.texinfo: Hyphenate "floating-point".
5978 * libc/machine/necv70/necv70.tex: Likewise.
5979 * libc/stdio/sprintf.c: Likewise.
5980 * libc/stdio/sscanf.c: Likewise.
5981 * libc/stdlib/atof.c: Likewise.
5982 * libc/stdlib/ldtoa.c: Fix comment typo.
5983 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
5984 * libc/stdlib/ldiv.c: Likewise.
5985 * libm/common/s_expm1.c: Likewise.
5986 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
5987 * libm/common/s_infinity: Hyphenate "double- and single-precision".
5988 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
5989 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
5990 and "floating-point".
5991 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
5992 * libm/math/e_pow.c: Fix comment typo.
5993 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
5994 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
5995 * libm/math/s_atan.c: Likewise.
5996 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
5997 * libm/math/s_isnan.c: Hyphenate "single-precision" and
5998 "floating-point". Use "nonzero".
5999 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
6000 * libm/math/w_acos.c: Likewise.
6001 * libm/math/w_acosh.c: Likewise.
6002 * libm/math/w_asin.c: Likewise.
6003 * libm/math/w_atan2.c: Likewise.
6004 * libm/math/w_atanh.c: Likewise.
6005 * libm/math/w_cosh.c: Likewise.
6006 * libm/math/w_exp.c: Likewise.
6007 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
6008 version of 2^x in the description.
6009 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
6010 * libm/math/w_gamma.c: Likewise.
6011 * libm/math/w_hypot.c: Likewise.
6012 * libm/math/w_j0.c: Likewise.
6013 * libm/math/w_sinh.c: Likewise.
6014 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
6015 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
6016 "floating-point".
6017 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
6018 * libm/mathfp/e_atanh.c: Likewise.
6019 * libm/mathfp/e_hypot.c: Likewise.
6020 * libm/mathfp/er_lgamma.c: Likewise.
6021 * libm/mathfp/s_acos.c: Likewise.
6022 * libm/mathfp/s_asine.c: Likewise.
6023 * libm/mathfp/s_asinh.c: Likewise.
6024 * libm/mathfp/s_atan.c: Likewise.
6025 * libm/mathfp/s_atan2.c: Likewise.
6026 * libm/mathfp/s_atangent.c: Likewise.
6027 * libm/mathfp/s_cosh.c: Likewise.
6028 * libm/mathfp/s_exp.c: Likewise.
6029 * libm/mathfp/s_fmod.c: Likewise.
6030 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
6031 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
6032 "floating-point". Use "nonzero".
6033 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
6034 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
6035 * libm/mathfp/s_sineh.c: Likewise.
6036 * libm/mathfp/w_jn.c: Likewise.
6037
b11926e7
JJ
60382003-10-15 Alexandre Oliva <aoliva@redhat.com>
6039
6040 * Makefile.am: Add $(MAKE) comments to multido and multiclean
6041 lines, to enable parallel make.
6042 * Makefile.in: Rebuilt.
6043
31271d5c
CF
60442003-10-14 Christopher Faylor <cgf@redhat.com>
6045
6046 * libc/time/clock.c: Clarify documentation of return value when no
6047 measurement is available.
6048
bc707cbd
JJ
60492003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
6050
6051 * libm/configure.in: Check libm_machine_dir, not machine_dir.
6052 * libm/configure: Regenerate.
6053 * libm/Makefile.in: Ditto.
6054
f4b10605
JR
60552003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
6056
6057 * libc/machine/sh/strncpy.S: New file.
6058 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
6059 * libc/machine/sh/Makefile.in: Regenerate.
6060
ce044d8f
JW
60612003-09-11 James E Wilson <wilson@specifixinc.com>
6062
6063 * MAINTAINERS: Update my e-mail address.
6064
080ef411
CV
60652003-09-10 Corinna Vinschen <corinna@vinschen.de>
6066
6067 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
6068
3a767b69
JJ
60692003-09-09 Jeff Johnston <jjohnstn@redhat.com>
6070
080ef411
CV
6071 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
6072 prototype.
6073 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
6074 _simdldcheck(). Also add unsigned cast for index variable in
6075 for loop using sizeof operators.
6076 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
6077 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
6078 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
6079 plus fix shift calculation for determining if there is a
6080 carry from word2.
3a767b69 6081
84154fcc
CV
60822003-09-09 Corinna Vinschen <corinna@vinschen.de>
6083
6084 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
6085 setgroupent for Cygwin.
6086
f1b15058
JJ
60872003-09-05 Jeff Johnston <jjohnstn@redhat.com>
6088
6089 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
6090 is different for _REENT_SMALL than when using regular reent
6091 struct.
6092
cf88c20f 60932003-09-05 Ben Elliston <bje@wasabisystems.com>
0a8fd4dc 6094
b73263e4
BE
6095 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
6096 modern versions of GCC issue a warning.
6097
0a8fd4dc
BE
6098 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
6099 after continuation characters that induces a warning from modern
6100 versions of GCC.
6101
10a32423
BE
61022003-09-04 Ben Elliston <bje@wasabisystems.com>
6103
6104 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
6105 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
6106
ed027a53
JJ
61072003-09-02 Thomas Pfaff <tpfaff@gmx.net>
6108
6109 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
6110 * libc/stdlib/exit.c : Ditto.
6111 * libc/stdlib/on_exit.c: Ditto.
6112
880fa247
JJ
61132003-08-27 Corinna Vinschen <corinna@vinschen.de>
6114
6115 * libc/include/reent.h: Define stat64 as __stat64 when
6116 compiling newlib for Cygwin.
6117
54c1d7ea
JJ
61182003-08-26 Jeff Johnston <jjohnstn@redhat.com>
6119
6120 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
6121 __stat64 when compiling newlib.
6122
0eca0750
JJ
61232003-08-26 Jeff Johnston <jjohnstn@redhat.com>
6124
6125 * libc/include/stdio.h: Allow the io64 function prototypes for
6126 Cygwin when compiling newlib.
6127 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
6128 to expose the Cygwin struct __stat64 type.
6129 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
6130 pointer.
6131 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
6132
9d4aef19
CF
61332003-08-23 Christopher Faylor <cgf@redhat.com>
6134
6135 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
6136 definition to fseeko64.
6137
9fc9e1c9
JJ
61382003-08-22 Jeff Johnston <jjohnstn@redhat.com>
6139
6140 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
6141 * libc/stdio: Globally remove/replace all references to fp->_data.
6142 Replace with _REENT or _GLOBAL_REENT where appropriate.
6143 * libc/stdio/asprintf.c: Ditto.
6144 * libc/stdio/fclose.c: Ditto.
6145 * libc/stdio/fvwrite.c: Ditto.
6146 * libc/stdio/makebuf.c: Ditto.
6147 * libc/stdio/refill.c: Ditto.
6148 * libc/stdio/local.h: Ditto.
6149 * libc/stdio/setvbuf.c: Ditto.
6150 * libc/stdio/sscanf.c: Ditto.
6151 * libc/stdio/stdio.c: Ditto.
6152 * libc/stdio/ungetc.c: Ditto.
6153 * libc/stdio/vfscanf.c: Ditto.
6154 * libc/stdio/vsscanf.c: Ditto.
6155 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
6156 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
6157 * libc/stdio/vsnprintf.c: Ditto.
6158 * libc/stdio/vsprintf.c: Ditto.
6159 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
6160 instead of _REENT to walk file list.
6161 * libc/stdio/fflush.c: Ditto.
6162 * libc/stdio/fgetpos.c: Add reentrant version and have regular
6163 version call reentrant version with _REENT argument.
6164 * libc/stdio/fsetpos.c: Ditto.
6165 * libc/stdio/fseek.c: Ditto.
6166 * libc/stdio/fseeko.c: Ditto.
6167 * libc/stdio/ftell.c: Ditto.
6168 * libc/stdio/ftello.c: Ditto.
6169 * libc/stdio/freopen.c: Ditto.
6170 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
6171 new files to chain. Also use _GLOBAL_REENT pointer for
6172 cleaning up.
6173 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
6174 * libc/stdio/siprintf.c: Ditto.
6175 * libc/stdio/iprintf.c: Ditto.
6176 * libc/stdio/fprintf.c: Ditto.
6177 * libc/stdio/printf.c: Ditto.
6178 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
6179 * libc/stdio/sprintf.c: Ditto.
6180 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
6181 * libc/stdio/rewind.c: Call _fseek_r directly.
6182 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
6183 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
6184 data pointer.
6185 (get_arg): Add extra struct _reent pointer argument.
6186 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
6187 to fp->_data.
6188 * libc/stdio64/fopen64.c: Ditto.
6189 * libc/stdio64/freopen64.c: Ditto.
6190 * libc/stdio64/fsetpos64.c: Ditto.
6191 * libc/stdio64/ftello64.c: Ditto.
6192 * libc/stdio64/local64.h: Ditto.
6193 * libc/stdio64/stdio64.c: Ditto.
6194 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
6195 _fstat64_r for the meantime.
6196
8f021114
JJ
61972003-08-19 Jeff Johnston <jjohnstn@redhat.com>
6198
6199 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
6200 overflow detection.
17c0c97d 6201
db979bb4 62022003-08-13 Aldy Hernandez <aldyh@redhat.com>
17c0c97d 6203
db979bb4
JJ
6204 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
6205 extern "C".
6206
6efbdc7d
JJ
62072003-08-13 Jeff Johnston <jjohnstn@redhat.com>
6208
6209 * libc/include/math.h: Add prototypes for __signbitf and
6210 __signbitd.
6211
e895fc20
JJ
62122003-07-31 Jeff Johnston <jjohnstn@redhat.com>
6213
6214 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
6215 correct type of conversion when dealing with EUCJP or SJIS.
6216 * libc/ctype/iswblank.c: Ditto.
6217 * libc/ctype/iswcntrl.c: Ditto.
6218 * libc/ctype/iswprint.c: Ditto.
6219 * libc/ctype/iswpunct.c: Ditto.
6220 * libc/ctype/iswspace.c: Ditto.
6221 * libc/ctype/towlower.c: Ditto.
6222 * libc/ctype/towupper.c: Ditto.
6223
0302dfe5
NC
62242003-07-31 Nick Clifton <nickc@redhat.com>
6225
6226 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
6227 before calling main, in case it saves its argument registers.
ba3ccd63
EB
6228 Remove reference to deleted v850ea port.
6229 * configure.host: Remove reference to deleted v850ea port.
6230 Do not use -mv850 when building for v850e target. This
0302dfe5
NC
6231 prevents the ctbp system register from being initialised.
6232
42de5592
JJ
62332003-07-29 Honda Hiroki <hhonda@ipflex.com>
6234
6235 * libc/stdio/vfprintf.c: Set output size to 1 when
6236 we have %f format with precision 0 and # flag not specified.
6237
e5de27b6
AO
62382003-07-29 Alexandre Oliva <aoliva@redhat.com>
6239
6240 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
6241 .am33_2.
6242
3c98a593
CF
62432003-07-25 Christopher Faylor <cgf@redhat.com>
6244
6245 * libc/stdio64/fdopen64.c: Include sys/lock.h.
6246
e222bf67
CF
62472003-07-25 Christopher Faylor <cgf@redhat.com>
6248
6249 * configure.host: Find cygwin include directory, when appropriate.
6250
03536757
CF
62512003-07-24 Christopher Faylor <cgf@redhat.com>
6252
6253 * libc/stdio64/fdopen64.c: New file.
6254 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
6255 * libc/stdio64/Makefile.in: Regenerate.
6256 * libc/include/stdio.h (fdopen64): Define.
6257 * libc/include/stdio.h (_fdopen64_r): Ditto.
6258
18072a4f
AO
62592003-07-10 Alexandre Oliva <aoliva@redhat.com>
6260
6261 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
6262 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
6263 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
6264 restore callee-saved FP registers.
6265
e0bec12f
JR
62662003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
6267
6268 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
6269 for __sh__.
6270 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
6271 truncate.c.
6272 * libc/sys/sh/Makefile.in: Regenerate.
6273 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
6274 * libc/sys/sh/ftruncate.c: New file.
6275 * libc/sys/sh/truncate.c: Likewise.
6276
03d65dd9
AO
62772003-07-09 Alexandre Oliva <aoliva@redhat.com>
6278
6279 * libc/include/math.h (nan, nanf): Update prototype to C99.
6280 * libm/common/s_nan.c (nan): Likewise.
6281 * libm/common/s_nanf.c (nanf, nan): Likewise.
6282 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
6283
74aa9d7d
JJ
62842003-07-07 Jeff Johnston <jjohnstn@redhat.com>
6285
6286 * libc/include/stdbool.h: Removed as this is defined by gcc.
6287
0a447ef3
JJ
62882003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
6289
6290 * libc/include/stdbool.h: New header file defined by C99.
6291
282eff9a
JJ
62922003-07-02 Jeff Johnston <jjohnstn@redhat.com>
6293
6294 * libc/include/sys/types.h (int8_t): Make signed.
6295
4e989b11
JJ
62962003-07-02 Jeff Johnston <jjohnstn@redhat.com>
6297
6298 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
6299
07b40cf8
JJ
63002003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
6301
6302 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
6303 on if we actually created the shared memory file exclusively.
6304
7daa7891
JJ
63052003-06-27 Joe Vornehm <joev@mitre.org>
6306
6307 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
6308 comparisons to account for unsigned internal value w.
6309
51fa7562
JJ
63102003-06-26 Jeff Johnston <jjohnstn@redhat.com>
6311
6312 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
6313 wrbuf for a non-creating open.
6314
b8f7ea5c
JJ
63152003-06-24 Kazu Hirata <kazu@cs.umass.edu>
6316
6317 * libc/machine/h8300/setarch.h: New.
6318 * libc/machine/h8300/memcpy.S: Use it.
6319 * libc/machine/h8300/memset.S: Likewise.
6320 * libc/machine/h8300/reg_memcpy.S: Likewise.
6321 * libc/machine/h8300/reg_memset.S: Likewise.
6322 * libc/machine/h8300/setjmp.S: Likewise.
6323 * libc/machine/h8300/strcmp.S: Likewise.
6324
6d7ea52a
RS
63252003-06-24 Richard Sandiford <rsandifo@redhat.com>
6326
6327 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
6328 to atexit().
6329
5a74f2aa
JJ
63302003-06-20 Jeff Johnston <jjohnstn@redhat.com>
6331
6332 * configure.host (iq2000): Add tabs.
6333
8266e478
JJ
63342003-06-20 Jeff Johnston <jjohnstn@redhat.com>
6335
6336 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
6337 to handle latest on_exit change.
6338 * libc/sys/linux/Makefile.am: Remove special compilation
6339 for malloc.c and mcheck.c.
6340 * libc/sys/linux/Makefile.in: Regenerated.
6341 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
6342 after including <features.h>.
6343 * libc/sys/linux/mcheck.c: Ditto.
6344 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
6345 for <features.h>.
6346 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
6347 add -DNOT_IN_libc to C flags.
6348 * libc/sys/linux/intl/Makefile.in: Regenerated.
6349 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
6350 * libc/sys/linux/linuxthreads/semaphore.h: Include
6351 <bits/pthreadtypes.h>.
6352 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
6353 including <features.h>.
6354 * libc/sys/linux/sys/lock.h: Ditto.
6355
0efe117b
NC
63562003-06-11 Nick Clifton <nickc@redhat.com>
6357
6358 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
6359 _on_exit_args_ptr.
6360
bfdfd7e6 63612003-06-10 Stan Cox <scox@redhat.com>
ba3ccd63 6362 Anthony Green <green@redhat.com>
17c0c97d 6363
bfdfd7e6
AG
6364 * configure.host: Add iq2000 support.
6365 * newlib/libc/include/machine/ieeefp.h: Ditto.
6366 * newlib/libc/include/machine/setjmp.h: Ditto.
6367 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
6368 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
6369 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
6370 libc/machine/iq2000/Makefile.in: New files.
6371
d9e4104b
RS
63722003-06-10 Richard Sandiford <rsandifo@redhat.com>
6373
6374 * libc/sys/h8300hms/setarch.h: New file.
6375 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
6376 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
6377 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
6378 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
6379
729d1ff9
JJ
63802003-06-06 Jeff Johnston <jjohnstn@redhat.com>
6381
ba3ccd63
EB
6382 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
6383 definition.
6384 * libc/argz/argz_add_sep.c: Ditto.
6385 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
6386 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
6387 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
6388 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
6389 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
6390 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
6391 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
6392 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
6393 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
6394 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
6395 * libc/posix/execl.c libc/posix/execle.c: Ditto.
6396 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
6397 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
6398 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
6399 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
6400 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
6401 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
6402 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
6403 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
6404 * libc/search/twalk.c libc/signal/signal.c: Ditto.
729d1ff9 6405
75d7d177 64062003-06-05 Nick Clifton <nickc@redhat.com>
17c0c97d 6407
75d7d177
NC
6408 * libc/include/sys/reent.h (struct _on_exit_args): New
6409 structure containing fields used by the on_exit() function.
ba3ccd63 6410 (struct _atexit): Include struct _on_exit_args. For
75d7d177
NC
6411 _REENT_SMALL do his via a pointer that is initialised when
6412 needed.
ba3ccd63 6413 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
75d7d177 6414 structure, if one has been allocated.
ba3ccd63 6415 * libc/stdlib/atexit.c (atexit): Update indirection to
75d7d177 6416 _fntypes field.
ba3ccd63 6417 * libc/stdlib/on_exit.c (on_exit): Indirect via the
75d7d177
NC
6418 _on_exit_args structure. For _REENT_SMALL, allocate a
6419 structure if one does not exist.
ba3ccd63 6420 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
75d7d177
NC
6421 structure.
6422
2129f283
JJ
64232003-06-04 Jeff Johnston <jjohnstn@redhat.com>
6424
6425 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
6426 * libc/sys/linux/net/Makefile.in: Regenerated.
6427
bf3bcac2
JJ
64282003-06-03 Jeff Johnston <jjohnstn@redhat.com>
6429
6430 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
6431 * libc/reent/fcntlr.c: Ditto.
6432 * libc/reent/fstat64r.c: Ditto.
6433 * libc/reent/linkr.c: Ditto.
6434 * libc/reent/lseek64r.c: Ditto.
6435 * libc/reent/lseekr.c: Ditto.
6436 * libc/reent/openr.c: Ditto.
6437 * libc/reent/readr.c: Ditto.
6438 * libc/reent/reent.c: Ditto.
6439 * libc/reent/sbrkr.c: Ditto.
6440 * libc/reent/signalr.c: Ditto.
6441 * libc/reent/signgam.c: Ditto.
6442 * libc/reent/statr.c: Ditto.
6443 * libc/reent/timer.c: Ditto.
6444 * libc/reent/unlinkr.c: Ditto.
6445 * libc/reent/writer.c: Ditto.
6446 * libc/syscalls/sysclose.c: Ditto.
6447 * libc/syscalls/sysexecve.c: Ditto.
6448 * libc/syscalls/sysfcntl.c: Ditto.
6449 * libc/syscalls/sysfork.c: Ditto.
6450 * libc/syscalls/sysfstat.c: Ditto.
6451 * libc/syscalls/sysgetpid.c: Ditto.
6452 * libc/syscalls/sysgettod.c: Ditto.
6453 * libc/syscalls/syskill.c: Ditto.
6454 * libc/syscalls/syslink.c: Ditto.
6455 * libc/syscalls/syslseek.c: Ditto.
6456 * libc/syscalls/sysopen.c: Ditto.
6457 * libc/syscalls/sysread.c: Ditto.
6458 * libc/syscalls/syssbrk.c: Ditto.
6459 * libc/syscalls/sysstat.c: Ditto.
6460 * libc/syscalls/systimes.c: Ditto.
6461 * libc/syscalls/sysunlink.c: Ditto.
6462 * libc/syscalls/syswait.c: Ditto.
6463 * libc/syscalls/syswrite.c: Ditto.
6464
702ceb23
JJ
64652003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
6466
6467 * libc/time/tzset_r.c: Change local variables that are
6468 set via sscanf using the %h format specifier to be unsigned short
6469 instead of int.
6470
102861c9
JJ
64712003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
6472
6473 * configure.host: Allow i[34567]86 variant.
6474 * configure.in: Likewise.
6475 * README: Likewise to the docs.
6476 * configure: Regenerated.
6477 * Makefile.in: Ditto.
6478
b359e82c
JJ
64792003-05-28 Jeff Johnston <jjohnstn@redhat.com>
6480 Tom Fitzsimmons <fitzsim@redhat.com>
6481
6482 * configure.in: Add iconvdata support for x86 linux.
6483 * configure: Regenerated.
17c0c97d 6484 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
b359e82c
JJ
6485 library, iconv, and linuxthreads support.
6486 * libc/sys/linux/configure.in: Ditto.
6487 * libc/sys/linux/Makefile.in: Regenerated.
6488 * libc/sys/linux/configure: Ditto.
6489 * iconvdata/EUC-JP.irreversible: New file.
6490 * iconvdata/Makefile.am: Ditto.
6491 * iconvdata/Makefile.in: Ditto.
6492 * iconvdata/SJIS.irreversible: Ditto.
6493 * iconvdata/aclocal.m4: Ditto.
6494 * iconvdata/configure: Ditto.
6495 * iconvdata/configure.in: Ditto.
6496 * iconvdata/dummy.c: Ditto.
6497 * iconvdata/euc-jp.c: Ditto.
6498 * iconvdata/gconv-modules: Ditto.
6499 * iconvdata/jis0201.c: Ditto.
6500 * iconvdata/jis0201.h: Ditto.
6501 * iconvdata/jis0208.c: Ditto.
6502 * iconvdata/jis0208.h: Ditto.
6503 * iconvdata/jis0212.c: Ditto.
6504 * iconvdata/jis0212.h: Ditto.
6505 * iconvdata/sjis.c: Ditto.
6506 * libc/include/errno.h: Protect definition of error_t.
6507 * libc/sys/linux/gethostid.c: New file.
6508 * libc/sys/linux/sethostid.c: Ditto.
6509 * libc/sys/linux/dl/Makefile.am: Ditto.
6510 * libc/sys/linux/dl/Makefile.in: Ditto.
6511 * libc/sys/linux/dl/abi-tag.h: Ditto.
6512 * libc/sys/linux/dl/atomicity.h: Ditto.
6513 * libc/sys/linux/dl/dl-addr.c: Ditto.
6514 * libc/sys/linux/dl/dl-cache.c: Ditto.
6515 * libc/sys/linux/dl/dl-cache.h: Ditto.
6516 * libc/sys/linux/dl/dl-close.c: Ditto.
6517 * libc/sys/linux/dl/dl-debug.c: Ditto.
6518 * libc/sys/linux/dl/dl-deps.c: Ditto.
6519 * libc/sys/linux/dl/dl-dst.h: Ditto.
6520 * libc/sys/linux/dl/dl-error.c: Ditto.
6521 * libc/sys/linux/dl/dl-fini.c: Ditto.
6522 * libc/sys/linux/dl/dl-init.c: Ditto.
6523 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
6524 * libc/sys/linux/dl/dl-libc.c: Ditto.
6525 * libc/sys/linux/dl/dl-librecon.h: Ditto.
6526 * libc/sys/linux/dl/dl-load.c: Ditto.
6527 * libc/sys/linux/dl/dl-lookup.c: Ditto.
6528 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
6529 * libc/sys/linux/dl/dl-minimal.c: Ditto.
6530 * libc/sys/linux/dl/dl-misc.c: Ditto.
6531 * libc/sys/linux/dl/dl-object.c: Ditto.
6532 * libc/sys/linux/dl/dl-open.c: Ditto.
6533 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
6534 * libc/sys/linux/dl/dl-profile.c: Ditto.
6535 * libc/sys/linux/dl/dl-profstub.c: Ditto.
6536 * libc/sys/linux/dl/dl-reloc.c: Ditto.
6537 * libc/sys/linux/dl/dl-runtime.c: Ditto.
6538 * libc/sys/linux/dl/dl-support.c: Ditto.
6539 * libc/sys/linux/dl/dl-sym.c: Ditto.
6540 * libc/sys/linux/dl/dl-version.c: Ditto.
6541 * libc/sys/linux/dl/dlfcn.h: Ditto.
6542 * libc/sys/linux/dl/do-lookup.h: Ditto.
6543 * libc/sys/linux/dl/do-rel.h: Ditto.
6544 * libc/sys/linux/dl/dynamic-link.h: Ditto.
6545 * libc/sys/linux/dl/kernel-features.h: Ditto.
6546 * libc/sys/linux/dl/ldsodefs.h: Ditto.
6547 * libc/sys/linux/dl/libintl.h: Ditto.
6548 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
6549 * libc/sys/linux/dl/unsecvars.h: Ditto.
6550 * libc/sys/linux/iconv/Makefile.am: Ditto.
6551 * libc/sys/linux/iconv/Makefile.in: Ditto.
6552 * libc/sys/linux/iconv/categories.def: Ditto.
6553 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
6554 * libc/sys/linux/iconv/gconv.c: Ditto.
6555 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
6556 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
6557 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
6558 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
6559 * libc/sys/linux/iconv/gconv_close.c: Ditto.
6560 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
6561 * libc/sys/linux/iconv/gconv_db.c: Ditto.
6562 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
6563 * libc/sys/linux/iconv/gconv_int.h: Ditto.
6564 * libc/sys/linux/iconv/gconv_open.c: Ditto.
6565 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
6566 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
6567 * libc/sys/linux/iconv/hash-string.h: Ditto.
6568 * libc/sys/linux/iconv/iconv.c: Ditto.
6569 * libc/sys/linux/iconv/iconv.h: Ditto.
6570 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
6571 * libc/sys/linux/iconv/iconv_close.c: Ditto.
6572 * libc/sys/linux/iconv/iconv_open.c: Ditto.
6573 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
6574 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
6575 * libc/sys/linux/iconv/loadinfo.h: Ditto.
6576 * libc/sys/linux/iconv/localeinfo.h: Ditto.
6577 * libc/sys/linux/iconv/loop.c: Ditto.
6578 * libc/sys/linux/iconv/skeleton.c: Ditto.
6579 * libc/sys/linux/iconv/strtab.c: Ditto.
6580 * libc/sys/linux/include/dl-hash.h: Ditto.
6581 * libc/sys/linux/include/dlfcn.h: Ditto.
6582 * libc/sys/linux/include/fnmatch.h: Ditto.
6583 * libc/sys/linux/include/gconv.h: Ditto.
6584 * libc/sys/linux/include/glob.h: Ditto.
6585 * libc/sys/linux/include/hesiod.h: Ditto.
6586 * libc/sys/linux/include/ifaddrs.h: Ditto.
6587 * libc/sys/linux/include/libc_private.h: Ditto.
6588 * libc/sys/linux/include/link.h: Ditto.
6589 * libc/sys/linux/include/namespace.h: Ditto.
6590 * libc/sys/linux/include/netconfig.h: Ditto.
6591 * libc/sys/linux/include/netdb.h: Ditto.
6592 * libc/sys/linux/include/nsswitch.h: Ditto.
6593 * libc/sys/linux/include/regex.h: Ditto.
6594 * libc/sys/linux/include/resolv.h: Ditto.
6595 * libc/sys/linux/include/rune.h: Ditto.
6596 * libc/sys/linux/include/runetype.h: Ditto.
6597 * libc/sys/linux/include/semaphore.h: Ditto.
6598 * libc/sys/linux/include/setlocale.h: Ditto.
6599 * libc/sys/linux/include/un-namespace.h: Ditto.
6600 * libc/sys/linux/include/wordexp.h: Ditto.
6601 * libc/sys/linux/include/arpa/ftp.h: Ditto.
6602 * libc/sys/linux/include/arpa/inet.h: Ditto.
6603 * libc/sys/linux/include/arpa/nameser.h: Ditto.
6604 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
6605 * libc/sys/linux/include/arpa/telnet.h: Ditto.
6606 * libc/sys/linux/include/arpa/tftp.h: Ditto.
6607 * libc/sys/linux/include/net/bpf.h: Ditto.
6608 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
6609 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
6610 * libc/sys/linux/include/net/bridge.h: Ditto.
6611 * libc/sys/linux/include/net/ethernet.h: Ditto.
6612 * libc/sys/linux/include/net/fddi.h: Ditto.
6613 * libc/sys/linux/include/net/if.h: Ditto.
6614 * libc/sys/linux/include/net/if_arc.h: Ditto.
6615 * libc/sys/linux/include/net/if_arp.h: Ditto.
6616 * libc/sys/linux/include/net/if_atm.h: Ditto.
6617 * libc/sys/linux/include/net/if_dl.h: Ditto.
6618 * libc/sys/linux/include/net/if_gif.h: Ditto.
6619 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
6620 * libc/sys/linux/include/net/if_llc.h: Ditto.
6621 * libc/sys/linux/include/net/if_media.h: Ditto.
6622 * libc/sys/linux/include/net/if_mib.h: Ditto.
6623 * libc/sys/linux/include/net/if_ppp.h: Ditto.
6624 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
6625 * libc/sys/linux/include/net/if_slvar.h: Ditto.
6626 * libc/sys/linux/include/net/if_sppp.h: Ditto.
6627 * libc/sys/linux/include/net/if_stf.h: Ditto.
6628 * libc/sys/linux/include/net/if_tap.h: Ditto.
6629 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
6630 * libc/sys/linux/include/net/if_tun.h: Ditto.
6631 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
6632 * libc/sys/linux/include/net/if_types.h: Ditto.
6633 * libc/sys/linux/include/net/if_var.h: Ditto.
6634 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
6635 * libc/sys/linux/include/net/intrq.h: Ditto.
6636 * libc/sys/linux/include/net/iso88025.h: Ditto.
6637 * libc/sys/linux/include/net/net_osdep.h: Ditto.
6638 * libc/sys/linux/include/net/netisr.h: Ditto.
6639 * libc/sys/linux/include/net/pfil.h: Ditto.
6640 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
6641 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
6642 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
6643 * libc/sys/linux/include/net/radix.h: Ditto.
6644 * libc/sys/linux/include/net/raw_cb.h: Ditto.
6645 * libc/sys/linux/include/net/route.h: Ditto.
6646 * libc/sys/linux/include/net/slcompress.h: Ditto.
6647 * libc/sys/linux/include/net/slip.h: Ditto.
6648 * libc/sys/linux/include/net/zlib.h: Ditto.
6649 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
6650 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
6651 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
6652 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
6653 * libc/sys/linux/include/netinet/igmp.h: Ditto.
6654 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
6655 * libc/sys/linux/include/netinet/in.h: Ditto.
6656 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
6657 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
6658 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
6659 * libc/sys/linux/include/netinet/in_var.h: Ditto.
6660 * libc/sys/linux/include/netinet/ip.h: Ditto.
6661 * libc/sys/linux/include/netinet/ip6.h: Ditto.
6662 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
6663 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
6664 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
6665 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
6666 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
6667 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
6668 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
6669 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
6670 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
6671 * libc/sys/linux/include/netinet/tcp.h: Ditto.
6672 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
6673 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
6674 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
6675 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
6676 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
6677 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
6678 * libc/sys/linux/include/netinet/udp.h: Ditto.
6679 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
6680 * libc/sys/linux/include/netinet6/ah.h: Ditto.
6681 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
6682 * libc/sys/linux/include/netinet6/esp.h: Ditto.
6683 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
6684 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
6685 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
6686 * libc/sys/linux/include/netinet6/in6.h: Ditto.
6687 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
6688 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
6689 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
6690 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
6691 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
6692 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
6693 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
6694 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
6695 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
6696 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
6697 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
6698 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
6699 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
6700 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
6701 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
6702 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
6703 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
6704 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
6705 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
6706 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
6707 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
6708 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
6709 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
6710 * libc/sys/linux/include/netns/idp.h: Ditto.
6711 * libc/sys/linux/include/netns/idp_var.h: Ditto.
6712 * libc/sys/linux/include/netns/ns.h: Ditto.
6713 * libc/sys/linux/include/netns/ns_error.h: Ditto.
6714 * libc/sys/linux/include/netns/ns_if.h: Ditto.
6715 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
6716 * libc/sys/linux/include/netns/sp.h: Ditto.
6717 * libc/sys/linux/include/netns/spidp.h: Ditto.
6718 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
6719 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
6720 * libc/sys/linux/include/netns/spp_var.h: Ditto.
6721 * libc/sys/linux/include/rpc/Makefile: Ditto.
6722 * libc/sys/linux/include/rpc/auth.h: Ditto.
6723 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
6724 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
6725 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
6726 * libc/sys/linux/include/rpc/clnt.h: Ditto.
6727 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
6728 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
6729 * libc/sys/linux/include/rpc/des.h: Ditto.
6730 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
6731 * libc/sys/linux/include/rpc/nettype.h: Ditto.
6732 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
6733 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
6734 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
6735 * libc/sys/linux/include/rpc/raw.h: Ditto.
6736 * libc/sys/linux/include/rpc/rpc.h: Ditto.
6737 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
6738 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
6739 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
6740 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
6741 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
6742 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
6743 * libc/sys/linux/include/rpc/svc.h: Ditto.
6744 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
6745 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
6746 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
6747 * libc/sys/linux/include/rpc/types.h: Ditto.
6748 * libc/sys/linux/include/rpc/xdr.h: Ditto.
6749 * libc/sys/linux/intl/Makefile.am: Ditto.
6750 * libc/sys/linux/intl/Makefile.in: Ditto.
6751 * libc/sys/linux/intl/bindtextdom.c: Ditto.
6752 * libc/sys/linux/intl/catgets.c: Ditto.
6753 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
6754 * libc/sys/linux/intl/config.h: Ditto.
6755 * libc/sys/linux/intl/dcgettext.c: Ditto.
6756 * libc/sys/linux/intl/dcigettext.c: Ditto.
6757 * libc/sys/linux/intl/dcngettext.c: Ditto.
6758 * libc/sys/linux/intl/dgettext.c: Ditto.
6759 * libc/sys/linux/intl/dngettext.c: Ditto.
6760 * libc/sys/linux/intl/explodename.c: Ditto.
6761 * libc/sys/linux/intl/finddomain.c: Ditto.
6762 * libc/sys/linux/intl/gettext.c: Ditto.
6763 * libc/sys/linux/intl/gettext.h: Ditto.
6764 * libc/sys/linux/intl/gettextP.h: Ditto.
6765 * libc/sys/linux/intl/hash-string.h: Ditto.
6766 * libc/sys/linux/intl/l10nflist.c: Ditto.
6767 * libc/sys/linux/intl/loadinfo.h: Ditto.
6768 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
6769 * libc/sys/linux/intl/locale.alias: Ditto.
6770 * libc/sys/linux/intl/localealias.c: Ditto.
6771 * libc/sys/linux/intl/ngettext.c: Ditto.
6772 * libc/sys/linux/intl/open_catalog.c: Ditto.
6773 * libc/sys/linux/intl/plural.c: Ditto.
6774 * libc/sys/linux/intl/plural.y: Ditto.
6775 * libc/sys/linux/intl/stpcpy.c: Ditto.
6776 * libc/sys/linux/intl/textdomain.c: Ditto.
6777 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
6778 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
6779 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
6780 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
6781 * libc/sys/linux/linuxthreads/attr.c: Ditto.
6782 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
6783 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
6784 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
6785 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
6786 * libc/sys/linux/linuxthreads/config.h: Ditto.
6787 * libc/sys/linux/linuxthreads/configure: Ditto.
6788 * libc/sys/linux/linuxthreads/configure.in: Ditto.
6789 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
6790 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
6791 * libc/sys/linux/linuxthreads/events.c: Ditto.
6792 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
6793 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
6794 * libc/sys/linux/linuxthreads/internals.h: Ditto.
6795 * libc/sys/linux/linuxthreads/join.c: Ditto.
6796 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
6797 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
6798 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
6799 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
6800 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
6801 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
6802 * libc/sys/linux/linuxthreads/manager.c: Ditto.
6803 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
6804 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
6805 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
6806 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
6807 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
6808 * libc/sys/linux/linuxthreads/prio.c: Ditto.
6809 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
6810 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
6811 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
6812 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
6813 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
6814 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
6815 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
6816 * libc/sys/linux/linuxthreads/queue.h: Ditto.
6817 * libc/sys/linux/linuxthreads/reent.c: Ditto.
6818 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
6819 * libc/sys/linux/linuxthreads/restart.h: Ditto.
6820 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
6821 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
6822 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
6823 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
6824 * libc/sys/linux/linuxthreads/signals.c: Ditto.
6825 * libc/sys/linux/linuxthreads/specific.c: Ditto.
6826 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
6827 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
6828 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
6829 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
6830 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
6831 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
6832 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
6833 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
6834 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
6835 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
6836 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
6837 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
6838 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
6839 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
6840 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
6841 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
6842 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
6843 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
6844 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
6845 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
6846 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
6847 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
6848 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
6849 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
6850 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
6851 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
6852 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
6853 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
6854 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
6855 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
6856 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
6857 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
6858 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
6859 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
6860 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
6861 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
6862 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
6863 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
6864 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
6865 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
6866 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
6867 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
6868 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
6869 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
6870 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
6871 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
6872 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
6873 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
6874 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
6875 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
6876 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
6877 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
6878 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
6879 * libc/sys/linux/linuxthreads/unload.c: Ditto.
6880 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
6881 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
6882 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
6883 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
6884 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
6885 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
6886 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
6887 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
6888 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
6889 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
6890 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
6891 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
6892 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
6893 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
6894 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
6895 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
6896 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
6897 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
6898 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
6899 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
6900 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
6901 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
6902 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
6903 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
6904 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
6905 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
6906 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
6907 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
6908 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
6909 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
6910 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
6911 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
6912 * libc/sys/linux/net/Makefile.am: Ditto.
6913 * libc/sys/linux/net/Makefile.in: Ditto.
6914 * libc/sys/linux/net/addr2ascii.3: Ditto.
6915 * libc/sys/linux/net/addr2ascii.c: Ditto.
6916 * libc/sys/linux/net/ascii2addr.c: Ditto.
6917 * libc/sys/linux/net/base64.c: Ditto.
6918 * libc/sys/linux/net/bindresvport.c: Ditto.
6919 * libc/sys/linux/net/byteorder.3: Ditto.
6920 * libc/sys/linux/net/ether_addr.c: Ditto.
6921 * libc/sys/linux/net/ethers.3: Ditto.
6922 * libc/sys/linux/net/getaddrinfo.3: Ditto.
6923 * libc/sys/linux/net/getaddrinfo.c: Ditto.
6924 * libc/sys/linux/net/gethostbydns.c: Ditto.
6925 * libc/sys/linux/net/gethostbyht.c: Ditto.
6926 * libc/sys/linux/net/gethostbyname.3: Ditto.
6927 * libc/sys/linux/net/gethostbynis.c: Ditto.
6928 * libc/sys/linux/net/gethostnamadr.c: Ditto.
6929 * libc/sys/linux/net/getifaddrs.3: Ditto.
6930 * libc/sys/linux/net/getifaddrs.c: Ditto.
6931 * libc/sys/linux/net/getipnodebyname.3: Ditto.
6932 * libc/sys/linux/net/getnameinfo.3: Ditto.
6933 * libc/sys/linux/net/getnameinfo.c: Ditto.
6934 * libc/sys/linux/net/getnetbydns.c: Ditto.
6935 * libc/sys/linux/net/getnetbyht.c: Ditto.
6936 * libc/sys/linux/net/getnetbynis.c: Ditto.
6937 * libc/sys/linux/net/getnetent.3: Ditto.
6938 * libc/sys/linux/net/getnetnamadr.c: Ditto.
6939 * libc/sys/linux/net/getproto.c: Ditto.
6940 * libc/sys/linux/net/getprotoent.3: Ditto.
6941 * libc/sys/linux/net/getprotoent.c: Ditto.
6942 * libc/sys/linux/net/getprotoname.c: Ditto.
6943 * libc/sys/linux/net/getservbyname.c: Ditto.
6944 * libc/sys/linux/net/getservbyport.c: Ditto.
6945 * libc/sys/linux/net/getservent.3: Ditto.
6946 * libc/sys/linux/net/getservent.c: Ditto.
6947 * libc/sys/linux/net/herror.c: Ditto.
6948 * libc/sys/linux/net/hesiod.3: Ditto.
6949 * libc/sys/linux/net/hesiod.c: Ditto.
6950 * libc/sys/linux/net/if_indextoname.3: Ditto.
6951 * libc/sys/linux/net/ifname.c: Ditto.
6952 * libc/sys/linux/net/inet.3: Ditto.
6953 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
6954 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
6955 * libc/sys/linux/net/inet_addr.c: Ditto.
6956 * libc/sys/linux/net/inet_lnaof.c: Ditto.
6957 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
6958 * libc/sys/linux/net/inet_net.3: Ditto.
6959 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
6960 * libc/sys/linux/net/inet_net_pton.c: Ditto.
6961 * libc/sys/linux/net/inet_neta.c: Ditto.
6962 * libc/sys/linux/net/inet_netof.c: Ditto.
6963 * libc/sys/linux/net/inet_network.c: Ditto.
6964 * libc/sys/linux/net/inet_ntoa.c: Ditto.
6965 * libc/sys/linux/net/inet_ntop.c: Ditto.
6966 * libc/sys/linux/net/inet_pton.c: Ditto.
6967 * libc/sys/linux/net/innetgr-stub.c: Ditto.
6968 * libc/sys/linux/net/ip6opt.c: Ditto.
6969 * libc/sys/linux/net/iso_addr.3: Ditto.
6970 * libc/sys/linux/net/iso_addr.c: Ditto.
6971 * libc/sys/linux/net/issetugid-stub.c: Ditto.
6972 * libc/sys/linux/net/linkaddr.3: Ditto.
6973 * libc/sys/linux/net/linkaddr.c: Ditto.
6974 * libc/sys/linux/net/map_v4v6.c: Ditto.
6975 * libc/sys/linux/net/name6.c: Ditto.
6976 * libc/sys/linux/net/namespace.h: Ditto.
6977 * libc/sys/linux/net/ns.3: Ditto.
6978 * libc/sys/linux/net/ns_addr.c: Ditto.
6979 * libc/sys/linux/net/ns_name.c: Ditto.
6980 * libc/sys/linux/net/ns_netint.c: Ditto.
6981 * libc/sys/linux/net/ns_ntoa.c: Ditto.
6982 * libc/sys/linux/net/ns_parse.c: Ditto.
6983 * libc/sys/linux/net/ns_print.c: Ditto.
6984 * libc/sys/linux/net/ns_ttl.c: Ditto.
6985 * libc/sys/linux/net/nsap_addr.c: Ditto.
6986 * libc/sys/linux/net/nsdispatch.3: Ditto.
6987 * libc/sys/linux/net/nsdispatch.c: Ditto.
6988 * libc/sys/linux/net/nslexer.c: Ditto.
6989 * libc/sys/linux/net/nslexer.l: Ditto.
6990 * libc/sys/linux/net/nsparser.c: Ditto.
6991 * libc/sys/linux/net/nsparser.h: Ditto.
6992 * libc/sys/linux/net/nsparser.y: Ditto.
6993 * libc/sys/linux/net/rcmd.3: Ditto.
6994 * libc/sys/linux/net/rcmd.c: Ditto.
6995 * libc/sys/linux/net/rcmdsh.3: Ditto.
6996 * libc/sys/linux/net/rcmdsh.c: Ditto.
6997 * libc/sys/linux/net/recv.c: Ditto.
6998 * libc/sys/linux/net/res_comp.c: Ditto.
6999 * libc/sys/linux/net/res_config.h: Ditto.
7000 * libc/sys/linux/net/res_data.c: Ditto.
7001 * libc/sys/linux/net/res_debug.c: Ditto.
7002 * libc/sys/linux/net/res_init.c: Ditto.
7003 * libc/sys/linux/net/res_mkquery.c: Ditto.
7004 * libc/sys/linux/net/res_mkupdate.c: Ditto.
7005 * libc/sys/linux/net/res_query.c: Ditto.
7006 * libc/sys/linux/net/res_send.c: Ditto.
7007 * libc/sys/linux/net/res_update.c: Ditto.
7008 * libc/sys/linux/net/resolver.3: Ditto.
7009 * libc/sys/linux/net/rthdr.c: Ditto.
7010 * libc/sys/linux/net/send.c: Ditto.
7011 * libc/sys/linux/net/un-namespace.h: Ditto.
7012 * libc/sys/linux/net/vars.c: Ditto.
7013 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
7014 * libc/sys/linux/stdlib/Makefile.am: Ditto.
7015 * libc/sys/linux/stdlib/Makefile.in: Ditto.
7016 * libc/sys/linux/stdlib/cclass.h: Ditto.
7017 * libc/sys/linux/stdlib/cname.h: Ditto.
7018 * libc/sys/linux/stdlib/collate.c: Ditto.
7019 * libc/sys/linux/stdlib/collate.h: Ditto.
7020 * libc/sys/linux/stdlib/collcmp.c: Ditto.
7021 * libc/sys/linux/stdlib/engine.c: Ditto.
7022 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
7023 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
7024 * libc/sys/linux/stdlib/glob.3: Ditto.
7025 * libc/sys/linux/stdlib/glob.c: Ditto.
7026 * libc/sys/linux/stdlib/reallocf.c: Ditto.
7027 * libc/sys/linux/stdlib/regcomp.c: Ditto.
7028 * libc/sys/linux/stdlib/regerror.c: Ditto.
7029 * libc/sys/linux/stdlib/regex.3: Ditto.
7030 * libc/sys/linux/stdlib/regex2.h: Ditto.
7031 * libc/sys/linux/stdlib/regexec.c: Ditto.
7032 * libc/sys/linux/stdlib/regfree.c: Ditto.
7033 * libc/sys/linux/stdlib/utils.h: Ditto.
7034 * libc/sys/linux/stdlib/wordexp.c: Ditto.
7035 * libc/sys/linux/stdlib/wordfree.c: Ditto.
7036 * libc/sys/linux/sys/dlfcn.h: Ditto.
7037 * libc/sys/linux/sys/elfclass.h: Ditto.
7038 * libc/sys/linux/sys/event.h: Ditto.
7039 * libc/sys/linux/sys/ioccom.h: Ditto.
7040 * libc/sys/linux/sys/libc-tsd.h: Ditto.
7041 * libc/sys/linux/sys/link.h: Ditto.
7042 * libc/sys/linux/sys/lock.h: Ditto.
7043 * libc/sys/linux/sys/param.h: Ditto.
7044 * libc/sys/linux/sys/socket.h: Ditto.
7045 * libc/sys/linux/sys/sockio.h: Ditto.
7046
17c0c97d 70472003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
82095e79 7048
17c0c97d 7049 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
82095e79
JJ
7050 normal mode
7051 * newlib/libc/machine/h8300/memset.S: Likewise
7052 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
7053 * newlib/lib/machine/h8300/reg_memset.S: Likewise
7054 * newlib/lib/machine/h8300/setjmp.S: Likewise
7055 * newlib/lib/machine/h8300/strcmp.S: Likewise
7056 * newlib/lib/sys/h8300hms/crt0.S: Likewise
7057
8a4b4764
CV
70582003-05-13 Corinna Vinschen <corinna@vinschen.de>
7059
7060 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
7061 * libc/include/stdio.h: Ditto.
7062 * libc/include/sys/config.h: Ditto.
7063 * libc/stdio/mktemp.c: Ditto.
7064
837e070f
CV
70652003-05-13 Corinna Vinschen <corinna@vinschen.de>
7066
7067 * libc/locale/ldpart.c (__part_load_locale): Substitute
7068 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
7069 * libc/search/hash.c (__hash_open): Ditto.
7070 (init_hash): Ditto.
7071 * libc/stdio/fseek.c (fseek): Ditto.
7072 * libc/stdio/makebuf.c (__smakebuf): Ditto.
7073 * libc/stdio/mktemp.c (_gettemp): Ditto.
7074
b47fcdf0
CV
70752003-05-12 Corinna Vinschen <corinna@vinschen.de>
7076
7077 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
7078
11e3a520
CV
70792003-05-12 Corinna Vinschen <corinna@vinschen.de>
7080
7081 * configure.host: Accomodate removing the libc/sys/cygwin dir.
7082 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
7083 if __CYGWIN_USE_BIG_TYPES__ is set.
7084 * libc/search/hash.c (__hash_open): Ditto.
7085 (init_hash): Ditto.
7086 * libc/stdio/fseek.c (fseek): Ditto.
7087 * libc/stdio/makebuf.c (__smakebuf): Ditto.
7088 * libc/stdio/mktemp.c (_gettemp): Ditto.
7089 * libc/sys/cygwin/Makefile.am: Remove.
7090 * libc/sys/cygwin/Makefile.in: Remove.
7091 * libc/sys/cygwin/aclocal.m4: Remove.
7092 * libc/sys/cygwin/configure: Remove.
7093 * libc/sys/cygwin/configure.in: Remove.
7094 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
7095 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
7096 directory.
7097 * libc/sys/cygwin/sys/param.h: Ditto.
7098 * libc/sys/cygwin/sys/utime.h: Ditto.
7099 * libc/sys/cygwin/sys/utmp.h: Ditto.
7100
d1b5e65b
CV
71012003-05-11 Corinna Vinschen <corinna@vinschen.de>
7102
7103 * libc/include/sys/types.h: Don't define key_t for Cygwin.
7104
ec48a953
CF
71052003-05-10 Christopher Faylor <cgf@redhat.com>
7106
7107 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
7108 64 bit inodes.
7109
a3cc5851
CV
71102003-05-09 Corinna Vinschen <corinna@vinschen.de>
7111
7112 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
7113 Include cygwin/config.h instead.
7114
57ff95d3
JJ
71152003-04-16 Jeff Johnston <jjohnstn@redhat.com>
7116
7117 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
7118 all code with #ifdef __SPE__ test.
7119 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
7120
cfd2c7be
CF
71212003-04-15 Chris January <chris@atomice.net>
7122
7123 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
7124 Cygwin.
7125
6f48c0ae
JR
71262003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
7127
7128 * libc/machine/sh/memset.S: Avoid clobbering volatile
7129 objects following a tiny to-be-set array in the same quadword.
7130
8f8d09c0
CV
71312001-04-09 Corinna Vinschen <corinna@vinschen.de>
7132
17c0c97d 7133 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
8f8d09c0
CV
7134 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
7135 * libc/string/Makefile.in: Regenerated.
7136 * libc/string/wcswidth.c: New file.
7137 * libc/string/wcwidth.c: New file.
7138 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
7139
40c3b2d0
JR
7140Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
7141
7142 * libc/machine/sh/memset.S: Fix problem with alloco region
7143 exceeding destination region for length >= 88 bytes, start
7144 & 0x16 == 0, end & 0x1f == 18.
7145
8ae6a3dd
CV
71462001-04-03 Corinna Vinschen <corinna@vinschen.de>
7147
7148 * libc/string/wcscoll.c: Fix comment.
7149
d122b1cc
CV
71502001-04-02 Corinna Vinschen <corinna@vinschen.de>
7151
7152 * libc/include/wchar.h: Add definition for wcscoll.
7153 * libc/string/Makefile.am: Add wcscoll.c.
7154 * libc/string/Makefile.in: Regenerated.
7155 * libc/string/wcscoll.c: New file.
17c0c97d 7156 * libc/string/wcstrings.tex: Add wcscoll.
d122b1cc 7157
31ee99a4
CV
71582003-04-01 Corinna Vinschen <corinna@vinschen.de>
7159
7160 * libc/stdio/sscanf.c: Update flags description.
7161 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
7162 type.
7163 (__svfscanf_r): Add 'hh' and 'll' handling.
7164
d78045ee
CV
71652003-04-01 Corinna Vinschen <corinna@vinschen.de>
7166
7167 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
7168 __d_position member to _off_t.
7169
e6bdc6c5
JJ
71702003-03-20 Jeff Johnston <jjohnstn@redhat.com>
7171
7172 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
7173 count all characters used to create number against maximum width.
7174 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
7175
e65d559e
JJ
71762003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
7177
7178 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
7179 support.
7180 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
7181 flag to support simulator only extensions.
7182
6b3bb52b
JJ
71832003-03-17 Bob Cassels <bcassels@abinitio.com>
7184
ba3ccd63 7185 * libc/string/wcschr.c: (wcschr): Look for character first,
6b3bb52b
JJ
7186 then for end of string, so you can do wcschr(x, '\0').
7187
17c0c97d 71882003-03-10 Corinna Vinschen <corinna@vinschen.de>
2a940c1a
CV
7189
7190 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
7191 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
7192 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
7193 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
7194 * libc/stdio/fseeko.c (fseeko): Ditto.
7195 * libc/stdio/ftello.c (ftello): Ditto.
7196 * libc/stdio/stdio.c (__swrite): Ditto.
7197 (__sseek): Ditto.
7198 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
7199 * libc/stdio/fseek.c (fseek): Ditto.
7200 * libc/stdio/fsetpos.c (fsetpos): Ditto.
7201 * libc/stdio/ftell.c (ftell): Ditto.
7202 * libc/stdio/local.h: Declare __sseek using _off_t.
7203
150c2818
CV
72042003-03-09 Corinna Vinschen <corinna@vinschen.de>
7205
7206 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
7207
2c440f9c
CV
72082003-03-09 Corinna Vinschen <corinna@vinschen.de>
7209
7210 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
7211 Cygwin.
7212
f882fd15
CV
72132003-03-09 Corinna Vinschen <corinna@vinschen.de>
7214
7215 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
7216 Cygwin.
7217 * libc/include/sys/stat.h: Ditto.
7218 * libc/include/sys/unistd.h: Ditto.
7219 * libc/sys/cygwin/sys/dirent.h: Ditto.
7220
01d61543
CF
72212003-03-07 Christopher Faylor <cgf@redhat.com>
7222
7223 * libc/include/sys/unistd.h: Guard getopt.h call to force only
7224 declaration of getopt and avoid getopt_long declaration.
7225 * libc/sys/cygwin/include/unistd.h: Remove.
7226
5582abd2
CV
72272003-03-07 Corinna Vinschen <corinna@vinschen.de>
7228
7229 * configure.host: Define stdio64_dir for Cygwin.
7230 * libc/include/stdio.h: Change definition of fpos_t to fulfill
7231 Cygwin 64bit file access requirements.
7232 Drop definition of f*64() functions when compiled for Cygwin.
7233 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
7234 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
7235 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
7236
641da1eb
JJ
72372003-03-07 Jeff Johnston <jjohnstn@redhat.com>
7238
7239 * libc/include/sys/reent.h: Remove extraneous _sig_func
7240 declaration.
7241
72422003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
41a639de
JJ
7243
7244 * libc/sys/h8300hms/Makefile.am: Add support for new files.
7245 * libc/sys/h8300hms/Makefile.in: Regenerated.
7246 * libc/sys/h8300hms/close.S: New file.
7247 * libc/sys/h8300hms/fstat.S: Ditto.
7248 * libc/sys/h8300hms/lseek.S: Ditto.
7249 * libc/sys/h8300hms/open.S: Ditto.
7250 * libc/sys/h8300hms/stat.S: Ditto.
7251 * libc/sys/h8300hms/read.S: New file to replace read.c.
7252 * libc/sys/h8300hms/read.c: Removed.
7253 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
7254 _lseek, _close, _stat, _fstat.
7255 * libc/sys/h8300hms/write.S: New file to replace write.c.
7256 * libc/sys/h8300hms/write.c: Removed.
7257
bac50d6b
NC
72582003-02-20 Nick Clifton <nickc@redhat.com>
7259
7260 * Add support for Cirrus Maverick ARM co-processor:
17c0c97d 7261
bac50d6b
NC
7262 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
7263
7264 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
7265 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
7266
7267 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
7268
7269 * configure.host: set sys_dir, syscall_dir, and
7270 newlib_cflags for ep9312 host.
7271
ba3ccd63 7272 * configure.host: Restore alpha sorting of entries in case
bac50d6b
NC
7273 statements.
7274
12ee7037
JJ
72752003-02-19 Jeff Johnston <jjohnstn@redhat.com>
7276
ba3ccd63 7277 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
12ee7037 7278
1e810ba0
JJ
72792003-02-18 Christian Groessler <chris@groessler.org>
7280
7281 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
7282 support z8001 segmented mode.
7283
b1ca765e
JJ
72842003-02-18 Earnie Boyd <earnie@users.sf.net>
7285
7286 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
7287 with a NULL value.
7288
51a46b54
CF
72892003-02-10 Christopher Faylor <cgf@redhat.com>
7290
7291 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
7292 Don't define some types under cygwin.
7293
313f1349
JJ
72942003-02-07 Jeff Johnston <jjohnstn@redhat.com>
7295
17c0c97d 7296 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
313f1349
JJ
7297 option to allow disabling of syscalls being supplied in newlib.
7298 * aclocal.m4: Regenerated.
7299 * configure: Ditto.
7300 * configure.host: Add support of new configuration option and add
7301 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
7302 * doc/aclocal.m4: Regenerated.
7303 * doc/configure: Ditto.
7304 * libc/*aclocal.m4: Ditto.
7305 * libc/*configure: Ditto.
7306 * libm/*aclocal.m4: Ditto.
7307 * libm/*configure: Ditto.
7308 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
7309 is disabled.
7310 * libc/sys/arm/Makefile.in: Regenerated.
7311
5017a3da
JJ
73122003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
7313
7314 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
7315 -1 to be sure it cannot later match a valid file fd causing
7316 isatty() to return 1.
7317 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
7318 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
7319 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
7320
ad36f7d1
JJ
73212003-02-03 Jeff Johnston <jjohnstn@redhat.com>
7322
7323 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
17c0c97d
EB
7324 buffer based on the precision, after we have processed the input value
7325 in a local buffer and know its relative magnitude.
ad36f7d1 7326
a74181ee
JJ
73272003-01-31 Michael Snyder <msnyder@redhat.com>
7328
7329 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
7330 into registers r1 and r2, so that the simulator can distinguish
7331 this trap from a breakpoint trap. Copied from libgloss.
7332
b85498d4
JJ
73332003-01-31 Michael Snyder <msnyder@redhat.com>
7334
7335 * libc/sys/h8300hms/crt0.S (_start): Change local label
7336 from .loop to .Loop, so that ld and gdb will ignore it.
7337
4700b829
JJ
73382003-01-29 Jason Tishler <jason@tishler.net>
7339
7340 * libc/include/time.h: Declare nanosleep() under Cygwin.
7341
0127ae40
NC
73422003-01-24 Nick Clifton <nickc@redhat.com>
7343
7344 * Add sh2e support:
7345
7346 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
7347
7348 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
7349 * libc/machine/sh/setjmp.S: Likewise.
7350 * libc/include/machine/ieeefp.h: Likewise.
7351
8bbcd9a1
CV
73522003-01-24 Corinna Vinschen <corinna@vinschen.de>
7353
7354 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
7355 for Cygwin.
7356
b8838e6f 73572003-01-21 Anita Kulkarni <anitak@kpit.com>
17c0c97d 7358
b8838e6f
JJ
7359 * libc/time/difftime.c : Typecast the result to double.
7360
f9e41155
CF
73612003-01-20 Christopher Faylor <cgf@redhat.com>
7362
7363 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
7364
6b5a7988
NC
73652003-01-18 Nick Clifton <nickc@redhat.com>
7366
7367 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
7368 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
7369
c3e92877
JJ
73702003-01-16 Joel Sherrill <joel@OARcorp.com>
7371
ba3ccd63
EB
7372 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
7373 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
7374 constants are defined in each file in the shared versions in
7375 libc/include.
7376 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
7377 autoconf can link programs.
7378 * libc/include/machine/types.h: Explicitly specify signed on
7379 intXX_t types to ensure they are signed.
c3e92877 7380
84510217
CF
73812003-01-14 Christopher Faylor <cgf@redhat.com>
7382
7383 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
7384 extensions.
7385
b3934ab3
RS
73862003-01-08 Richard Sandiford <rsandifo@redhat.com>
7387
7388 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
7389
be9c60e5
JJ
73902003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
7391
7392 * libc/stdio/sprintf.c: fix typo
7393 * libc/stdio/vfprintf.c: fix typo
7394
d4c3a750
JJ
73952003-01-07 Jeff Johnston <jjohnstn@redhat.com>
7396
7397 * configure.host: Support long double I/O for x86-linux.
7398 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
7399 large enough to hold formatted result.
7400 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
7401
b2294aaa
JJ
74022003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
7403
7404 * Makefile.am: Add vasprintf.
7405 * Makefile.in: Regenerated.
7406
ea5e5daf
JJ
74072003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
7408
7409 * asprintf.c (_asprintf_r): insure both declarations
7410 are the same.
7411
5c581eca
CF
74122002-12-28 Christopher Faylor <cgf@redhat.com>
7413
7414 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
7415 than defining getopt directly.
7416
60b0838f
JJ
74172002-12-20 Jeff Johnston <jjohnstn@redhat.com>
7418
7419 * NEWS: Update with 1.11.0 info.
7420 * README: Ditto.
7421 * acinclude.m4: Change version number to 1.11.0.
7422 * aclocal.m4: Regenerated.
7423 * configure: Ditto.
7424 * doc/aclocal.m4: Ditto.
7425 * doc/configure: Ditto.
7426 * libc/*/aclocal.m4: Ditto.
7427 * libc/*/configure: Ditto.
7428 * libc/libc.texinfo: Ditto.
7429 * libm/*/aclocal.m4: Ditto.
7430 * libm/*/configure: Ditto.
7431 * libm/libm.texinfo: Ditto.
7432 * libc/sys/linux/shared.ld: Add VERS_1.11.
7433
10501d57
JJ
74342002-12-20 Jeff Johnston <jjohnstn@redhat.com>
7435
7436 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
7437 Solutions to Red Hat Inc.
7438 * libc/machine/i386/f_atan2f.S: Ditto.
7439 * libc/machine/i386/f_exp.c: Ditto.
7440 * libc/machine/i386/f_expf.c: Ditto.
7441 * libc/machine/i386/f_frexp.S: Ditto.
7442 * libc/machine/i386/f_frexpf.S: Ditto.
7443 * libc/machine/i386/f_ldexp.S: Ditto.
7444 * libc/machine/i386/f_ldexpf.S: Ditto.
7445 * libc/machine/i386/f_log.S: Ditto.
7446 * libc/machine/i386/f_log10.S: Ditto.
7447 * libc/machine/i386/f_log10f.S: Ditto.
7448 * libc/machine/i386/f_logf.S: Ditto.
7449 * libc/machine/i386/f_pow.c: Ditto.
7450 * libc/machine/i386/f_powf.c: Ditto.
7451 * libc/machine/i386/f_tan.S: Ditto.
7452 * libc/machine/i386/f_tanf.S: Ditto.
7453 * libc/machine/i386/memchr.S: Ditto.
7454 * libc/machine/i386/memcmp.S: Ditto.
7455 * libc/machine/i386/memcpy.S: Ditto.
7456 * libc/machine/i386/memmove.S: Ditto.
7457 * libc/machine/i386/memset.S: Ditto.
7458 * libc/machine/i386/strchr.S: Ditto.
7459 * libc/machine/i386/strlen.S: Ditto.
7460 * libm/machine/i386/f_atan2.S: Ditto.
7461 * libm/machine/i386/f_atan2f.S: Ditto.
7462 * libm/machine/i386/f_exp.c: Ditto.
7463 * libm/machine/i386/f_expf.c: Ditto.
7464 * libm/machine/i386/f_frexp.S: Ditto.
7465 * libm/machine/i386/f_frexpf.S: Ditto.
7466 * libm/machine/i386/f_ldexp.S: Ditto.
7467 * libm/machine/i386/f_ldexpf.S: Ditto.
7468 * libm/machine/i386/f_log.S: Ditto.
7469 * libm/machine/i386/f_log10.S: Ditto.
7470 * libm/machine/i386/f_log10f.S: Ditto.
7471 * libm/machine/i386/f_logf.S: Ditto.
7472 * libm/machine/i386/f_pow.c: Ditto.
7473 * libm/machine/i386/f_powf.c: Ditto.
7474 * libm/machine/i386/f_tan.S: Ditto.
7475 * libm/machine/i386/f_tanf.S: Ditto.
7476
9b3f0d16
JJ
74772002-12-20 Jeff Johnston <jjohnstn@redhat.com>
7478
7479 * libc/stdlib/environ.c: Update license to Red Hat.
7480 * libc/machine/hppa/setjmp.S: Ditto.
7481 * libm/test/Makefile.in: Ditto.
7482
d693ad84
JJ
74832002-12-19 Jeff Johnston <jjohnstn@redhat.com>
7484
7485 * configure.host: Remove references to go32.
7486 * libc/sys/go32/*: Removed.
7487
7da92d15
JJ
74882002-12-16 Kazu Hirata <kazu@cs.umass.edu>
7489
7490 * libc/include/sys/config.h: Change setting of INT_MAX
7491 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
7492 __H8300S__. Also consolidate flag settings for these
7493 platforms.
7494
ea01c7f5
JJ
74952002-12-10 Joel Sherrill <joel@OARcorp.com>
7496
7497 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
7498 for i386-rtems targets.
7499
c049dd5a
JJ
75002002-12-06 Jeff Johnston <jjohnstn@redhat.com>
7501
7502 * libc/include/stdlib.h (strtof): New prototype (from C99).
7503 (strtodf): Changed from prototype to macro which redefines
7504 to strtof.
7505 * libc/stdlib/atof.c: Change documentation to refer to strtof
7506 instead of strtodf.
7507 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
7508 strtodf.
7509 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
7510 (strtof): New function.
7511 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
7512 calls strtof.
7513
46a402e0
CF
75142002-11-27 Christopher Faylor <cgf@redhat.com>
7515
7516 * libc/string/memset.c (memset): Fix comment.
7517
b3cc01b0
CF
75182002-11-26 Christopher Faylor <cgf@redhat.com>
7519
7520 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
7521 function.
7522
d90f3dc1
CF
75232002-11-25 Christopher Faylor <cgf@redhat.com>
7524
7525 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
7526 variable, introduced below, everywhere.
7527
f24585c6
KH
75282002-11-25 Kazu Hirata <kazu@cs.umass.edu>
7529
7530 * libc/string/memset.c (memset): Make it safe even if
7531 sizeof (int) = 2.
7532
2955fd76
JJ
75332002-11-22 Joe Buehler <jbuehler@hekimian.com>
7534
7535 * configure.in: Change check for libc/include in ${CC} to
7536 use an intermediate value so as to work with different shells.
7537 * configure: Regenerated.
7538 * Makefile.in: Ditto.
7539
40ce7368
JJ
75402002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
7541
7542 * libc/sys/h8300hms/read.c: Add support for normal mode
7543 architecture.
7544
505746ad
JJ
75452002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
7546
7547 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
7548 code for __H8300H__ and __H8300S__. Also return 32-bit return code
7549 when -mint32 is used.
7550
28ecb2f5
NC
75512002-11-18 Nick Clifton <nickc@redhat.com>
7552
7553 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
7554
665b994e
JJ
75552002-11-14 Jeff Johnston <jjohnstn@redhat.com>
7556
ba3ccd63
EB
7557 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
7558 only issue one pass/fail message for a compile/link/execute.
7559 * testsuite/newlib.elix/elix.exp: New file.
7560 * testsuite/newlib.elix/tmmap.c: Ditto.
665b994e 7561
e91ec2e3
CF
75622002-11-06 Christopher Faylor <cgf@redhat.com>
7563
7564 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
7565 * libc/stdlib/mlock.c: Ditto.
7566 * libc/stdlib/msize.c: Ditto.
7567 * libc/stdlib/msize.c: Ditto.
7568 * libc/stdlib/mtrim.c: Ditto.
7569 * libc/stdlib/valloc.c: Ditto.
7570
944772c7
JJ
75712002-11-12 Jeff Johnston <jjohnstn@redhat.com>
7572
ba3ccd63
EB
7573 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
7574 for inf/nan, make sure that the check ignores the sign bit.
944772c7 7575
dd7ee147
JJ
75762002-11-07 Joel Sherrill <joel@OARcorp.com>
7577
ba3ccd63
EB
7578 * libc/sys/rtems/machine: New directory.
7579 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
7580 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
7581 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
7582 targets more BSD like when installed without requiring files to
7583 be overwritten at install point when RTEMS itself is installed.
7584 * Makefile.am: Pick up system dependent machine .h files such as
7585 might be found on a BSD-ish system.
7586 * Makefile.in: Regenerate.
7587 * libc/include/machine/types.h: When on an RTEMS target, define a
7588 few BSD flavor types.
dd7ee147
JJ
7589
75902002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
503430d8
CF
7591
7592 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
7593
18cd62b7
JJ
75942002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7595
ba3ccd63
EB
7596 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
7597 * libc/include/wctype.h: Ditto.
18cd62b7 7598
d2888812
JJ
75992002-11-04 Jeff Johnston <jjohnstn@redhat.com>
7600
ba3ccd63
EB
7601 * libc/include/wchar.h: Add extern "C" specifier if C++.
7602 * libc/include/wctype.h: Ditto.
d2888812 7603
978ea3cf
JJ
76042002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7605
ba3ccd63
EB
7606 * testsuite/newlib.wctype/tiswctype.c: New test case.
7607 * testsuite/newlib.wctype/twctrans.c: Ditto.
978ea3cf 7608
a42cf80a
JJ
76092002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7610
ba3ccd63
EB
7611 * libc/sys/linux/machine/i386/include/endian.h: New file.
7612 * libc/sys/linux/machine/i386/include/param.h: Ditto.
a42cf80a 7613
c9ccb1f2
JJ
76142002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7615
7616 * libm/machine/i386/aclocal.m4: Regenerated.
7617 * libm/machine/i386/configure: Ditto.
7618
94c5b430
JJ
76192002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7620
ba3ccd63
EB
7621 * testsuite/include/check.h: New header file to use with
7622 test cases.
7623 * testsuite/lib/newlib.exp: Add testsuite/include directory
7624 to list of header files to use.
7625 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
7626 * testsuite/newlib.wctype/wctype.exp: New file.
94c5b430 7627
ccdae543
RS
76282002-10-11 Graham Stott <graham.stott@btinternet.com>
7629 Richard Sandiford <rsandifo@redhat.com>
f770cf44
RS
7630
7631 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
7632 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
7633 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
7634
73972116
JS
76352002-10-07 Joel Sherrill <joel@OARcorp.com>
7636
7637 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
7638 dummy programs.
7639
89e3fcba
JS
76402002-10-07 Joel Sherrill <joel@OARcorp.com>
7641
7642 * libc/include/pthread.h: Define PTHREAD_CANCELED.
7643
54ec52e4
JS
76442002-10-07 Joel Sherrill <joel@OARcorp.com>
7645
7646 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
7647 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
7648 compile with current GNU tools.
7649
d389acba
JJ
76502002-10-07 Jeff Johnston <jjohnstn@redhat.com>
7651
7652 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
7653 the build library.
7654 * configure.in: Ditto.
7655 * Makefile.in: Regenerated.
7656 * configure: Ditto.
7657 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
7658 for specifying configured libraries/directories.
7659 * libc/sys/linux/configure.in: Ditto.
7660 * libc/sys/linux/Makefile.in: Regenerated.
7661 * libc/sys/linux/configure: Ditto.
7662
af5a221f
JJ
76632002-10-03 Jeff Johnston <jjohnstn@redhat.com>
7664
7665 * libc/include/reent.h: Update documentation at start of file.
7666
59a758bd
JW
76672002-09-27 Jim Wilson <wilson@redhat.com>
7668
7669 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
7670 the ctbp register.
7671
1ed3c86d
JJ
76722002-09-27 Jeff Johnston <jjohnstn@redhat.com>
7673
7674 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
7675 Also convert to EUCJP before using arrays. For values not in
7676 the conversion arrays, return WEOF.
7677 * libc/ctype/jp2uc.h: Change from one array to a number of
7678 arrays to account for the fact that the originating table
7679 is not contiguous for the input values since some are invalid.
7680
6e1dfd2d
JJ
76812002-09-24 Jeff Johnston <jjohnstn@redhat.com>
7682
7683 * libc/time/ctime.c: Fix prototype documentation.
7684
06f1353a
CV
76852002-09-24 Corinna Vinschen <corinna@vinschen.de>
7686
7687 * libc/include/sys/errno.h: Add EOVERFLOW.
7688
1e0e64c9
JJ
76892002-09-20 Jeff Johnston <jjohnstn@redhat.com>
7690
7691 * libc/include/wctype.h: New file.
7692
1525d127
JJ
76932002-09-20 Jeff Johnston <jjohnstn@redhat.com>
7694
ba3ccd63
EB
7695 * libc/ctype/Makefile.am: Add new files.
7696 * libc/ctype/Makefile.in: Regenerated.
7697 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
7698 and wctrans functions to documentation index.
7699 * libc/ctype/iswalnum.c: New file.
7700 * libc/ctype/iswalpha.c: Ditto.
7701 * libc/ctype/iswblank.c: Ditto.
7702 * libc/ctype/iswcntrl.c: Ditto.
7703 * libc/ctype/iswctype.c: Ditto.
7704 * libc/ctype/iswdigit.c: Ditto.
7705 * libc/ctype/iswgraph.c: Ditto.
7706 * libc/ctype/iswlower.c: Ditto.
7707 * libc/ctype/iswprint.c: Ditto.
7708 * libc/ctype/iswpunct.c: Ditto.
7709 * libc/ctype/iswspace.c: Ditto.
7710 * libc/ctype/iswupper.c: Ditto.
7711 * libc/ctype/iswxdigit.c: Ditto.
7712 * libc/ctype/jp2uc.c: Ditto.
7713 * libc/ctype/jp2uc.h: Ditto.
7714 * libc/ctype/local.h: Ditto.
7715 * libc/ctype/towctrans.c: Ditto.
7716 * libc/ctype/towlower.c: Ditto.
7717 * libc/ctype/towupper.c: Ditto.
7718 * libc/ctype/utf8alpha.h: Ditto.
7719 * libc/ctype/utf8print.h: Ditto.
7720 * libc/ctype/utf8punct.h: Ditto.
7721 * libc/ctype/wctrans.c: Ditto.
7722 * libc/ctype/wctype.c: Ditto.
7723 * libc/locale/locale.c (__lc_ctype): New external array to
7724 replace static lc_ctype array.
7725 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
7726 rather than reentrancy structure's _current_locale field.
7727 * libc/stdlib/wctomb_r.c: Ditto.
1525d127 7728
da25e61f
JJ
77292002-09-20 Jeff Johnston <jjohnstn@redhat.com>
7730
7731 * configure.host: Minor comment and formatting changes.
7732 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
7733 * libc/Makefile.in: Regenerated.
7734 * libc/include/sys/config.h: Minor format change.
7735
5b9ee539
JJ
77362002-09-19 Jeff Johnston <jjohnstn@redhat.com>
7737
7738 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
7739 statement comment.
7740
50558bf3
JJ
77412002-09-19 Jeff Johnston <jjohnstn@redhat.com>
7742
7743 * libc/posix/opendir.c (opendir): Change code to check
7744 for HAVE_FCNTL before calling fcntl.
7745 * libc/search/hash.c (hash_open): Ditto.
7746 * libc/search/hash_page.c (open_tmp): Ditto.
7747 * libc/reent/Makefile.am: Add fcntlr.c.
7748 * libc/reent/Makefile.in: Regenerated.
7749 * libc/reent/fcntlr.c: New file.
7750 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
7751 instead of _fcntl when HAVE_FCNTL flag is set.
7752 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
7753 to see if _fcntl or _fcntl_r should be called. If flag is not
7754 set, default to ENOSYS stub.
7755
9211a1ad
JJ
77562002-09-16 Jeff Johnston <jjohnstn@redhat.com>
7757
7758 * libc/include/wchar.h (mbstate_t): Change protective flag to
7759 be _MBSTATE_T.
7760 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
7761 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
7762 for Cygwin.
7763 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
7764
a8615092
JJ
77652002-09-11 Jeff Johnston <jjohnstn@redhat.com>
7766
ba3ccd63
EB
7767 * acinclude.m4 (enable-newlib-mb): Change check to
7768 default newlib_mb variable to empty string rather than "no".
7769 * configure.host: Remove hard-coding of -DMB_CAPABLE for
7770 x86-linux and Cygwin. Add code to check for newlib_mb
7771 being unset in which case set to "yes" for x86-linux and
7772 Cygwin. Change check for newlib_mb being "yes" to allow
7773 for an empty string.
7774 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
7775 * newlib.hin (_MB_LEN_MAX): New define to configure.
7776 * aclocal.m4: Regenerated.
7777 * configure: Ditto.
7778 * libc/include/limits.h: New file.
7779 * libc/sys/linux/include/limits.h: Ditto.
7780 * doc/aclocal.m4 doc/configure libc/aclocal.m4
7781 libc/configure libc/machine/aclocal.m4
7782 libc/machine/configure libc/machine/a29k/aclocal.m4
7783 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
7784 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
7785 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
7786 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
7787 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
7788 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
7789 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
7790 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
7791 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
7792 libc/machine/i386/configure libc/machine/i960/aclocal.m4
7793 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
7794 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
7795 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
7796 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
7797 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
7798 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
7799 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
7800 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
7801 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
7802 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
7803 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
7804 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
7805 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
7806 libc/machine/v850/configure libc/machine/w65/aclocal.m4
7807 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
7808 libc/machine/xscale/configure
7809 libc/machine/xstormy16/aclocal.m4
7810 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
7811 libc/machine/z8k/configure libc/sys/aclocal.m4
7812 libc/sys/configure libc/sys/a29khif/aclocal.m4
7813 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
7814 libc/sys/arc/configure libc/sys/arm/aclocal.m4
7815 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
7816 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
7817 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
7818 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
7819 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
7820 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
7821 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
7822 libc/sys/idt/configure libc/sys/linux/aclocal.m4
7823 libc/sys/linux/configure
7824 libc/sys/linux/machine/aclocal.m4
7825 libc/sys/linux/machine/configure
7826 libc/sys/linux/machine/i386/aclocal.m4
7827 libc/sys/linux/machine/i386/configure
7828 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
7829 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
7830 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
7831 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
7832 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
7833 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
7834 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
7835 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
7836 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
7837 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
7838 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
7839 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
7840 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
7841 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
7842 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
7843 libm/aclocal.m4 libm/configure: Regenerated.
a8615092 7844
be83844e
JJ
78452002-09-09 Jeff Johnston <jjohnstn@redhat.com>
7846
ba3ccd63
EB
7847 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
7848 code that clears the .bss section.
be83844e 7849
9c64d2a7
JJ
78502002-09-09 Jeff Johnston <jjohnstn@redhat.com>
7851
ba3ccd63
EB
7852 * libc/include/sys/_types.h (_mbstate_t): Changed to use
7853 unsigned char internally.
7854 * libc/sys/linux/sys/_types.h: Ditto.
7855 * libc/include/sys/reent.h
7856 * libc/stdlib/mblen.c (mblen): Use function-specific state
7857 value from default reentrancy structure.
7858 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
7859 _mbtowc_r is less than 0, reset state __count value and
7860 return -1.
7861 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
7862 is NULL, use the function-specific pointer provided in the
7863 default reentrancy structure.
7864 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
7865 If input state pointer is NULL, use function-specific area
7866 provided in reentrancy structure.
7867 * libc/stdlib/mbsrtowcs.c: Ditto.
7868 * libc/stdlib/wcrtomb.c: Ditto.
7869 * libc/stdlib/wcsrtombs.c: Ditto.
7870 * libc/stdlib/mbstowcs.c: Reformat.
7871 * libc/stdlib/wcstombs.c: Ditto.
7872 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
7873 reset the state's __count value and return -1.
7874 * libc/stdlib/mbtowc.c: Ditto.
7875 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
7876 If number of bytes is used up before completing a valid multibyte
7877 character, return -2 and save the state.
7878 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
7879 and change some __count references to __state for clarity.
9c64d2a7 7880
218b7a56
JJ
78812002-09-06 Jeff Johnston <jjohnstn@redhat.com>
7882
7883 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
7884 is defined by <limits.h>.
7885
c210a6ea
JJ
78862002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7887
7888 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
7889 defined.
7890
efa077ce
JJ
78912002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7892
ba3ccd63
EB
7893 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
7894 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
7895 __WCHAR_MAX__ or 0x7fffffffu.
7896 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
7897 * libc/string/wcsncmp.c: Ditto.
efa077ce 7898
e4b0ebc1
JJ
78992002-09-03 Jeff Johnston <jjohnstn@redhat.com>
7900
7901 * libc/string/wcschr.c: Add include of <stddef.h>.
7902 * libc/string/wcspbrk.c: Ditto.
7903 * libc/string/wcsrchr.c: Ditto.
7904 * libc/string/wcsstr.c: Ditto.
7905
3db40db7
JJ
79062002-09-03 Jeff Johnston <jjohnstn@redhat.com>
7907
ba3ccd63
EB
7908 * libc/include/sys/_types.h (_flock_t): Added.
7909 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
7910 (__lock_try_acquire_recursive): Ditto.
7911 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
7912 _lock field.
7913 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
7914 field.
7915 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
7916 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
7917 * libc/sys/linux/include/time.h (struct timespec): Moved from
7918 <sys/types.h> and added check for __need_timespec flag so type
7919 can be defined by itself.
7920 * libc/sys/linux/sys/_types.h (_flock_t): New type.
7921 * libc/sys/linux/sys/types.h (struct timespec): Moved to
7922 <time.h>.
3db40db7 7923
cd45f029
TF
79242002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
7925
7926 * libc/sys/linux/argp: New directory.
7927 * libc/sys/linux/getopt.c: New file.
7928 * libc/sys/linux/getopt1.c: New file.
7929 * libc/sys/linux/getoptlong.c: Remove file.
7930 * libc/sys/linux/include/argp.h: New file.
7931 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
7932 based on ELIX level.
7933 (SUBDIRS): Add argp_dir.
7934 (SUBLIBS): Add ARGP_LIB.
7935 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
7936 getopt_long.$(oext).
7937 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
7938
3c689185
JJ
79392002-08-29 Jeff Johnston <jjohnstn@redhat.com>
7940
ba3ccd63
EB
7941 * libc/libc.texinfo: Add node reference to wide-character strings.
7942 * libc/string/wcstrings.tex: New file.
3c689185 7943 * libc/string/strtok_r.c: Remove outdated advertising clause.
ba3ccd63
EB
7944 * libc/string/Makefile.am (doc): Add wide-character string
7945 chapter to documentation.
7946 * libc/string/Makefile.in: Regenerated.
3c689185 7947
890e7a1d
JJ
79482002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7949
ba3ccd63
EB
7950 * libc/include/wchar.h: Define NULL. Define WEOF more general
7951 way. Declare functions in newlib manner.
7952 * libc/stdlib/Makefile.am: Delete wmem*.c
7953 * libc/stdlib/Makefile.in: Regenerated.
7954 * libc/stdlib/wmemchr.c: Delete.
7955 * libc/stdlib/wmemcmp.c: Ditto.
7956 * libc/stdlib/wmemcpy.c: Ditto.
7957 * libc/stdlib/wmemmove.c: Ditto.
7958 * libc/stdlib/wmemset.c: Ditto.
7959 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
7960 * libc/string/Makefile.in: Regenerated.
7961 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
7962 * libc/string/wcschr.c: Ditto.
7963 * libc/string/wcscmp.c: Ditto.
7964 * libc/string/wcscpy.c: Ditto.
7965 * libc/string/wcscspn.c: Ditto.
7966 * libc/string/wcslcat.c: Ditto.
7967 * libc/string/wcslcpy.c: Ditto.
7968 * libc/string/wcslen.c: Ditto.
7969 * libc/string/wcsncat.c: Ditto.
7970 * libc/string/wcsncmp.c: Ditto.
7971 * libc/string/wcsncpy.c: Ditto.
7972 * libc/string/wcspbrk.c: Ditto.
7973 * libc/string/wcsrchr.c: Ditto.
7974 * libc/string/wcsspn.c: Ditto.
7975 * libc/string/wcsstr.c: Ditto.
7976 * libc/string/wmemchr.c: Ditto.
7977 * libc/string/wmemcmp.c: Ditto.
7978 * libc/string/wmemcpy.c: Ditto.
7979 * libc/string/wmemmove.c: Ditto.
7980 * libc/string/wmemset.c: Ditto.
890e7a1d 7981
86620e21
JJ
79822002-08-29 Jeff Johnston <jjohnstn@redhat.com>
7983
ba3ccd63
EB
7984 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
7985 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
7986 and is treated as if "C" was specified.
86620e21 7987
f3741c27
JJ
79882002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7989
ba3ccd63
EB
7990 * Makefile.am (install-data-local): Move install of build
7991 newlib.h after installing headers in libc/include so as to
7992 overwrite default newlib.h.
7993 * Makefile.in: Regenerated.
f3741c27 7994
48da61f5
JJ
79952002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7996
ba3ccd63
EB
7997 * libc/include/newlib.h: New file for tools that use newlib
7998 headers but don't build newlib first (e.g. gcc).
48da61f5 7999
d82a94ac
JJ
80002002-08-28 Jeff Johnston <jjohnstn@redhat.com>
8001
8002 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
8003 * libc/stdlib/wmemcmp.c: Ditto.
8004 * libc/stdlib/wmemcpy.c: Ditto.
8005 * libc/stdlib/wmemmove.c: Ditto.
8006 * libc/stdlib/wmemset.c: Ditto.
8007
7d08241b
JJ
80082002-08-27 Egor Duda <deo@logos-m.ru>
8009
8010 * libc/stdlib/wmemchr.c: New file.
8011 * libc/stdlib/wmemcmp.c: Ditto.
8012 * libc/stdlib/wmemcpy.c: Ditto.
8013 * libc/stdlib/wmemmove.c: Ditto.
8014 * libc/stdlib/wmemset.c: Ditto.
8015 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
8016 * configure.host: Default -DMB_CAPABLE for cygwin.
8017 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
8018 wmemmove() and wmemset(). Add include of <_ansi.h>.
8019 * libc/stdlib/Makefile.in: Regenerate.
8020
8da1639b
JJ
80212002-08-27 Jeff Johnston <jjohnstn@redhat.com>
8022
ff2bf852 8023 * configure.host: Remove _ELIX_LEVEL flag setting.
8da1639b
JJ
8024 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
8025 (install-data-local): Install newlib.h.
8026 * Makefile.in: Regenerated.
8027 * aclocal.m4: Ditto.
8028 * configure: Ditto.
17c0c97d 8029 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
8da1639b
JJ
8030 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
8031 and _NEWLIB_VERSION to fill in newlib.h header file entries.
8032 In AC_OUTPUT statement, unset ac_file so multilib support does
8033 not use last ac_file temporary used in newlib.h configuration.
8034 * libc/include/_ansi.h: Include <newlib.h>.
8035 * newlib.hin: New template file for newlib.h.
8036 * stamp-h.in: New file.
8037
a4421c11
JJ
80382002-08-26 Wu Yongwei <adah@netstd.com>
8039
ba3ccd63 8040 * time.h (timezonevar): Change "#if" to "#ifdef".
a4421c11 8041
90b65e2d
JJ
80422002-08-26 Jeff Johnston <jjohnstn@redhat.com>
8043
8044 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
8045 * Makefile.in: Regenerated.
8046 * acinclude.m4: Add support for --enable-newlib-elix-level option.
8047 * aclocal.m4: Regenerated.
8048 * configure: Ditto.
8049 * configure.host: Add code to define _ELIX_LEVEL if
8050 --enable-newlib-elix-level option is used.
17c0c97d 8051 * configure.in:
90b65e2d
JJ
8052 * libc/aclocal.m4: Regenerated.
8053 * libc/configure: Ditto.
8054 * libc/argz/Makefile.am: Add EL/IX level checking.
8055 * libc/argz/Makefile.in: Regenerated.
8056 * libc/argz/dummy.c: New file.
8057 * libc/ctype/Makefile.am: Add EL/IX level checking.
8058 * libc/ctype/Makefile.in: Regenerated.
8059 * libc/locale/Makefile.am: Add EL/IX level checking.
8060 * libc/locale/Makefile.in: Regenerated.
8061 * libc/posix/Makefile.am: Add EL/IX level checking.
8062 * libc/posix/Makefile.in: Regenerated.
8063 * libc/posix/telldir.c: Add EL/IX level checking.
8064 * libc/reent/Makefile.am: Ditto.
8065 * libc/reent/fstat64r.c: Ditto.
8066 * libc/reent/lseek64r.c: Ditto.
8067 * libc/reent/open64r.c: Ditto.
8068 * libc/reent/Makefile.in: Regenerated.
8069 * libc/search/Makefile.am: Add EL/IX level checking.
8070 * libc/search/Makefile.in: Regenerated.
8071 * libc/stdio/Makefile.am: Add EL/IX level checking.
8072 * libc/stdio/Makefile.in: Regenerated.
8073 * libc/stdio64/Makefile.am: Add EL/IX level checking.
8074 * libc/stdio64/Makefile.in: Regenerated.
8075 * libc/stdio64/dummy.c: New file.
9b487837 8076 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
90b65e2d
JJ
8077 after first include.
8078 * libc/stdio64/fopen64.c: Ditto.
8079 * libc/stdio64/freopen64.c: Ditto.
8080 * libc/stdio64/fseeko64.c: Ditto.
8081 * libc/stdio64/fsetpos64.c: Ditto.
8082 * libc/stdio64/ftello64.c: Ditto.
8083 * libc/stdio64/tmpfile64.c: Ditto.
8084 * libc/stdlib/Makefile.am: Add EL/IX level checking.
8085 * libc/stdlib/Makefile.in: Regenerated.
8086 * libc/stdlib/mstats.c: Add EL/IX level checking.
8087 * libc/string/Makefile.am: Ditto.
8088 * libc/string/Makefile.in: Regenerated.
8089 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
8090 * libc/sys/linux/Makefile.in: Regenerated.
8091 * libc/sys/linux/aclocal.m4: Ditto.
8092 * libc/sys/linux/configure: Ditto.
8093 * libc/sys/linux/aio.c: Add EL/IX level checking.
8094 * libc/sys/linux/ftok.c: Ditto.
8095 * libc/sys/linux/getdate.c: Ditto.
8096 * libc/sys/linux/ids.c: Ditto.
8097 * libc/sys/linux/inode.c: Ditto.
8098 * libc/sys/linux/io.c: Ditto.
8099 * libc/sys/linux/process.c: Ditto.
8100 * libc/sys/linux/resource.c: Ditto.
8101 * libc/sys/linux/sched.c: Ditto.
8102 * libc/sys/linux/sig.c: Ditto.
8103 * libc/sys/linux/termios.c: Ditto.
8104 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
8105 __libc___waitpid weak aliases.
8106 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
8107 that generate the code for a syscall, but do not create a
8108 weak alias.
8109 * libc/syscalls/Makefile.am: Add EL/IX level checking.
8110 * libc/syscalls/Makefile.in: Regenerated.
8111 * libc/time/tzset_r.c: Change to replace strdup with equivalent
8112 functionality.
8113 * libc/unix/Makefile.am: Add EL/IX level checking.
8114 * libc/unix/Makefile.in: Regenerated.
8115
2e2b268c
CF
81162002-08-26 Christopher Faylor <cgf@redhat.com>
8117
8118 * libc/include/malloc.h: On cygwin, define malloc _r functions as
8119 wrapper macros to standard malloc functions.
8120 * libc/include/stdlib.h: Ditto.
8121 * configure.host: Always define MALLOC_PROVIDED on cygwin.
8122
8d9112f2
TF
81232002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
8124
8125 * libc/include/langinfo.h: New file.
8126 * libc/include/wchar.h: Likewise.
8127 * libc/include/sys/syslimits.h: Likewise.
8128 * libc/locale/fix_grouping.c: Likewise.
8129 * libc/locale/ldpart.c: Likewise.
8130 * libc/locale/ldpart.h: Likewise.
8131 * libc/locale/lmessages.c: Likewise.
8132 * libc/locale/lmessages.h: Likewise.
8133 * libc/locale/lmonetary.c: Likewise.
8134 * libc/locale/lmonetary.h: Likewise.
8135 * libc/locale/lnumeric.c: Likewise.
8136 * libc/locale/lnumeric.h: Likewise.
8137 * libc/locale/nl_langinfo.3: Likewise.
8138 * libc/locale/nl_langinfo.c: Likewise.
8139 * libc/locale/timelocal.c: Likewise.
8140 * libc/locale/timelocal.h: Likewise.
8141 * libc/stdlib/btowc.c: Likewise.
8142 * libc/stdlib/mbrlen.c: Likewise.
8143 * libc/stdlib/mbrtowc.c: Likewise.
8144 * libc/stdlib/mbsinit.c: Likewise.
8145 * libc/stdlib/mbsrtowcs.c: Likewise.
8146 * libc/stdlib/wcrtomb.c: Likewise.
8147 * libc/stdlib/wcsrtombs.c: Likewise.
8148 * libc/stdlib/wctob.c: Likewise.
8149 * libc/sys/linux/prof-freq.c: Likewise.
8150 * libc/sys/linux/profile.c: Likewise.
8151 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
8152 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
8153 * libc/include/stdlib.h: Change re-entrant functions to take
8154 mbstate_t pointers.
8155 * libc/include/sys/_types.h: Define _mbstate_t.
8156 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
8157 * libc/include/sys/errno.h (EILSEQ): New error code.
8158 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
8159 structure to use mbstate_t.
8160 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
8161 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
8162 * libc/machine/powerpc/vfscanf.c: Likewise.
8163 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
8164 * libc/stdio/vfprintf.c: Likewise.
8165 * libc/stdio/vfscanf.c: Likewise.
8166 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
8167 * libc/stdlib/mblen.c: Use mbstate_t.
8168 * libc/stdlib/mblen_r.c: Likewise.
8169 * libc/stdlib/mbstowcs.c: Likewise.
8170 * libc/stdlib/mbstowcs_r.c: Likewise.
8171 * libc/stdlib/mbtowc.c: Likewise.
8172 * libc/stdlib/mbtowc_r.c: Likewise.
8173 * libc/stdlib/wcstombs.c: Likewise.
8174 * libc/stdlib/wcstombs_r.c: Likewise.
8175 * libc/stdlib/wctomb_r.c: Likewise.
8176 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
8177 profile.c.
8178 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
8179 dl-procinfo.c.
8180 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
8181 * libc/sys/linux/sys/types.h (off_t): Define type.
8182 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
8183 to C-UTF-8.
8184 * testsuite/newlib.locale/UTF-8.exp: Likewise.
8185
fe47ea33
JJ
81862002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
8187
ba3ccd63
EB
8188 * libc/stdlib/mallocr.c: #include windows.h on Win32.
8189 (AlignPage): Continue macro on next line.
fe47ea33 8190
ada73509
JJ
81912002-08-19 Jeff Johnston <jjohnstn@redhat.com>
8192
8193 * libc/sys/linux/include/pthread.h: New file.
8194
64b5e8f2
JJ
81952002-08-19 Jeff Johnston <jjohnstn@redhat.com>
8196
8197 * libc/include/sys/types.h: Support __need_inttypes macro
17c0c97d 8198 that only sets the __intxx and __uintxx types.
64b5e8f2
JJ
8199 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
8200 to get mprec.h.
8201 * libc/machine/powerpc/Makefile.in: Regenerated.
8202 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
8203 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
8204 redundant fixed-point conversion prototypes.
8205 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
8206 after setting __need_inttypes.
8207
a94b60ce
CF
82082002-08-18 Christopher Faylor <cgf@redhat.com>
8209
8210 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
8211
29e17a86
JJ
82122002-08-17 Jeff Johnston <jjohnstn@redhat.com>
8213
ba3ccd63
EB
8214 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
8215 _LONG_DOUBLE to double.
29e17a86 8216
936b520f
JJ
82172002-08-17 Jeff Johnston <jjohnstn@redhat.com>
8218
8219 * configure.host: Add powerpc*-*-eabispe* configuration.
8220 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
8221 * libc/machine/powerpc/atosfix32.c: Ditto.
8222 * libc/machine/powerpc/atosfix64.c: Ditto.
8223 * libc/machine/powerpc/atoufix16.c: Ditto.
8224 * libc/machine/powerpc/atoufix32.c: Ditto.
8225 * libc/machine/powerpc/atoufix64.c: Ditto.
8226 * libc/machine/powerpc/fix64.h: Ditto.
8227 * libc/machine/powerpc/simdldtoa.c: Ditto.
8228 * libc/machine/powerpc/strtosfix16.c: Ditto.
8229 * libc/machine/powerpc/strtosfix32.c: Ditto.
8230 * libc/machine/powerpc/strtosfix64.c: Ditto.
8231 * libc/machine/powerpc/strtoufix16.c: Ditto.
8232 * libc/machine/powerpc/strtoufix32.c: Ditto.
8233 * libc/machine/powerpc/strtoufix64.c: Ditto.
8234 * libc/machine/powerpc/ufix64toa.c: Ditto.
8235 * libc/machine/powerpc/configure.in: Add check for
8236 powerpc*-eabispe and add fixed-point conversion functions.
8237 * libc/machine/powerpc/configure: Regenerated.
8238 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
8239 %r and %R format specifiers which handle fixed-point data.
8240 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
8241 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
8242 function prototypes.
8243
ad552766
JJ
82442002-08-17 Jeff Johnston <jjohnstn@redhat.com>
8245
8246 * Makefile.am: Move cmath stuff into libc/sys/linux.
8247 * Makefile.in: Regenerated.
8248 * configure.host: Default -DMB_CAPABLE for x86-linux.
8249 * libc/include/reent.h: Define _sbrk to take signed int argument.
8250 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
17c0c97d
EB
8251 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
8252 make locale name checking more efficient. Also allow "C-ISO-8859-1"
ad552766
JJ
8253 locale for LC_CTYPE and LC_MESSAGES.
8254 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
8255 * libc/sys/linux/brk.c: Change sbrk prototype.
8256 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
8257 include <sys/features.h>.
8258 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
8259 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
8260 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
8261 with a few local additions.
8262 * libc/sys/linux/sys/features.h: New file.
8263 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
8264 to take signed argument.
8265 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
8266 prototypes to take signed size argument.
8267
d3bd3632
TF
82682002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
8269
8270 * libc/sys/linux/cmath: New directory.
8271 * libc/sys/linux/include/cmathcalls.h: New file.
8272 * libc/sys/linux/include/complex.h: New file.
8273 * libc/sys/linux/machine/i386/huge_val.h: New file
8274 * libm/math/w_sincos.c: New file
8275 * libm/math/wf_sincos.c: New file
8276 * libm/mathfp/s_sincos.c: New file
8277 * libm/mathfp/sf_sincos.c: New file
8278 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
8279 * libc/include/math.h: Add sincos and sincosf declarations.
8280 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
8281 (SUBLIBS): Likewise.
8282 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
8283 * libm/math/Makefile.am (src): Add w_sincos.c.
8284 (fsrc): Add wf_sincos.c.
8285 * libm/mathfp/Makefile.am (src): Add s_sincos.c
8286 (fsrc): Add sf_sincos.c.
8287
b3a9676b
JJ
82882002-08-12 Jeff Johnston <jjohnstn@redhat.com>
8289
8290 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
8291 Declare as extern chars and use the address operator to
8292 properly use values set in linker script.
8293
659e7062
JJ
82942002-08-09 Jason Tishler <jason@tishler.net>
8295
8296 * libc/stdlib/mallocr.c: Include <limits.h>.
8297 (request2size): Change macro to do
8298 unsigned long comparisons and avoid signed overflow.
8299 (mALLOc): Add overflow check for the number of bytes to allocate.
8300 (rEALLOc): Ditto.
8301
037240a2
JJ
83022002-08-09 Jeff Johnston <jjohnstn@redhat.com>
8303
8304 * configure.host: Add check for --enable-newlib-io-pos-args
8305 and define WANT_IO_POS_ARGS flag if enabled. Define
8306 the flag by default for x86-linux configurations.
8307 * configure.in: Add support for --enable-newlib-io-pos-args.
8308 * libc/configure.in: Ditto.
8309 * configure: Regenerated.
8310 * libc/configure: Ditto.
8311 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
8312 vfprintf.c and vfiprintf.c.
8313 * libc/stdio/Makefile.in: Regenerated.
8314 * libc/stdio/vfprintf.c: Add positional argument support that
8315 is enabled by compiling with -DWANT_IO_POS_ARGS.
8316
172fda76
RS
83172002-08-07 Richard Sandiford <rsandifo@redhat.com>
8318
8319 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
8320 based on __mips_soft_float rather than __mips64.
8321 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
8322 of both 32-bit and 64-bit code.
8323
4866247e
CF
83242002-08-04 Christopher Faylor <cgf@redhat.com>
8325
8326 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
8327 arguments for popen to match similar functionality in fopen.
8328
b96332ce
CV
83292002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
8330
8331 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
8332
60d99bce
JJ
83332002-07-29 Jeff Johnston <jjohnstn@redhat.com>
8334
ba3ccd63
EB
8335 * libc/sys/linux/Makefile.am: Add aio64.c.
8336 * libc/sys/linux/Makefile.in: Regenerated.
8337 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
8338 * libc/sys/linux/aio64.c: New file.
60d99bce 8339
80a21be0
JJ
83402002-07-26 Jeff Johnston <jjohnstn@redhat.com>
8341
8342 * libc/include/sys/param.h (MAX, MIN): Added macros.
8343 * libc/sys/linux/Makefile.am: Add new files.
8344 * libc/sys/linux/Makefile.in: Regenerated.
8345 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
8346 * libc/sys/linux/inode.c (fchdir): Added syscall.
8347 * libc/sys/linux/ftw.c: New file.
8348 * libc/sys/linux/ftw64.c: Ditto.
8349 * libc/sys/linux/getwd.c: Ditto.
8350 * libc/sys/linux/scandir64.c: Ditto.
8351 * libc/sys/linux/strverscmp.c: Ditto.
8352 * libc/sys/linux/versionsort.c: Ditto.
8353 * libc/sys/linux/versionsort64.c: Ditto.
8354
6b6425cb
JJ
83552002-07-26 Jeff Johnston <jjohnstn@redhat.com>
8356
8357 * libc/string/strings.tex: Fix typo for memccpy.
8358
dc8ac8e6
JJ
83592002-07-25 Jeff Johnston <jjohnstn@redhat.com>
8360
8361 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
8362 * libc/sys/linux/sys/types.h (off64_t): Definition added.
8363
aa0ca6fd
JJ
83642002-07-25 Jeff Johnston <jjohnstn@redhat.com>
8365
8366 * libc/sys/linux/Makefile.am: Add fclean.c.
8367 * libc/sys/linux/Makefile.in: Regenerated.
8368 * libc/sys/linux/fclean.c: New file.
8369
61921945
JJ
83702002-07-25 Jeff Johnston <jjohnstn@redhat.com>
8371
8372 * libc/sys/linux/Makefile.am: Add confstr.c.
8373 * libc/sys/linux/Makefile.in: Regenerated.
8374 * libc/sys/linux/confstr.c: New file.
8375 * libc/sys/linux/confstr.h: Ditto.
8376 * libc/sys/linux/sys/unistd.h: Include <features.h> and
8377 <bits/environments.h>.
8378
3d966a92
JJ
83792002-07-25 Jeff Johnston <jjohnstn@redhat.com>
8380
8381 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
8382 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
8383 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
8384 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
8385 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
8386 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
8387
53b5bff7
JJ
83882002-07-24 Jeff Johnston <jjohnstn@redhat.com>
8389
8390 * libc/sys/linux/Makefile.am: Add new files.
8391 * libc/sys/linux/Makefile.in: Regenerated.
8392 * libc/sys/linux/fstab.c: New file.
8393 * libc/sys/linux/fstatvfs.c: Ditto.
8394 * libc/sys/linux/fstatvfs64.c: Ditto.
8395 * libc/sys/linux/internal_statvfs.c: Ditto.
8396 * libc/sys/linux/mntent.c: Ditto.
8397 * libc/sys/linux/mntent_r.c: Ditto.
8398 * libc/sys/linux/statvfs.c: Ditto.
8399 * libc/sys/linux/statvfs64.c: Ditto.
8400 * libc/sys/linux/include/paths.h: Ditto.
8401 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
8402 with double-underscore weak-aliases.
8403 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
8404
9cef8ef5
JJ
84052002-07-24 Jeff Johnston <jjohnstn@redhat.com>
8406
8407 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
8408 to use _sig_func_ptr type casted constants.
8409 (_sig_func_ptr): Typedef moved to sys/signal.h.
8410 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
8411 For __rtems, use POSIX definition, otherwise default to ANSI.
8412 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
8413
a703e0f2
JJ
84142002-07-24 Stephane Carrez <stcarrez@nerim.fr>
8415
ba3ccd63
EB
8416 * configure.host: Recognize m6811-elf and m6812-elf targets.
8417 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
8418 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
8419 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
8420 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
8421 according to __INT_MAX__.
8422 (_POINTER_INT): Define to short.
8423 * libc/machine/m68hc11/Makefile.am: New file.
8424 * libc/machine/m68hc11/Makefile.in: New file.
8425 * libc/machine/m68hc11/configure.in: New file.
8426 * libc/machine/m68hc11/configure: New file.
8427 * libc/machine/m68hc11/aclocal.m4: New file.
8428 * libc/machine/m68hc11/setjmp.S: New file.
a703e0f2 8429
d254189b
JJ
84302002-07-23 Jeff Johnston <jjohnstn@redhat.com>
8431
8432 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
8433 prototypes.
8434 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
8435 * libc/stdlib/Makefile.in: Regenerated.
8436 * libc/stdlib/strdup.c: Removed.
8437 * libc/stdlib/strdup_r.c: Removed.
8438 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
8439 mempcpy.c, strndup.c, and strndup_r.c.
8440 * libc/string/Makefile.in: Regenerated.
8441 * libc/string/memccpy.c: New file.
8442 * libc/string/mempcpy.c: Ditto.
8443 * libc/string/strndup.c: Ditto.
8444 * libc/string/strndup_r.c: Ditto.
8445 * libc/string/strdup.c: New file moved from stdlib.
8446 * libc/string/strdup_r.c: Ditto.
8447 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
8448
bc100655
JJ
84492002-07-23 Jeff Johnston <jjohnstn@redhat.com>
8450
ba3ccd63
EB
8451 * libc/include/stdio.h: Move fcloseall prototype within
8452 #ifndef _REENT_ONLY section.
8453 * libc/sys/linux/Makefile.am: Add new files.
8454 * libc/sys/linux/Makefile.in: Regenerated.
8455 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
8456 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
bc100655 8457 * libc/sys/linux/sys/types.h: Add ino64_t type.
ba3ccd63
EB
8458 * libc/sys/linux/ctermid.c: New file.
8459 * libc/sys/linux/ttyname_r.c: Ditto.
bc100655
JJ
8460 * libc/sys/linux/readdir64.c: Ditto.
8461
f5f27f07
JJ
84622002-07-22 Jeff Johnston <jjohnstn@redhat.com>
8463
8464 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
8465 * libc/stdio/Makefile.am: Added fcloseall.c support.
8466 * libc/stdio/Makefile.in: Regenerated.
8467 * libc/stdio/fcloseall.c: New file.
8468 * libc/stdio64/Makefile.am: Remove missing .def references.
8469 * libc/stdio64/Makefile.in: Regenerated.
8470
d541ba3e
JJ
84712002-07-22 Jeff Johnston <jjohnstn@redhat.com>
8472
8473 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
8474 * libc/machine/powerpc/times.c: New file.
8475 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
8476 * libc/machine/powerpc/Makefile.in: Regenerated.
8477
84782002-07-22 Aldy Hernandez <aldyh@redhat.com>
e964bca8 8479
ba3ccd63
EB
8480 * libc/machine/powerpc/time.c: New file.
8481 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
8482 time.c.
e964bca8
JJ
8483 * libc/machine/powerpc/Makefile.in: Regenerated.
8484
5e7d0a55
TF
84852002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
8486
8487 * libc/libc.texinfo: Change copyright notices to Red Hat from
8488 Cygnus.
8489 * libm/libm.texinfo: Likewise.
8490 * README: Change docs URL to
8491 http://sources.redhat.com/newlib/docs.html.
8492
504628e7
JJ
84932002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8494
ba3ccd63
EB
8495 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
8496 * libc/sys/linux/Makefile.in: Regenerated.
8497 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
8498 * libc/sys/linux/io.c: Add ftruncate syscall.
8499 * libc/sys/linux/fpathconf.c: New file.
8500 * libc/sys/linux/pathconf.c: Ditto.
504628e7 8501 * libc/sys/linux/linux_fsinfo.h: Ditto.
ba3ccd63 8502 * libc/sys/linux/sys/unistd.h: Ditto.
504628e7 8503
b155ad9f
JJ
85042002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8505
8506 * libc/stdio64/Makefile.am: Remove missing files.
8507 * libc/stdio64/Makefile.in: Regenerated.
8508
c119e0ab
JJ
85092002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8510
ba3ccd63
EB
8511 * libc/include/sys/config.h[__i386__][__linux__]: Define
8512 _LARGE64FILE_SOURCE to 1.
8513 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
8514 * libc/sys/linux/Makefile.in: Regenerated.
8515 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
8516 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
8517 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
8518 of <linux/resource.h>.
8519 * libc/sys/linux/getrlimit64.c: New file.
8520 * libc/sys/linux/setrlimit64.c: Ditto.
c119e0ab 8521
9b022d6d
TF
85222002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
8523
8524 * libc/argz/argz_replace.c: Include buf_findstr.h.
8525 * libc/argz/buf_findstr.c: Likewise.
8526 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
8527 value to (char *).
8528 * libc/argz/envz_get.c: Likewise.
8529 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
8530 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
8531 * libc/stdlib/getsubopt.3: New file.
8532 * libc/stdlib/getsubopt.c: New file.
8533 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
8534 Change esp to ebp.
8535
dee51391
JJ
85362002-07-17 Jeff Johnston <jjohnstn@redhat.com>
8537
8538 * configure.host(stdio64_dir): New setting that is used to
8539 enable building of new stdio64 directory.
8540 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
8541 large files.
8542 (stmp-stdio64,stdio64.texi): New targets to optionally add in
8543 stdio64 info to info files.
8544 * libc/Makefile.in: Regenerated.
8545 * libc/configure: Ditto.
8546 * libc/configure.in: Add configuration variables that are set
8547 when stdio64 is selected as subdir in configure.host.
8548 * libc/libc.texinfo: Add optional menu item for Stdio64, based
8549 on whether STDIO64 flag is set or not.
8550 * libc/sys.tex: Add optional stdio64 syscalls based on whether
8551 STDIO64 flag is set or not.
8552 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
8553 _r sycall routines.
8554 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
8555 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
8556 (__SL64): New file flag indicating file is opened via fopen64.
8557 * libc/include/sys/_types.h(_off64_t): Added.
8558 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
8559 * libc/include/sys/reent.h(struct __sFILE64): New file structure
8560 for 64-bit offset large file support.
8561 (__FILE): New intermediate type either set to struct __sFILE64 or
8562 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
8563 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
8564 * libc/reent/Makefile.in: Regenerated.
8565 * libc/reent/fstat64r.c: New file.
8566 * libc/reent/lseek64r.c: Ditto.
8567 * libc/reent/open64r.c: Ditto.
8568 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
17c0c97d 8569 based on whether STDIO64 flag is set.
dee51391
JJ
8570 * libc/stdio/stdio.tex: Add blank line.
8571 * libc/stdio64/Makefile.am: New file.
8572 * libc/stdio64/Makefile.in: Ditto.
8573 * libc/stdio64/fgetpos64.c: Ditto.
8574 * libc/stdio64/fopen64.: Ditto.
8575 * libc/stdio64/freopen64.c: Ditto.
8576 * libc/stdio64/fseeko64.c: Ditto.
8577 * libc/stdio64/fsetpos64.c: Ditto.
8578 * libc/stdio64/ftello64.c: Ditto.
8579 * libc/stdio64/local64.h: Ditto.
8580 * libc/stdio64/stdio64.c: Ditto.
8581 * libc/stdio64/stdio64.tex: Ditto.
8582 * libc/stdio64/tmpfile64.c: Ditto.
8583 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
8584 open64.
8585
778876f6
JJ
85862002-07-16 Jeff Johnston <jjohnstn@redhat.com>
8587
ba3ccd63
EB
8588 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
8589 if LIBC_EXTRA_LIB is present.
8590 * libc/Makefile.in: Regenerated.
778876f6 8591 * libc/libc.texinfo: Add blank line.
ba3ccd63
EB
8592 * libc/argz/Makefile.am: Add doc support.
8593 * libc/search/Makefile.am: Ditto.
8594 * libc/argz/Makefile.in: Regenerated.
8595 * libc/search/Makefile.in: Ditto.
8596 * libc/misc/misc.tex: Add ffs function.
8597 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
778876f6 8598
37981145
JJ
85992002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8600
8601 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
8602 definition that was removed in error.
8603
38b5dc59
JJ
86042002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8605
8606 * libc/include/machine/ieeefp.h: Change to only define
17c0c97d 8607 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
38b5dc59
JJ
8608 __IEEE_LITTLE_ENDIAN must be defined for each platform).
8609 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
8610 remove redundant floating point definitions.
8611
8cb61a96
JJ
86122002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8613
ba3ccd63
EB
8614 * libc/sys/linux/callocr.c: Fix so code references
8615 calloc.
8cb61a96 8616
edba3282
JJ
86172002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8618
ba3ccd63
EB
8619 * libc/sys/linux/Makefile.am: Add new files.
8620 * libc/sys/linux/Makefile.in: Regenerated.
8621 * libc/sys/linux/bp-sym.h: Moved to include directory.
8622 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
8623 * libc/sys/linux/inode.c: Set _LIBC to 1.
8624 * libc/sys/linux/mq_close.c: Ditto.
8625 * libc/sys/linux/mq_getattr.c: Ditto.
8626 * libc/sys/linux/mq_open.c: Ditto.
8627 * libc/sys/linux/mq_receive.c: Ditto.
8628 * libc/sys/linux/mq_send.c: Ditto.
8629 * libc/sys/linux/mq_setattr.c: Ditto.
8630 * libc/sys/linux/mq_unlink.c: Ditto.
8631 * libc/sys/linux/calloc.c: New file.
8632 * libc/sys/linux/callocr.c: Ditto.
8633 * libc/sys/linux/cfreer.c: Ditto.
8634 * libc/sys/linux/config.h: Ditto.
8635 * libc/sys/linux/free.c: Ditto.
8636 * libc/sys/linux/freer.c: Ditto.
8637 * libc/sys/linux/msize.c: Ditto.
8638 * libc/sys/linux/msizer.c: Ditto.
8639 * libc/sys/linux/mstats.c: Ditto.
8640 * libc/sys/linux/mtrim.c: Ditto.
8641 * libc/sys/linux/mtrimr.c: Ditto.
8642 * libc/sys/linux/pvallocr.c: Ditto.
8643 * libc/sys/linux/realloc.c: Ditto.
8644 * libc/sys/linux/reallocr.c: Ditto.
8645 * libc/sys/linux/thread-m.h: Ditto.
8646 * libc/sys/linux/vallocr.c: Ditto.
8647 * libc/sys/linux/bp-checks.h: Ditto.
8648 * libc/sys/linux/libc-symbols.h: Ditto.
8649 * libc/sys/linux/libc-tsd.h: Ditto.
8650 * libc/sys/linux/libintl.h: Ditto.
8651 * libc/sys/linux/malign.c: Ditto.
8652 * libc/sys/linux/malignr.c: Ditto.
8653 * libc/sys/linux/mallinfor.c: Ditto.
8654 * libc/sys/linux/malloc.c: Ditto.
8655 * libc/sys/linux/mallocr.c: Ditto.
8656 * libc/sys/linux/malloptr.c: Ditto.
8657 * libc/sys/linux/mallstatsr.c: Ditto.
8658 * libc/sys/linux/mcheck.c: Ditto.
8659 * libc/sys/linux/mhooks.h: Ditto.
8660 * libc/sys/linux/include/bp-sym.h: Ditto.
8661 * libc/sys/linux/include/malloc.h: Ditto.
8662 * libc/sys/linux/include/mcheck.h: Ditto.
8663 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
8664 getpagesize.c.
8665 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
8666 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
8667 * libc/sys/linux/machine/i386/getpagesize.c: New file.
8668 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
8669 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8670 * libc/sys/linux/machine/i386/sysdep.h: New file.
8671 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
8672 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
8673 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
edba3282 8674
ea20b60a
JJ
86752002-07-12 Jeff Johnston <jjohnstn@redhat.com>
8676
8677 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
8678 instead of <asm/siginfo.h>.
8679 * libc/sys/linux/sys/signal.h: Change to include various linux
8680 <bits/xxx.h> header files, rather than <linux/signal.h> so as
8681 to work with multiple releases of glibc header files.
8682
2fc82912
JJ
86832002-07-11 Chris Demetriou <cgd@broadcom.com>
8684
ba3ccd63
EB
8685 * testsuite/newlib.search/hsearchtest.c: New file to test
8686 newlib/libc/search.
8687 * testsuite/newlib.search/hsearchtest.exp: Likewise.
2fc82912 8688
4a404e97 86892002-07-10 Florian Schrack <florian.schrack@freenet.de>
2a8b4ea3
JJ
8690
8691 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
8692 a terminal.
8693 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
8694
6aec558e
JJ
86952002-07-08 Jeff Johnston <jjohnstn@redhat.com>
8696
ba3ccd63 8697 * libc/include/math.h (MAXFLOAT): Added.
6aec558e 8698
e47e6f0e 8699Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
a31df303
JR
8700
8701 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
8702 Make strcmp.S unconditional.
8703 * libc/machine/sh/Makefile.in: Regenerate.
8704 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
8705 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
8706 for SHcompact.
8707
89ffbd66
JJ
87082002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8709
8710 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
8711 define before including <sys/lock.h>.
8712
ae6c4c84
JJ
87132002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8714
8715 * libc/include/utime.h: Add include of <_ansi.h>.
8716 * libc/sys/linux/Makefile.am: Add utimes.c.
8717 * libc/sys/linux/Makefile.in: Regenerated.
8718 * libc/sys/linux/inode.c(__umask): New static routine.
8719 (umask): Written to use __umask and attempt to thread lock.
8720 (getumask): New function written to use __umask and thread lock.
8721 * libc/sys/linux/utimes.c: New file.
8722 * libc/sys/linux/sys/time.h: Fix utimes prototype.
8723 * libc/sys/linux/sys/utime.h: New file.
8724
a6cac46c
TF
87252002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
8726
8727 * libtool.m4: New file.
8728 * libc/sys/linux/process.c: Implement vfork in terms of fork,
8729 rather than as a syscall.
8730
30b2092f
JJ
87312002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8732
8733 * libc/include/stdio.h: Add new prototypes.
8734 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
8735 * libc/stdio/Makefile.in: Regenerated.
8736 * libc/stdio/fseek.c: Add fseeko documentation.
8737 * libc/stdio/ftell.c: Add ftello documentation.
8738 * libc/stdio/fseeko.c: New file.
8739 * libc/stdio/ftello.c: New file.
8740
7501704d
JJ
87412002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8742
ba3ccd63
EB
8743 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
8744 * libc/stdio/Makefile.in: Regenerated.
8745 * libc/stdio/asprintf.c: New file.
8746 * libc/stdio/vasprintf.c: Ditto.
8747 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
8748 the buffer for asprintf support.
8749 * libc/stdio/sprintf.c: Add asprintf documentation.
8750 * libc/stdio/vfprintf.c: Add vasprintf documentation.
8751 * libc/include/stdio.h: Add new prototypes.
7501704d 8752
66eee32b
TF
87532002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
8754
8755 * libc/search/hcreate.c: Remove advertising clause from license.
8756 * libc/search/hcreate_r.c: Likewise.
8757
cec4a9f8
JJ
87582002-07-02 Chris Demetriou <cgd@broadcom.com>
8759
ba3ccd63
EB
8760 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
8761 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
8762 Check that one of them is defined and error out if not.
cec4a9f8 8763 Add any platforms defined in <machine/ieeefp.h> that are missing.
ba3ccd63
EB
8764 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
8765 (DB_LITTLE_ENDIAN): New defines.
8766 * libc/search/hash.c: Replace all incorrect checks for
8767 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
8768 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
8769 * libc/search/hash_page.c: Likewise.
cec4a9f8 8770
2d5eb17e
TF
87712002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
8772
8773 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
8774
c1a3171f
JJ
87752002-06-27 Benjamin Kosnik <bkoz@redhat.com>
8776
ba3ccd63
EB
8777 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
8778 * libc/include/time.h: Same.
8779 * libc/include/string.h: Same.
8780 * libc/include/stdlib.h: Same.
8781 * libc/include/signal.h: Same.
8782 * libc/include/setjmp.h: Same.
8783 * libc/include/math.h: Same.
8784 * libc/include/locale.h: Same.
8785 * libc/include/ctype.h: Same.
8786 * libc/include/machine/setjmp.h: Same.
8787 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
8788 (_END_STD_C): Add.
c1a3171f 8789
533b4e66
JJ
87902002-06-27 Jeff Johnston <jjohnstn@redhat.com>
8791
ba3ccd63
EB
8792 * libc/include/sys/_types.h: Define _ssize_t as int if int is
8793 32-bits, otherwise define it as long.
8794 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
8795 and define ssize_t as _ssize_t.
8796 * libc/reent/readr.c: Change return type to _ssize_t.
8797 * libc/reent/writer.c: Ditto.
8798 * libc/sys/linux/Makefile.am: Add aio.c.
8799 * libc/sys/linux/Makefile.in: Regenerated.
8800 * libc/sys/linux/aio.c: New file.
8801 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
8802 * libm/common/fdlibm.h: Undef __P before defining it.
533b4e66 8803
c36e6dd7
TF
88042002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
8805
54be629f
TF
8806 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
8807 exponent_is_even_int variable. Handle case where x is
8808 negative, and y is an odd integer.
8809 * libm/mathfp/sf_pow.c (powf): Likewise.
8810
c36e6dd7
TF
8811 * libm/mathfp/er_lgamma.c: Remove __kernel references.
8812 * libm/mathfp/erf_lgamma.c: Likewise.
8813 * libm/mathfp/s_tgamma.c: Likewise.
8814 * libm/mathfp/sf_tgamma.c: Likewise.
8815
baf051ca
JJ
88162002-06-27 Jeff Johnston <jjohnstn@redhat.com>
8817
ba3ccd63
EB
8818 * libc/sys/linux/Makefile.am: Add new clock routines.
8819 * libc/sys/linux/Makefile.in: Regenerated.
8820 * libc/sys/linux/clock_getres.c: New file.
8821 * libc/sys/linux/clock_gettime.c: Ditto.
8822 * libc/sys/linux/clock_settime.c: Ditto.
8823 * libc/sys/linux/hp-timing.h: Ditto.
8824 * libc/sys/linux/libc-internal.h: Ditto.
8825 * libc/sys/linux/sysconf.c: Fix typo.
8826 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
8827 * libc/sys/linux/machine/hp-timing.h: New file.
8828 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
8829 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8830 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
8831 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
8832 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
8833 * libc/sys/linux/sys/linux_time.h: New file.
8834 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
8835 replace with <sys/linux_time.h>.
baf051ca 8836
0431ed4e
JR
8837Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
8838
8839 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
8840
fc067ba5
JJ
88412002-06-25 Jeff Johnston <jjohnstn@redhat.com>
8842
ba3ccd63
EB
8843 * libc/sys/linux/Makefile.am: Consolidate additional items under
8844 ADD_OBJS.
8845 * libc/sys/linux/Makefile.in: Regenerated.
fc067ba5 8846
ffddf61e
JJ
88472002-06-25 Jeff Johnston <jjohnstn@redhat.com>
8848
ba3ccd63
EB
8849 * libc/sys/linux/sethostname.c: New file.
8850 * libc/sys/linux/Makefile.am: Add sethostname.c support.
8851 * libc/sys/linux/Makefile.in: Regenerated.
ffddf61e 8852
d5487d3f
TF
88532002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8854
8855 * libc/search/db_local.h: New file.
8856 * libc/include/db.h: Remove.
8857 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
8858 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
8859 "db_local.h".
8860 * libc/search/hash_bigkey.c: Likewise.
8861 * libc/search/hash_buf.c: Likewise.
8862 * libc/search/hash_func.c: Likewise.
8863 * libc/search/hash_log2.c: Likewise.
8864 * libc/search/hash_page.c: Likewise.
8865
88662002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
e08a6118 8867
1e7ca711 8868 * libc/machine/sh/strlen.S: New file.
e08a6118
JR
8869 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
8870 * libc/machine/sh/Makefile.am: Regenerate.
8871
59c6d6c4
JJ
88722002-06-24 Jeff Johnston <jjohnstn@redhat.com>
8873
ba3ccd63
EB
8874 * libc/sys/linux/gethostname.c: Change name to __gethostname and
8875 add gethostname alias.
59c6d6c4 8876
a70486d7
JJ
88772002-06-24 Jeff Johnston <jjohnstn@redhat.com>
8878
8879 * libc/include/math.h: Remove <sys/types.h>.
a5dadf33 8880 (__dmath): Use __ULong instead of __uint32_t.
a70486d7 8881 * libc/include/sys/reent.h: If long or int is not 32-bits,
a5dadf33 8882 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
a70486d7
JJ
8883 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
8884 * libm/common/fdlibm.h: Ditto.
8885
3118725a
TF
88862002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8887
8888 * libc/include/ndbm.h: Remove.
8889 * libc/search/ndbm.c: Remove.
8890
30a06168
TF
88912002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
8892
8893 * libc/stdio/fseek.c (fseek): Fix braces.
8894
01f5155e
CV
88952002-06-21 Corinna Vinschen <corinna@vinschen.de>
8896
8897 * libc/time/strftime.c (strftime): Add %e format specifier.
8898
930bc96b
TF
88992002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
8900
8901 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
8902 previously defined.
8903
55105f86
JJ
89042002-06-21 Richard Earnshaw (rearnsha@arm.com)
8905
ba3ccd63
EB
8906 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
8907 (BYTE_ORDER): Define as appropriate for the target.
55105f86 8908
2e78444a
JJ
89092002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8910
8911 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
8912 to _ssize_t.
8913 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
8914
d427d092
JJ
89152002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8916
8917 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
8918 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
8919 [HAVE_GETDATE](getdate_err): New error code.
8920 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
8921 * libc/stdio/Makefile.in: Regenerated.
8922 * libc/stdio/getdelim.c: New file.
8923 * libc/stdio/getline.c: Ditto.
8924 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
8925 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
8926 * libc/sys/linux/Makefile.in: Regenerated.
8927 * libc/sys/linux/getdate.c: New file.
8928 * libc/sys/linux/getdate_err.c: Ditto.
8929 * libc/sys/linux/ntp_gettime.c: Ditto.
8930 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
8931 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
8932
35728d4f
JJ
89332002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8934
8935 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
8936 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
8937 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
8938 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
8939 * libc/include/sys/param.h: Remove i386 case which is handled
8940 by default case.
8941 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
8942 definitions in case they are already defined.
8943 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
8944 _IEEE_LITTLE_ENDIAN flags.
8945 * libc/include/sys/reent.h: Change __uint32_t references to
8946 use _ULong instead.
8947 (_REENT_GETDATE_REENT_P): New macro.
8948 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
8949 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
8950 * libc/search/hash.h: Add default setting of BYTE_ORDER,
8951 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
8952 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
8953 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
8954 pid_t, off_t, loff_t, caddr_t, and daddr_t type
8955 definitions which are done by subsequent glibc headers.
8956 Add macro definitions to prevent subsequent header files from
8957 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
8958 intptr_t to after glibc definitions of types they are based on.
8959
4a2bfab7
JJ
89602002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8961
8962 * libc/include/errno.h: Protect from multiple inclusion.
8963
f42d18ea
NC
89642002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
8965
8966 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
8967
a7b23a8f
TF
89682002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
8969
8970 * Makefile.am (LIB_OBJECTLISTS): Add
8971 libc/search/objectlist.awk.in.
8972 * libc/Makefile.am (SUBDIRS): Add search.
8973 (SUBLIBS): Add search/libsearch.la.
8974 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
8975 * libc/search: New directory.
8976 * libc/search/Makefile.am: New file.
8977 * libc/search/extern.h: New file.
8978 * libc/search/hash.c: New file.
8979 * libc/search/hash.h: New file.
8980 * libc/search/hash_bigkey.c: New file.
8981 * libc/search/hash_buf.c: New file.
8982 * libc/search/hash_func.c: New file.
8983 * libc/search/hash_log2.c: New file.
8984 * libc/search/hash_page.c: New file.
8985 * libc/search/hcreate.3: New file.
8986 * libc/search/hcreate.c: New file.
a7b23a8f
TF
8987 * libc/search/hcreate_r.c: New file.
8988 * libc/search/ndbm.c: New file.
8989 * libc/search/page.h: New file.
8990 * libc/search/tdelete.c: New file.
8991 * libc/search/tdestroy.c: New file.
8992 * libc/search/tfind.c: New file.
8993 * libc/search/tsearch.3: New file.
8994 * libc/search/tsearch.c: New file.
8995 * libc/search/twalk.c: New file.
8996 * libc/include/db.h: New file.
8997 * libc/include/ndbm.h: New file.
8998 * libc/include/search.h: New file.
8999 * libc/include/sys/queue.h: New file.
9000 * libc/include/sys/cdefs.h: New file.
9001 * libc/include/sys/param.h
9002 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
9003 LITTLE_ENDIAN or BIG_ENDIAN.
9004 * libc/include/sys/errno.h (EFTYPE): New macro.
9005 * libc/search/bsearch.c: Move from libc/stdlib.
9006 * libc/search/qsort.c: Likewise.
9007 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
9008 qsort.c.
9009 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
9010 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
9011
ef467338
JJ
90122002-06-19 Jeff Johnston <jjohnstn@redhat.com>
9013
ba3ccd63
EB
9014 * libc/sys/linux/Makefile.am: Add support for message queue routines,
9015 ipc routines, and ftok.
9016 * libc/sys/linux/Makefile.in: Regenerated.
9017 * libc/sys/linux/ftok.c: New file.
9018 * libc/sys/linux/ipc.c: Ditto.
9019 * libc/sys/linux/mq_close.c: Ditto.
9020 * libc/sys/linux/mq_getattr.c: Ditto.
9021 * libc/sys/linux/mq_notify.c: Ditto.
9022 * libc/sys/linux/mq_open.c: Ditto.
9023 * libc/sys/linux/mq_receive.c: Ditto.
9024 * libc/sys/linux/mq_send.c: Ditto.
9025 * libc/sys/linux/mq_setattr.c: Ditto.
9026 * libc/sys/linux/mq_unlink.c: Ditto.
9027 * libc/sys/linux/mqlocal.h: Ditto.
9028 * libc/sys/linux/include/mqueue.h: Ditto.
9029 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
9030 __uid_t_defined.
ef467338 9031
7f55c08c
TF
90322002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
9033
9034 * libm/common/sf_lround.c (round): Change name to: (lround).
9035 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
9036 remquof.
9037
c9ca68d7
TF
90382002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
9039
9040 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
9041 procedure.
9042 (newlib_pass_fail): Change to compile and run only one file.
9043 * testsuite/newlib.locale/locale.exp: Use new
9044 newlib_pass_fail_all procedure.
9045 * testsuite/newlib.string/string.exp: Likewise.
9046
4ecedd09
DB
90472002-06-18 Dave Brolley <brolley@redhat.com>
9048
9049 From Catherine Moore, Michael Meissner, Richard Sandiford:
9050 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
9051 (_JBTYPE): Ditto.
9052 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
9053 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
9054 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
9055 * configure.host: Support frv-*-*.
9056 * libc/machine/frv/Makefile.am: New file.
9057 * libc/machine/frv/configure.in: New file.
9058 * libc/machine/frv/setjmp.S: New file.
9059
af1c257a
TF
90602002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
9061
9062 * libc/include/ctype.h: Remove isblank macro.
9063
9064 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
9065 * libc/ctype/isblank.c: New file.
9066 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
9067 declaration. Add isblank macro.
9068
4e04fa90
JJ
90692002-06-18 Jeff Johnston <jjohnstn@redhat.com>
9070
ba3ccd63
EB
9071 * testsuite/newlib.stdlib/atexit.c: New file.
9072 * testsuite/newlib.stdlib/atexit.exp: Ditto.
9073 * testsuite/newlib.string/tstring.c: Change default start size
9074 to something more reasonable for embedded platforms.
4e04fa90 9075
b56d7e79
TF
90762002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
9077
ece3c72f
TF
9078 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
9079
b56d7e79
TF
9080 * libc/argz: New directory.
9081 * libc/argz/*: New files.
9082 * libc/argz/argz_add.c: New file.
9083 * libc/argz/argz_add_sep.c: New file.
9084 * libc/argz/argz_append.c: New file.
9085 * libc/argz/argz_count.c: New file.
9086 * libc/argz/argz_create.c: New file.
9087 * libc/argz/argz_create_sep.c: New file.
9088 * libc/argz/argz_delete.c: New file.
9089 * libc/argz/argz_extract.c: New file.
9090 * libc/argz/argz_insert.c: New file.
9091 * libc/argz/argz_next.c: New file.
9092 * libc/argz/argz_replace.c: New file.
9093 * libc/argz/argz_stringify.c: New file.
9094 * libc/argz/buf_findstr.c: New file.
9095 * libc/argz/envz_add.c: New file.
9096 * libc/argz/envz_entry.c: New file.
9097 * libc/argz/envz_get.c: New file.
9098 * libc/argz/envz_merge.c: New file.
9099 * libc/argz/envz_remove.c: New file.
9100 * libc/argz/envz_strip.c: New file.
9101 * libc/include/argz.h: New file.
9102 * libc/include/envz.h: New file.
9103 * Makefile.am (LIBC_OBJECTLISTS): Add
9104 libc/argz/objectlist.awk.in.
9105 * libc/Makefile.am (SUBDIRS): Add argz.
9106 (SUBLIBS): Add argz/libargz.la.
9107 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
9108 * libc/include/errno.h: Add error_t typedef.
9109
d062d3dd
JJ
91102002-06-13 Jeff Johnston <jjohnstn@redhat.com>
9111
9112 * libc/include/stdlib.h: Add _Exit prototype.
9113 * libc/stdlib/Makefile.am: Add _Exit.c support.
9114 * libc/stdlib/Makefile.in: Ditto.
9115 * libc/stdlib/_Exit.c: New file.
9116
a47e66ae
JJ
91172002-06-13 Stephen L. Moshier <steve@moshier.net>
9118
9119 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
9120 x is close to -1.0 and y is very large to use ax (absolute value)
9121 instead of x.
9122 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
9123
13f7d71f
JR
9124Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
9125
9126 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
9127 Fix clobbering bytes before destination if src and dst have same
9128 non-zero misalignment.
1f1fb421
JR
9129
9130 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
9131 Fixed bug in writing end of set region.
9132
b2e8018f
CF
91332002-06-10 Christopher Faylor <cgf@redhat.com>
9134
9135 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
9136 spawnve declaration.
9137
0953fe64
TF
91382002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
9139
9140 * libm/common/s_fdim.c: New file.
9141 * libm/common/s_fma.c: Likewise.
9142 * libm/common/s_fmax.c: Likewise.
9143 * libm/common/s_fmin.c: Likewise.
9144 * libm/common/s_fpclassify.c: Likewise.
9145 * libm/common/s_lrint.c: Likewise.
9146 * libm/common/s_lround.c: Likewise.
9147 * libm/common/s_nearbyint.c: Likewise.
9148 * libm/common/s_remquo.c: Likewise.
9149 * libm/common/s_round.c: Likewise.
9150 * libm/common/s_scalbln.c: Likewise.
9151 * libm/common/s_signbit.c: Likewise.
9152 * libm/common/s_trunc.c: Likewise.
9153 * libm/common/sf_fdim.c: Likewise.
9154 * libm/common/sf_fma.c: Likewise.
9155 * libm/common/sf_fmax.c: Likewise.
9156 * libm/common/sf_fmin.c: Likewise.
9157 * libm/common/sf_lrint.c: Likewise.
9158 * libm/common/sf_lround.c: Likewise.
9159 * libm/common/sf_nearbyint.c: Likewise.
9160 * libm/common/sf_remquo.c: Likewise.
9161 * libm/common/sf_round.c: Likewise.
9162 * libm/common/sf_scalbln.c: Likewise.
9163 * libm/common/sf_trunc.c: Likewise.
9164 * libm/math/w_exp2.c: Likewise.
9165 * libm/math/w_tgamma.c: Likewise.
9166 * libm/math/wf_exp2.c: Likewise.
9167 * libm/math/wf_tgamma.c: Likewise.
9168 * libm/mathfp/s_exp2.c: Likewise.
9169 * libm/mathfp/s_tgamma.c: Likewise.
9170 * libm/mathfp/sf_exp2.c: Likewise.
9171 * libm/mathfp/sf_tgamma.c: Likewise.
9172 * libm/math/er_gamma.c: Fix return value.
9173 * libm/math/erf_gamma.c: Likewise.
9174 * libm/mathfp/er_gamma.c: Likewise.
9175 * libm/mathfp/erf_gamma.c: Likewise.
9176 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
9177 declarations and macros.
9178 Regenerated all Makefile.in, aclocal.m4 and configure files to
9179 use new libtool macros in top-level libtool.m4
9180
39e65e01
JJ
91812002-06-05 Jeff Johnston <jjohnstn@redhat.com>
9182
ba3ccd63
EB
9183 * libc/include/string.h[__linux__]: Add strsignal prototype.
9184 * libc/include/sys/lock.h: New file with default locking support.
9185 * libc/include/sys/reent.h: Add signal buffer support for strsignal
9186 and psignal.
9187 * libc/posix/Makefile.am: Add support for readdir_r.c.
9188 * libc/posix/Makefile.in: Regenerated.
9189 * libc/posix/closedir.c: Add locking support and hash table cleanup.
9190 * libc/posix/opendir.c: Add lock support.
9191 * libc/posix/readdir.c: Ditto.
9192 * libc/posix/rewinddir.c: Ditto.
9193 * libc/posix/scandir.c: Ditto.
9194 * libc/posix/seekdir.c: Ditto.
9195 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
9196 clean up leftover hash table entries.
9197 * libc/posix/readdir_r.c: New file.
9198 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
9199 * libc/sys/linux/Makefile.in: Regenerated.
9200 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
9201 * libc/sys/linux/sys/signal.h: Add psignal prototype.
9202 * libc/sys/linux/psignal.c: New file.
9203 * libc/sys/linux/strsignal.c: Ditto.
39e65e01 9204
cc890e89
CV
92052002-06-03 Corinna Vinschen <corinna@vinschen.de>
9206
9207 * libc/include/sys/types.h: Don't define dev_t when compiling for
9208 Cygwin.
9209
ea55e3f7
JJ
92102002-05-31 Jeff Johnston <jjohnstn@redhat.com>
9211
ba3ccd63
EB
9212 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
9213 make siglist.inc dependent on sig.c instead of signal.c.
9214 * libc/sys/linux/Makefile.in: Regenerated.
9215 * libc/sys/linux/sig.c: Rename from signal.c and change code to
9216 use NSIG instead of _NSIG.
9217 * libc/sys/linux/sigaction.c: New file.
9218 * libc/sys/linux/signal.c: Changed to be linux signal() function
9219 so as to override regular newlib default signal.c.
9220 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
9221 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
9222 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
9223 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
9224 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
9225 default linux sigset_t typedef by defining it equal to __sigset_t.
9226 * libc/unix/sigset.c: Add check so code isn't compiled on systems
9227 with a sigset_t that isn't implemented with a single int.
ea55e3f7 9228
9d362914
JJ
92292002-05-30 Jeff Johnston <jjohnstn@redhat.com>
9230
ba3ccd63
EB
9231 * libc/sys/linux/Makefile.am: Add support for new files.
9232 * libc/sys/linux/Makefile.in: Regenerated.
9233 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
9234 * libc/sys/linux/signal.c: Change to use real-time syscalls for
9235 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
9236 it is in a separate file now.
9237 * libc/sys/linux/machine/i386/Makefile.am
9238 * libc/sys/linux/machine/i386/Makefile.in
9239 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
9240 * libc/sys/linux/sigaction.c: New file.
9241 * libc/sys/linux/sigqueue.c: Ditto.
9242 * libc/sys/linux/sigwait.c: Ditto.
9243 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
9244 * libc/sys/linux/kernel_sigaction.h: Ditto.
9d362914 9245
b1f07180
JJ
92462002-05-28 Jeff Johnston <jjohnstn@redhat.com>
9247
ba3ccd63
EB
9248 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
9249 tcsendbrk.c.
9250 * libc/sys/linux/Makefile.in: Regenerated.
9251 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
9252 tcgetpgrp(), and tcsetpgrp() functions.
9253 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
9254 to get __MAX_BAUD rate.
9255 * libc/sys/linux/machine/i386/include/termios.h: New file.
9256 * libc/include/machine/termios.h: Ditto.
9257 * libc/sys/linux/cfspeed.c: Ditto.
9258 * libc/sys/linux/tcsendbrk.c: Ditto.
b1f07180 9259
d29587b4
JJ
92602002-05-24 Jeff Johnston <jjohnstn@redhat.com>
9261
ba3ccd63
EB
9262 * libc/include/string.h: Add strnlen and strerror_r prototypes.
9263 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
9264 * libc/string/Makefile.in: Regenerated.
9265 * libc/string/strerror_r.c: New file.
9266 * libc/string/strnlen.c: New file.
9267 * libc/sys/linux/Makefile.am: Add rename.c.
9268 * libc/sys/linux/Makefile.in: Regenerated.
9269 * libc/sys/linux/rename.c: New file to override default rename.
d29587b4 9270
9a292385
TF
92712002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
9272
9273 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
9274 * libc/sys/linux/sys/time.h: Add conversion macros.
9275 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
9276 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
9277 * libc/sys/linux/gethostname.c: New file.
9278 * libc/sys/linux/seteuid.c: New file.
9279 * libc/sys/linux/sysctl.c: New file.
17c0c97d 9280
7a364eb3
JJ
92812002-05-23 Jeff Johnston <jjohnstn@redhat.com>
9282
ba3ccd63
EB
9283 * libc/string/Makefile.am: Add support for strsep.c.
9284 * libc/string/Makefile.in: Regenerated.
9285 * libc/string/strsep.c: New file.
9286 * libc/string/strtok.c: Change to call __strtok_r service routine.
9287 * libc/string/strtok_r.c: Add __strtok_r routine which takes
9288 additional flag parameter regarding whether to skip leading delimeters.
9289 Change strtok_r to call __strtok_r.
7a364eb3 9290
164ee5b0
JJ
92912002-05-23 Gareth Pearce <tilps@hotmail.com>
9292
ba3ccd63
EB
9293 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
9294 * libc/stdio/Makefile.in: Regenerated.
9295 * libc/stdio/setbuffer.c: New file.
9296 * libc/stdio/setlinebuf.c: New file.
164ee5b0 9297
f6b2b567
JJ
92982002-05-23 Jeff Johnston <jjohnstn@redhat.com>
9299
ba3ccd63
EB
9300 * libc/sys/linux/Makefile.am: Add resource.c.
9301 * libc/sys/linux/Makefile.in: Regenerated.
9302 * libc/sys/linux/resource.c: New file.
9303 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
9304 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
9305 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
9306 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
9307 are now found in libc/sys/linux/resource.c.
f6b2b567 9308
afe56517
JJ
93092002-05-23 Jeff Johnston <jjohnstn@redhat.com>
9310
ba3ccd63
EB
9311 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
9312 to use void * pointers and comply with Single Unix spec.
9313 * libc/string/bcmp.c: Change to use void * instead of char *.
9314 * libc/string/bcopy.c: Ditto.
9315 * libc/string/bzero.c: Ditto.
afe56517 9316
7736feb2
JJ
93172002-05-22 Jeff Johnston <jjohnstn@redhat.com>
9318
9319 * libc/sys/linux/shm_open.c: New file.
9320 * libc/sys/linux/shm_unlink.c: Ditto.
9321 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
9322 shm_unlink.c.
9323 * libc/sys/linux/Makefile.in: Regenerated.
9324 * libc/sys/linux/sys/types.h: Add some additional checks to see
9325 if clock_t or time_t is already defined.
9326
19f111bd
JJ
93272002-05-22 Jeff Johnston <jjohnstn@redhat.com>
9328
ba3ccd63
EB
9329 * Makefile.am: Don't pass $toollibdir down directly in
9330 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
9331 Pass it under the name: top_toollibdir.
9332 * Makefile.in: Regenerated.
19f111bd 9333
c811b1ee
CV
93342002-05-22 Corinna Vinschen <vinschen@redhat.com>
9335
9336 * libc/include/sys/types.h: Revert previous patch.
9337
2b43ad33
CV
93382002-05-22 Corinna Vinschen <vinschen@redhat.com>
9339
9340 * libc/include/sys/types.h: Include cygwin/types.h always under
9341 Cygwin, not only if _POSIX_THREADS is defined.
9342
dd671cde
TF
93432002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
9344
9345 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
9346
5e2cbfb6
JJ
93472002-05-17 Jeff Johnston <jjohnstn@redhat.com>
9348
9349 * Makefile.am: Copy and install headers from sys/machine/include
9350 directory. Also pass $toollibdir to lower-level directories.
9351 * Makefile.in: Regenerated.
17c0c97d 9352 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
5e2cbfb6
JJ
9353 stderr to use _REENT macro instead of _impure_ptr directly.
9354 * libc/include/sys/config.h[__i386__][__linux__]: Define
9355 __DYNAMIC_REENT__.
17c0c97d 9356 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
5e2cbfb6
JJ
9357 call to __getreent() function if !__SINGLE_THREAD__ and
9358 __DYNAMIC_REENT__ is set.
9359 * libc/reent/Makefile.am: Add support for getreent.c.
9360 * libc/reent/Makefile.in: Regenerated.
9361 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
9362 * libc/sys/linux/Makefile.am: Add support for new files.
9363 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
9364 * libc/sys/linux/Makefile.in: Regenerated.
9365 * libc/sys/linux/configure: Ditto.
9366 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
9367 __close, __read, __write, __poll, __open, __lseek, __fcntl from
9368 their __libc_ counterparts.
9369 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
9370 and weak-alias to regular names.
9371 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
9372 to pread64 and __pread64.
9373 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
9374 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
9375 weak-alias to pwrite64.
9376 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
9377 __libc_sched_getscheduler, __libc_sched_get_priority_max,
9378 __libc_sched_get_priority_min, and __libc_sched_setschedule to
17c0c97d 9379 name with __ instead of __libc_.
5e2cbfb6
JJ
9380 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
9381 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
9382 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
9383 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
9384 to raise.
9385 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
9386 __libc_send to __send.
9387 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
9388 __gettimeofday.
9389 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
9390 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
9391 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
9392 type and typedef __jmp_buf to jmp_buf.
9393 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
9394 setjmp.S.
9395 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
9396 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
9397 section.
9398 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
9399 prefix for function macros and then use weak_alias() to regular names.
9400 * libc/sys/linux/machine/i386/syscall.h: Ditto.
9401 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
9402 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
9403 to be flockfile() and funlockfile() respectively.
9404 * libc/sys/linux/sys/types.h
9405 * libc/reent/getreent.c: New file.
9406 * libc/sys/linux/flockfile.c: Ditto.
9407 * libc/sys/linux/funlockfile.c: Ditto.
9408 * libc/sys/linux/getreent.c: Ditto.
9409 * libc/sys/linux/pread.c: Ditto.
9410 * libc/sys/linux/pwrite.c: Ditto.
9411 * libc/sys/linux/raise.c: Ditto.
9412 * libc/sys/linux/system.c: Ditto.
9413 * libc/sys/linux/tcdrain.c: Ditto.
9414 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
9415 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
9416 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
9417 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
9418 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
9419
7fc85bd1
TF
94202002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
9421
9422 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
9423 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
9424 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
9425 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
9426
6935231f 9427Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
d7a2f413
JR
9428
9429 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
6935231f
JR
9430 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
9431 exit point.
d7a2f413 9432
3a6cb01b
TF
94332002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
9434
a68fa571
TF
9435 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
9436 options when testing natively on i[3456]86-*-linux.
9437
3a6cb01b
TF
9438 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
9439 only one pass or fail per test file. Trim \r's from output
9440 values received from test programs. Remove support for named
9441 tests.
9442 * testsuite/newlib.locale/UTF-8.exp: Update to support new
9443 newlib_check_output behaviour.
9444 * testsuite/newlib.locale/UTF-8.c: Likewise.
9445
dc824ef7
JJ
94462002-05-15 Jeff Johnston <jjohnstn@redhat.com>
9447
ba3ccd63
EB
9448 * libc/include/stdlib.h: Add on_exit prototype.
9449 * libc/include/sys/reent.h (struct _atexit): Add argument array
9450 and bits to track type of exit routine to support both on_exit
9451 and atexit.
9452 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
9453 by default and change the setting of the atexit structure.
9454 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
9455 * libc/stdlib/on_exit.c: New file.
9456 * libc/stdlib/Makefile.am: Add support for on_exit.
9457 * libc/stdlib/Makefile.in: Regenerated.
9458 * libc/stdlib/atexit.c: Change to initialize types field.
9459 * libc/stdlib/exit.c: Change to look at types field for each
9460 exit routine and either call an atexit-style or an on_exit-style
9461 routine accordingly.
dc824ef7 9462
48d91b4a
JJ
94632002-05-13 Jeff Johnston <jjohnstn@redhat.com>
9464
ba3ccd63
EB
9465 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
9466 allow v specifier with n or L specifiers. For vector c format,
9467 move tmp declaration to the top.
48d91b4a 9468
024739eb
JJ
94692002-05-13 Jeff Johnston <jjohnstn@redhat.com>
9470
ba3ccd63
EB
9471 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
9472 the original format specifier when looping for vectors to compensate
9473 for any changes made in vector %g format processing.
9474 Also add syntax checking for various invalid scenarios
9475 involving vector format extensions.
9476 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
9477 return code setting for vector formats. Also treat vector
9478 separator mismatch as a match error instead of an input error.
9479 Perform some syntax checking for vector formats.
024739eb 9480
7d2ce898
TF
94812002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9482
9483 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
9484 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
9485 * libc/string/strlcat.c: New file.
9486 * libc/string/strlcpy.c: New file.
9487
809b6ce7
JJ
94882002-05-10 Jeff Johnston <jjohnstn@redhat.com>
9489
9490 * libc/string/strchr.c: Fix comment typo.
9491
76490806
TF
94922002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
9493
0c048a9a
TF
9494 * acinclude.m4: Add support for --enable-newlib-multithread.
9495 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
9496 --enable-newlib-multithread=no.
9497
76490806
TF
9498 * libc/stdio/getc_u.c: New file.
9499 * libc/stdio/getchar_u.c: New file.
9500 * libc/stdio/putc_u.c: New file.
9501 * libc/stdio/putchar_u.c: New file.
9502 * libc/include/stdio.h: Add declarations for getc_unlocked,
9503 getchar_unlocked, putc_unlocked and putchar_unlocked.
9504 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
9505 (CHEWOUT_FILES): Add new files' .def's.
9506 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
9507
96bff22c
JR
9508Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
9509
9510 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
9511 Also handle as single quad word when destination ends at last
9512 byte of first quad word. Fix byte selection in single quad code.
9513
e71372fa
TF
95142002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
9515
9516 * libc/include/sys/stdio.h: New file.
9517 * libc/sys/linux/sys/stdio.h: New file.
9518 * libc/include/stdio.h: Add declarations for flockfile,
9519 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
9520 * libc/stdio/clearerr.c: Add file locking.
9521 * libc/stdio/fclose.c: Likewise.
9522 * libc/stdio/feof.c: Likewise.
9523 * libc/stdio/ferror.c: Likewise.
9524 * libc/stdio/fflush.c: Likewise.
9525 * libc/stdio/fgetc.c: Likewise.
9526 * libc/stdio/fgetpos.c: Likewise.
9527 * libc/stdio/fgets.c: Likewise.
9528 * libc/stdio/fileno.c: Likewise.
9529 * libc/stdio/fputc.c: Likewise.
9530 * libc/stdio/fputs.c: Likewise.
9531 * libc/stdio/fread.c: Likewise.
9532 * libc/stdio/freopen.c: Likewise.
9533 * libc/stdio/fseek.c: Likewise.
9534 * libc/stdio/ftell.c: Likewise.
9535 * libc/stdio/fwrite.c: Likewise.
9536 * libc/stdio/getc.c: Likewise.
9537 * libc/stdio/putc.c: Likewise.
9538 * libc/stdio/setvbuf.c: Likewise.
9539 * libc/stdio/ungetc.c: Likewise.
9540 * libc/stdio/vfprintf.c: Likewise.
9541
a03790e4
JJ
95422002-05-06 Jeff Johnston <jjohnstn@redhat.com>
9543
60b2107c
TF
9544 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
9545 support for 'p' format. Fix code to print bytes for vector
9546 integer formats that do not specify 'h' or 'l'.
9547 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
9548 for 'p' specifier. Fix code to scan 16 bytes for vector integer
9549 formats that do not specify 'h' or 'l'.
9550
9551 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
9552
9c7d6a9d
TF
95532002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
9554
9555 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
9556 (_sbrk): Add cast of return value.
9557
c33c3635
JJ
95582002-05-06 Jeff Johnston <jjohnstn@redhat.com>
9559
9560 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
9561 (_REENT_L64A_BUF): New macro for accessing area.
9562 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
9563 * libc/stdlib/Makefile.in: Regenerated.
9564 * libc/stdlib/a64l.c: New file.
9565 * libc/stdlib/l64a.c: New file.
9566
f78e59a8
JJ
95672002-05-06 Jeff Johnston <jjohnstn@redhat.com>
9568
ba3ccd63
EB
9569 * libc/unix/pread.c: Fix typo for _pread_r.
9570 * libc/unix/pwrite.c: Fix type for _pwrite_r.
9571 * libc/sys/linux/pread64.c: Fix typo for read syscall.
9572 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
f78e59a8 9573
4b3f6588
CF
95742002-05-03 Christopher Faylor <cgf@redhat.com>
9575
9576 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
9577
e911832c
TF
95782002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
9579
9580 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
9581
0d0fdc8d
CF
95822002-05-01 Christopher Faylor <cgf@redhat.com>
9583
9584 * utmp.h: Define more UNIX constants.
9585
1e997c56
TF
95862002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
9587
0717f01c
TF
9588 * Makefile.am: Add support for checking multilibs.
9589
09841445
TF
9590 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
9591 (SUBDEFS): Add LIBC_EXTRA_DEF.
9592 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
9593 (LIBC_EXTRA_DEF): Likewise.
9594 (extra_dir): Likewise.
9595 * libc/machine/xscale/machine: New directory.
9596 * libc/machine/xscale/machine/profile.h: New file.
9597
1e997c56
TF
9598 * Makefile.am (site.exp): Remove newlib_cflags. Add
9599 multibuildtop.
9600 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
9601 * testsuite/lib/flags.exp: New file.
9602 * testsuite/lib/newlib.exp: Load flags.exp.
9603 (newlib_target_compile): Remove libgloss directory references.
9604 (newlib_init): Remove newlib_cflags references.
9605
4cf4f010
TF
96062002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
9607
f6bdb6f9
TF
9608 * testsuite/lib/newlib.exp (newlib_target_compile): Change
9609 method of finding libgloss_target_dir.
9610
4cf4f010
TF
9611 * Makefile.am (site.exp): Change host_alias, host_triplet,
9612 target_alias, target_triplet to refer to gcc's host and target
9613 variables (newlib's build and host variables).
9614 * testsuite/lib/newlib.exp (newlib_init): Change build
9615 references to host references, host references to target
9616 references to reflect Makefile.am changes.
9617 (newlib_target_compile): Likewise.
9618 (newlib_finish): Likewise.
9619
83096ae8
JJ
96202002-04-29 Jeff Johnston <jjohnstn@redhat.com>
9621
9622 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
9623
822afa53
JL
96242002-04-29 Jonathan Larmour <jlarmour@redhat.com>
9625
9626 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
9627 (_system): New function. Ditto.
9628 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
9629 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
9630 targets.
9631
29798f0d
JJ
96322002-04-29 Jeff Johnston <jjohnstn@redhat.com>
9633
ba3ccd63
EB
9634 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
9635 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
9636 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
9637 * libc/sys/linux/Makefile.in: Regenerated.
9638 * libc/unix/Makefile.in: Ditto.
9639 * libc/sys/linux/pread64.c: New file.
9640 * libc/sys/linux/pwrite64.c: Ditto.
9641 * libc/unix/pread.c: Ditto.
9642 * libc/unix/pwrite.c: Ditto.
29798f0d 9643
557856bd
JJ
96442002-04-26 Jeff Johnston <jjohnstn@redhat.com>
9645
9646 * libc/sys/linux/Makefile.am: Add io64.c.
9647 * libc/sys/linux/Makefile.in: Regenerated.
9648 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
17c0c97d 9649 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
557856bd
JJ
9650 * libc/sys/linux/io64.c: New file.
9651
7b2b12d5
JJ
96522002-04-26 Jeff Johnston <jjohnstn@redhat.com>
9653
9654 * configure.in (CC_FOR_NEWLIB): New variable that
9655 bases on $(CC) and adds targ-include and libc/include as
9656 -isystem directives if they are not already part of $(CC).
9657 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
9658 $(CC_FOR_NEWLIB).
9659 * configure: Regenerated.
9660 * Makefile.in: Ditto.
9661
c62adacc
JJ
96622002-04-25 Jeff Johnston <jjohnstn@redhat.com>
9663
9664 * libc/sys/linux/Makefile.am: Add support for sched.c.
9665 * libc/sys/linux/Makefile.in: Regenerated.
9666 * libc/sys/linux/sched.c: New file.
9667 * libc/sys/linux/sys/types.h: Add struct timespec.
9668
217ad4a0
TF
96692002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
9670
9671 * configure.in (CC_FOR_BUILD): Set to gcc whether
9672 cross-compiling or not.
9673 (CC): Add -isystem's for targ-include and libc/include when they
9674 do not already appear in CC.
9675
eaa75b70
TF
96762002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
9677
9678 * Makefile.am (check-DEJAGNU): New target.
9679 (site.exp): Likewise.
9680 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
9681 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
9682 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
9683 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
9684 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
9685 * testsuite: New directory.
9686 * testsuite/config: Likewise.
9687 * testsuite/lib: Likewise.
9688 * testsuite/newlib.locale: Likewise.
9689 * testsuite/newlib.string: Likewise.
9690 * testsuite/config/default.exp: New file.
9691 * testsuite/lib/checkoutput.exp: New file.
9692 * testsuite/lib/newlib.exp: New file.
9693 * testsuite/lib/passfail.exp: New file.
9694 * testsuite/newlib.locale/UTF-8.c: New file.
9695 * testsuite/newlib.locale/UTF-8.exp: New file.
9696 * testsuite/newlib.locale/locale.exp: New file.
9697 * testsuite/newlib.string/string.exp: New file.
9698 * testsuite/newlib.string/tstring.c: New file.
9699
b9f9f699
JJ
97002002-04-23 Jeff Johnston <jjohnstn@redhat.com>
9701
ba3ccd63
EB
9702 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
9703 * libc/sys/linux/Makefile.am: Add support for mmap.c.
9704 * libc/sys/linux/Makefile.in: Regenerated.
9705 * libc/sys/linux/mmap.c: New file.
9706 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
9707 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
b9f9f699 9708
7394edbb
TF
97092002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
9710
9711 * acinclude.m4 (newlib_cflags): Remove include directories that
9712 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
9713
b9f9f699 97142002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
59be2290
JJ
9715
9716 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
9717 * libc/machine/xscale/memcmp.c: Ditto.
9718 * libc/machine/xscale/memcpy.c: Ditto.
9719 * libc/machine/xscale/memmove.c: Ditto.
9720 * libc/machine/xscale/memset.c: Ditto.
9721 * libc/machine/xscale/strchr.c: Ditto.
9722 * libc/machine/xscale/strcmp.c: Ditto.
9723 * libc/machine/xscale/strcpy.c: Ditto.
9724 * libc/machine/xscale/strlen.c: Ditto.
9725
2dd4c4dc
JJ
97262002-04-19 Alexandre Oliva <aoliva@redhat.com>
9727
ba3ccd63
EB
9728 * libc/include/sys/config.h: Remove include of <limits.h>.
9729 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
9730 define INT_MAX and LONG_MAX. Use them in tests.
2dd4c4dc 9731
0d844014
JJ
97322002-04-19 Jeff Johnston <jjohnstn@redhat.com>
9733
9734 * configure.host: Add support for powerpc-eabialtivec*.
9735 * libc/include/malloc.h: Add include of <machine/malloc.h>.
9736 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
9737 * libc/include/machine/malloc.h: New file.
9738 * libc/include/machine/stdlib.h: Ditto.
9739 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
9740 * libc/machine/powerpc/Makefile.am: Add conditional objects and
9741 sources based on configuration.
9742 * libc/machine/powerpc/Makefile.in: Regenerated.
9743 * libc/machine/powerpc/configure: Ditto.
9744 * libc/machine/powerpc/configure.in: Add check for
9745 powerpc-eabialtivec* in which case add in additional source files.
9746 * libc/machine/powerpc/setjmp.S: Add altivec support.
9747 * libc/machine/powerpc/vec_calloc.c: New file.
9748 * libc/machine/powerpc/vec_free.c: Ditto.
9749 * libc/machine/powerpc/vec_malloc.c: Ditto.
9750 * libc/machine/powerpc/vec_mallocr.c: Ditto.
9751 * libc/machine/powerpc/vec_realloc.c: Ditto.
9752 * libc/machine/powerpc/machine/malloc.h: Ditto.
9753 * libc/machine/powerpc/machine/stdlib.h: Ditto.
9754 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
9755 with added altivec format specifiers.
9756 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
9757 added altivec format specifiers.
9758
d413aadc
JS
97592002-04-19 Joel Sherrill <joel@OARcorp.com>
9760
9761 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
9762 while autoconf is trying to link main(){}.
9763
27193895
JJ
97642002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9765
ba3ccd63
EB
9766 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
9767 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
27193895 9768
10d00216
JJ
97692002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9770
6b0f808e
JJ
9771 * libc/time/time.tex: Add tzset info.
9772
97732002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9774
9775 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
9776 (strptime): Moved prototype to be within !__STRICT_ANSI__.
9777 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
9778 (tzname): Defined for all platforms.
9779 (daylight, timezone): Defined only for CYGWIN.
9780 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
9781 environment set up.
9782 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
9783 environment variable is set.
9784 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
9785 tzset_r.c.
9786 * libc/time/Makefile.in: Regenerated.
9787 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
9788 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
9789 * libc/time/lcltime_r.c (lcltime_r): Ditto.
9790 * libc/time/local.h: New local header file.
9791 * libc/time/mktime.c (mktime): Add timezone support.
9792 * libc/time/mktm_r.c: New file which is the common engine
9793 for gmtime_r and lcltime_r. This code has timezone support.
9794 * libc/time/strftime.c (strftime): Add %Z timezone support.
9795 * libc/time/tzlock.c: New file containing timezone lock stubs.
9796 * libc/time/tzset.c: New file containing tzset() routine.
9797 * libc/time/tzset_r.c: New file containing _tzset_r and
9798 internal routine for calculating timezone changes for specified year.
9799
98002002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
9801
9802 * configure.in (CRT0_DIR): Set to libc/.
9803 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
9804 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
9805 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
9806 $(CRT1_DIR)/$(CRT1).
9807 * libc/machine/xstormy16/Makefile.in: Regenerated.
9808 * libc/machine/xstormy16/aclocal.m4: Regenerated.
9809 * libc/machine/xstormy16/configure: Regenerated.
9810
98112002-04-13 Alexandre Oliva <aoliva@redhat.com>
9812
9813 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
9814 fails, don't bail out, and try to correct next time.
9815
9816 * libc/include/sys/config.h: Include limits.h.
9817
98182002-04-12 Eric Norum <eric.norum@usask.com>
9819
9820 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
9821 routine to allow autoconf to determine that building executables
9822 for rtems works.
9823 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
9824 (rtems_gxx_mutex_once): Ditto.
9825
98262002-04-09 Tom Rix <trix@redhat.com>
9827
9828 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
9829
98302002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9831
ba3ccd63
EB
9832 * libc/include/time.h: Fix strptime declaration.
9833 * libc/time/Makefile.am: Add strptime.c.
6b0f808e 9834 * libc/time/Makefile.in: Regenerated.
ba3ccd63 9835 * libc/time/strptime.c: New file.
6b0f808e
JJ
9836
98372002-04-08 Jeff Johnston <jjohnstn@redhat.com>
9838
9839 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
9840 siglongjmp prototype, and sigsetjmp macro definition.
9841 * libc/sys/linux/siglongjmp.c: New file.
9842 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
9843 * libc/sys/linux/Makefile.in: Regenerated.
9844
98452002-04-04 Jeff Johnston <jjohnstn@redhat.com>
9846
9847 * Makefile.am: Add support for installing crt1.o if one exists.
9848 * configure.host: Specify crt1.o for linux.
9849 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
9850 * Makefile.in: Regenerated.
9851 * configure: Ditto.
9852 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
9853 Added for non-Cygwin, non-RTEMS configurations.
9854 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
9855 * libc/sys/linux/Makefile.in: Regenerated.
9856 * libc/sys/linux/crt1.c: New empty file to override one defaulted
9857 by gcc. This fixes problem with reconfiguring linux newlib build.
9858 * libc/sys/linux/sysconf.c: New file.
9859
98602002-04-03 Jeff Johnston <jjohnstn@redhat.com>
9861
9862 * configure.host: Add support for machine subdirectory of
9863 sys subdirectory.
9864 * configure.in: Add check for sys machine subdirectory.
9865 * Makefile.am: Ditto.
9866 * configure: Regenerated.
9867 * Makefile.in: Ditto.
9868 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
9869 * libc/sys/linux/sys/syscall.h: Ditto.
9870 * libc/sys/linux/sleep.c: New file.
9871 * libc/sys/linux/socket.c: Ditto.
9872 * libc/sys/linux/sockops.h: Ditto.
9873 * libc/sys/linux/stack.c: Ditto.
9874 * libc/sys/linux/usleep.c: Ditto.
9875 * libc/sys/linux/machine/Makefile.am: Ditto.
9876 * libc/sys/linux/machine/Makefile.in: Ditto.
9877 * libc/sys/linux/machine/aclocal.m4: Ditto.
9878 * libc/sys/linux/machine/configure: Ditto.
9879 * libc/sys/linux/machine/configure.in: Ditto.
9880 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
9881 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
9882 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
9883 * libc/sys/linux/machine/i386/configure: Ditto.
9884 * libc/sys/linux/machine/i386/configure.in: Ditto.
9885 * libc/sys/linux/machine/i386/crt0.c: Ditto.
9886 * libc/sys/linux/machine/i386/sigset.c: Ditto.
9887 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
9888 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
9889 * libc/sys/linux/machine/i386/syscall.h: Ditto.
9890 * libc/sys/linux/sys/select.h: Ditto.
9891 * libc/sys/linux/configure.in: Add support for machine directory.
9892 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
9893 * libc/sys/linux/Makefile.in: Regenerated.
9894 * libc/sys/linux/configure: Ditto.
9895 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
9896 * libc/sys/linux/inode.c: Ditto.
9897 * libc/sys/linux/linux.c: Ditto.
9898 * libc/sys/linux/process.c: Ditto.
9899 * libc/sys/linux/systat.c: Ditto.
9900 * libc/sys/linux/time.c: Ditto.
9901 * libc/sys/linux/wait.c: Ditto.
9902 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
9903 * libc/sys/linux/io.c: Change header plus add readv/writev.
9904 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
9905 use __sigsuspend syscall.
9906 * libc/sys/linux/select.c: Change header plus change select to
9907 use _newselect syscall.
9908 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
9909 used by glibc header files.
9910 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
9911 types.
9912
99132002-04-01 Jeff Johnston <jjohnstn@redhat.com>
9914
9915 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
9916 initializing a struct _reent that has been dynamically allocated.
9917 (_REENT_CHECK_MISC): New macro that checks _misc struct for
9918 _REENT_SMALL and does nothing otherwise.
9919 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
9920 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
9921 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
9922 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
9923 [_REENT_SMALL](struct _misc_reent): New structure containing
9924 miscellaneous reentrant areas needed by newlib.
9925 [_REENT_SMALL](struct _reent): Add _misc pointer.
9926 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
9927 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
9928 and _REENT_STRTOK_LAST macros.
9929 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
9930 and _REENT_MBLEN_STATE macros.
9931 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
9932 and _REENT_MBTOWC_STATE macros.
9933 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
9934 and _REENT_WCTOMB_STATE macros.
9935
99362002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
9937
9938 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
9939
9940Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
9941
9942 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
9943
9944Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
9945
9946 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
9947 Store high part of leading bytes too.
9948
99492002-03-22 Richard Sandiford <rsandifo@redhat.com>
9950
9951 * libm/math/ef_hypot.c: Increase scale factor to 68.
9952
99532002-03-13 Alexandre Oliva <aoliva@redhat.com>
9954
9955 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
9956 error.
9957
99582002-03-12 Jeff Johnston <jjohnstn@redhat.com>
9959
ba3ccd63
EB
9960 * libc/sys/go32/access.c: Change license to relaxed license
9961 used in identical file throughout newlib/libgloss.
6b0f808e
JJ
9962
99632002-03-12 Richard Earnshaw <rearnsha@arm.com>
9964
9965 * libc/sys/arm/access.c: New file.
9966 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
9967 * libc/sys/arm/Makefile.in: Regenerate.
9968 * libc/sys/arm/syscalls.c (_stat): New function.
9969
99702002-03-11 Michael Meissner <meissner@redhat.com>
9971
9972 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
9973 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
9974 * libc/machine/mips/Makefile.in: Regenerate.
9975 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
9976 * libc/machine/mips/memset.c: Dito.
9977 * libc/machine/mips/strcmp.c: Dito.
9978 * libc/machine/mips/strlen.c: Dito.
9979 * libc/machine/mips/strncmp.c: Dito.
9980
99812002-03-06 Jeff Johnston <jjohnstn@redhat.com>
9982
9983 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
9984 object so it works for shared library or statici library.
99852002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9986
10d00216
JJ
9987 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
9988 (strptime): Moved prototype to be within !__STRICT_ANSI__.
9989 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
9990 (tzname): Defined for all platforms.
9991 (daylight, timezone): Defined only for CYGWIN.
9992 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
9993 environment set up.
9994 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
9995 environment variable is set.
9996 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
9997 tzset_r.c.
9998 * libc/time/Makefile.in: Regenerated.
9999 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
10000 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
10001 * libc/time/lcltime_r.c (lcltime_r): Ditto.
10002 * libc/time/local.h: New local header file.
10003 * libc/time/mktime.c (mktime): Add timezone support.
10004 * libc/time/mktm_r.c: New file which is the common engine
10005 for gmtime_r and lcltime_r. This code has timezone support.
10006 * libc/time/strftime.c (strftime): Add %Z timezone support.
10007 * libc/time/tzlock.c: New file containing timezone lock stubs.
10008 * libc/time/tzset.c: New file containing tzset() routine.
10009 * libc/time/tzset_r.c: New file containing _tzset_r and
10010 internal routine for calculating timezone changes for specified year.
10011
5f1c13c6
TF
100122002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
10013
10014 * configure.in (CRT0_DIR): Set to libc/.
10015 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
10016 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
10017 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
10018 $(CRT1_DIR)/$(CRT1).
10019 * libc/machine/xstormy16/Makefile.in: Regenerated.
10020 * libc/machine/xstormy16/aclocal.m4: Regenerated.
10021 * libc/machine/xstormy16/configure: Regenerated.
10022
0cc261b1
AO
100232002-04-13 Alexandre Oliva <aoliva@redhat.com>
10024
2f3009bd
AO
10025 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
10026 fails, don't bail out, and try to correct next time.
10027
0cc261b1
AO
10028 * libc/include/sys/config.h: Include limits.h.
10029
26116455
JJ
100302002-04-12 Eric Norum <eric.norum@usask.com>
10031
10032 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
10033 routine to allow autoconf to determine that building executables
10034 for rtems works.
10035 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
10036 (rtems_gxx_mutex_once): Ditto.
10037
4608280d
TR
100382002-04-09 Tom Rix <trix@redhat.com>
10039
10040 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
10041
dea7e25c
JJ
100422002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
10043
ba3ccd63
EB
10044 * libc/include/time.h: Fix strptime declaration.
10045 * libc/time/Makefile.am: Add strptime.c.
dea7e25c 10046 * libc/time/Makefile.in: Regenerated.
ba3ccd63 10047 * libc/time/strptime.c: New file.
dea7e25c 10048
c5ef1e95
JJ
100492002-04-08 Jeff Johnston <jjohnstn@redhat.com>
10050
10051 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
10052 siglongjmp prototype, and sigsetjmp macro definition.
10053 * libc/sys/linux/siglongjmp.c: New file.
10054 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
10055 * libc/sys/linux/Makefile.in: Regenerated.
10056
6e6cd5bd
JJ
100572002-04-04 Jeff Johnston <jjohnstn@redhat.com>
10058
10059 * Makefile.am: Add support for installing crt1.o if one exists.
10060 * configure.host: Specify crt1.o for linux.
10061 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
10062 * Makefile.in: Regenerated.
10063 * configure: Ditto.
10064 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
10065 Added for non-Cygwin, non-RTEMS configurations.
10066 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
10067 * libc/sys/linux/Makefile.in: Regenerated.
10068 * libc/sys/linux/crt1.c: New empty file to override one defaulted
10069 by gcc. This fixes problem with reconfiguring linux newlib build.
10070 * libc/sys/linux/sysconf.c: New file.
10071
fa4a16a1
JJ
100722002-04-03 Jeff Johnston <jjohnstn@redhat.com>
10073
10074 * configure.host: Add support for machine subdirectory of
10075 sys subdirectory.
10076 * configure.in: Add check for sys machine subdirectory.
10077 * Makefile.am: Ditto.
10078 * configure: Regenerated.
10079 * Makefile.in: Ditto.
10080 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
10081 * libc/sys/linux/sys/syscall.h: Ditto.
10082 * libc/sys/linux/sleep.c: New file.
10083 * libc/sys/linux/socket.c: Ditto.
10084 * libc/sys/linux/sockops.h: Ditto.
10085 * libc/sys/linux/stack.c: Ditto.
10086 * libc/sys/linux/usleep.c: Ditto.
10087 * libc/sys/linux/machine/Makefile.am: Ditto.
10088 * libc/sys/linux/machine/Makefile.in: Ditto.
10089 * libc/sys/linux/machine/aclocal.m4: Ditto.
10090 * libc/sys/linux/machine/configure: Ditto.
10091 * libc/sys/linux/machine/configure.in: Ditto.
10092 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
10093 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
10094 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
10095 * libc/sys/linux/machine/i386/configure: Ditto.
10096 * libc/sys/linux/machine/i386/configure.in: Ditto.
10097 * libc/sys/linux/machine/i386/crt0.c: Ditto.
10098 * libc/sys/linux/machine/i386/sigset.c: Ditto.
10099 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
10100 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
10101 * libc/sys/linux/machine/i386/syscall.h: Ditto.
10102 * libc/sys/linux/sys/select.h: Ditto.
10103 * libc/sys/linux/configure.in: Add support for machine directory.
10104 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
10105 * libc/sys/linux/Makefile.in: Regenerated.
10106 * libc/sys/linux/configure: Ditto.
10107 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
10108 * libc/sys/linux/inode.c: Ditto.
10109 * libc/sys/linux/linux.c: Ditto.
10110 * libc/sys/linux/process.c: Ditto.
10111 * libc/sys/linux/systat.c: Ditto.
10112 * libc/sys/linux/time.c: Ditto.
10113 * libc/sys/linux/wait.c: Ditto.
10114 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
10115 * libc/sys/linux/io.c: Change header plus add readv/writev.
10116 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
10117 use __sigsuspend syscall.
10118 * libc/sys/linux/select.c: Change header plus change select to
10119 use _newselect syscall.
10120 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
10121 used by glibc header files.
10122 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
10123 types.
10124
d4dca0e4
JJ
101252002-04-01 Jeff Johnston <jjohnstn@redhat.com>
10126
10127 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
10128 initializing a struct _reent that has been dynamically allocated.
10129 (_REENT_CHECK_MISC): New macro that checks _misc struct for
10130 _REENT_SMALL and does nothing otherwise.
10131 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
10132 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
10133 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
10134 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
10135 [_REENT_SMALL](struct _misc_reent): New structure containing
10136 miscellaneous reentrant areas needed by newlib.
10137 [_REENT_SMALL](struct _reent): Add _misc pointer.
10138 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
10139 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
10140 and _REENT_STRTOK_LAST macros.
10141 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
10142 and _REENT_MBLEN_STATE macros.
10143 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
10144 and _REENT_MBTOWC_STATE macros.
10145 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
10146 and _REENT_WCTOMB_STATE macros.
10147
54a7c6d2
JJ
101482002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
10149
10150 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
10151
c82479b1
CF
10152Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
10153
10154 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
10155
43ecf6e8
JR
10156Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
10157
10158 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
10159 Store high part of leading bytes too.
10160
a485d93f
RS
101612002-03-22 Richard Sandiford <rsandifo@redhat.com>
10162
10163 * libm/math/ef_hypot.c: Increase scale factor to 68.
10164
62a963ee
AO
101652002-03-13 Alexandre Oliva <aoliva@redhat.com>
10166
10167 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
10168 error.
10169
c53d8453
JJ
101702002-03-12 Jeff Johnston <jjohnstn@redhat.com>
10171
ba3ccd63
EB
10172 * libc/sys/go32/access.c: Change license to relaxed license
10173 used in identical file throughout newlib/libgloss.
c53d8453 10174
d2a246ad
JJ
101752002-03-12 Richard Earnshaw <rearnsha@arm.com>
10176
10177 * libc/sys/arm/access.c: New file.
10178 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
10179 * libc/sys/arm/Makefile.in: Regenerate.
10180 * libc/sys/arm/syscalls.c (_stat): New function.
10181
eabb48d5
MM
101822002-03-11 Michael Meissner <meissner@redhat.com>
10183
10184 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
10185 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
10186 * libc/machine/mips/Makefile.in: Regenerate.
10187 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
10188 * libc/machine/mips/memset.c: Dito.
10189 * libc/machine/mips/strcmp.c: Dito.
10190 * libc/machine/mips/strlen.c: Dito.
10191 * libc/machine/mips/strncmp.c: Dito.
10192
2a606041
JJ
101932002-03-06 Jeff Johnston <jjohnstn@redhat.com>
10194
eabb48d5
MM
10195 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
10196 object so it works for shared library or statici library.
10197 * libc/machine/i386/Makefile.in: Regenerated.
2a606041 10198
55f26f11
JR
10199Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
10200
96bff22c
JR
10201 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
10202 Add memcpy.S, memset.S and strcpy.S.
10203 * libc/machine/sh/Makefile.in: Regenerate.
10204 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
55f26f11 10205 (SHHI, SHLO): Define.
96bff22c
JR
10206 * libc/machine/sh/memset.S: Add code for SH5.
10207 * libc/machine/sh/memset.S: Likewise.
10208 * libc/machine/sh/strcpy.S: Likewise.
55f26f11 10209
afecf2fa
JJ
102102002-02-27 Jeff Johnston <jjohnstn@redhat.com>
10211
10212 * configure.host: Add check for --disable-newlib-io-float
10213 configuration option and add -DNO_FLOATING_POINT to newlib cflags
10214 if appropriate.
10215 * acinclude.m4: Added --disable-newlib-io-float option.
10216 * aclocal.m4: Regenerated.
10217 * configure: Ditto.
10218 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
17c0c97d 10219 * libc/*/aclocal.m4 libc/*/configure
afecf2fa
JJ
10220 * libm/*/aclocal.m4 libm/*/configure: Ditto.
10221 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
10222 if NO_FLOATING_POINT flag is not defined.
10223
c1010a63
JJ
102242002-02-25 Jeff Johnston <jjohnstn@redhat.com>
10225
10226 * libc/include/sys/config.h: Add __extension__ in front of
10227 long long references.
10228
630c657e
CV
102292002-02-23 Corinna Vinschen <corinna@vinschen.de>
10230
10231 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
10232 (_stat): Ditto.
10233
59ee2e20
CV
102342002-02-23 Corinna Vinschen <corinna@vinschen.de>
10235
10236 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
10237 of off_t.
10238
2dd68dc2
NC
102392002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
10240
10241 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
10242 clobbered registers.
10243
55500bf1
TF
102442002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
10245
10246 * configure.host (newlib_cflags): When host is in m68* add
10247 -DCOMPACT_CTYPE.
10248
ba0173f0
JJ
102492002-02-15 Jeff Johnston <jjohnstn@redhat.com>
10250
ba3ccd63
EB
10251 * libc/include/sys/config.h: Add definitions for
10252 __int16_t, __uint16_t, __int64_t, and __uint64_t.
ba0173f0 10253
7b61d0c5
JJ
102542002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
10255
ba3ccd63
EB
10256 * libc/sys/mmixware/link.c: New.
10257 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
10258 volatile.
10259 * libc/sys/mmixware/times.c (_times): Renamed from times.
10260 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
10261 properly by reading previous contents, not through BinaryReadWrite.
10262 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
10263 * libc/sys/mmixware/Makefile.in: Regenerate.
7b61d0c5 10264
a505db65
CV
102652002-02-10 Corinna Vinschen <corinna@vinschen.de>
10266
10267 * libc/include/grp.h: Don't declare group functions when compiling
10268 Cygwin.
10269
f3b39c45
CV
102702002-02-09 Corinna Vinschen <corinna@vinschen.de>
10271
10272 * libc/include/grp.h: Include Cygwin specific header.
10273 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
10274 when compiling for Cygwin.
10275 * libc/include/sys/types.h: Don't define off_t, uid_t
10276 and gid_t when compiling for Cygwin.
10277
82b3ac56
MG
102782002-02-08 matthew green <mrg@redhat.com>
10279
10280 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
10281 _REENT_EMERGENCY_SIZE, not sizeof(char *).
10282
9f25eed9
AO
102832002-02-08 Alexandre Oliva <aoliva@redhat.com>
10284
10285 Contribute sh64-elf.
10286 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
10287 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
10288 support in printf.
10289 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
10290 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
10291 any labels.
10292 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
10293 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
10294 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
10295 * libc/machine/sh/configure.in: Rework conditionals.
10296 * libc/machine/sh/Makefile.am: Likewise.
10297 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
10298 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
10299 * configure.host: Match `sh*'.
10300 * libc/include/machine/setjmp.h: Define for SH5.
10301 * libc/machine/sh/configure.in: Detect SH5.
10302 * libc/machine/sh/configure: Rebuilt.
10303 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
10304 * libc/machine/sh/Makefile.in: Rebuilt.
10305 * libc/machine/sh/asm.h: Adjust for SH5.
10306 * libc/machine/sh/setjmp.S: Implement in SHmedia.
10307 * libc/sys/sh/crt0.S: Likewise.
10308 * libc/sys/sh/trap.S: Likewise.
10309
a2a405ae
JJ
103102002-02-07 Jeff Johnston <jjohnstn@redhat.com>
10311
10312 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
10313 (mach_add_obj): Conditionally set to setjmp.o or nothing.
10314 (LIB_SOURCES): Remove $(mach_add_src).
10315 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
10316 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
10317 * libc/machine/i386/Makefile.in: Regenerate.
10318
27478365
JJ
103192002-02-05 Manik Raina <manik@cisco.com>
10320
994fa212 10321 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
27478365
JJ
10322 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
10323 s, p, k, and outstr.
10324 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
10325
815a37f7
JJ
103262002-02-04 Jeff Johnston <jjohnstn@redhat.com>
10327
10328 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
10329 _REENT_CHECK_EMERGENCY macro.
10330
a4139c12
MG
103312002-02-03 matthew green <mrg@redhat.com>
10332
10333 * libc/reent/signgam.c (__signgam): Fix error in previous.
10334
8195aff7
MG
103352002-02-02 matthew green <mrg@redhat.com>
10336
10337 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
10338
10339 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
10340 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
10341 * libc/include/sys/reent.h (struct _reent): Completely new version
10342 for _REENT_SMALL.
10343 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
10344 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
10345 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
10346 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
10347 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
10348 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
10349 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
10350 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
10351 (_REENT_EMERGENCY): Likewise.
10352
10353 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
10354 the start of the real __sFILE, used for stdin, stdout and stderr until
10355 they are setup properly.
10356 (struct __sFILE): Move location of _data in _REENT_SMALL case.
10357 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
10358 allocated stdin, stdout and stderr.
10359 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
10360 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
10361 * libc/stdio/perror.c (_perror_r): Likewise.
10362 * libc/stdio/printf.c (printf, _printf_r): Likewise.
10363 * libc/stdio/putchar.c (_putchar_r): Likewise.
10364 * libc/stdio/puts.c (_puts_r): Likewise.
10365 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
10366 * libc/stdio/vprintf.c (vprintf): Likewise.
10367 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
10368
10369 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
10370
10371 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
10372 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
10373 for _REENT_SMALL.
10374 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
10375 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
10376
10377 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
10378 _REENT_SMALL.
10379 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
10380 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
10381 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
10382 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
10383 * libc/stdlib/rand48.c (__dorand48): Likewise.
10384 * libc/stdlib/seed48.c (_seed48_r): Likewise.
10385 * libc/stdlib/srand48.c (_srand48_r): Likewise.
10386 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
10387 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
10388 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
10389 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
10390 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
10391 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
10392 * libc/stdlib/rand.c (rand): Likewise.
10393
10394 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
10395 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
10396
10397 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
10398 _REENT_MP_FREELIST() and _REENT_MP_P5S.
10399 * libc/include/sys/reent.h (struct _mprec): New structure.
10400
10401 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
10402 _unused_strtok_last.
10403 * libc/string/strtok.c (strtok): Use a local static variable.
10404
10405 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
10406 (_REENT_EMERGENCY_SIZE): Likewise.
10407 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
10408 _REENT_ASCTIME_BUF().
10409 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
10410 _REENT_TM().
10411
10412 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
10413 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
10414 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
10415 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
10416 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
10417 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
10418
9c2e7642
GK
104192002-02-01 Geoffrey Keating <geoffk@redhat.com>
10420
10421 * configure.host (xstormy16): Don't use the generic malloc.
10422 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
10423 * libc/machine/xstormy16/Makefile.in: Regenerate.
10424 * libc/machine/xstormy16/mallocr.c: New file.
10425 * libc/machine/xstormy16/tiny-malloc.c: New file.
10426
4bb6112f
TF
104272002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
10428
10429 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
10430 when _CYGWIN_TYPES_H is not defined.
10431
8d345552
TF
104322002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
10433
10434 * libc/include/sys/signal.h: Revert 2002-01-23 change.
10435
bcc49082
TF
104362002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
10437
10438 * libc/include/sys/signal.h: Remove pthread_kill declaration
10439 when __CYGWIN__ is defined.
10440
13baedeb
CF
104412002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
10442
10443 * libc/include/time.h: Add prototype for strptime for Cygwin.
10444
b2db0ebc
NC
104452002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
10446
ebf139fb
NC
10447 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
10448 dst was not word aligned.
10449
b2db0ebc
NC
10450 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
10451 if too much memory is requested.
10452
798c015d
JJ
104532002-01-11 Jeff Johnston <jjohnstn@redhat.com>
10454
10455 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
10456 reads blanks from the input file to break if EOF reached
10457 rather than end processing.
10458
46ad2ef4
JJ
104592002-01-07 Jeff Johnston <jjohnstn@redhat.com>
10460
10461 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
10462
86b06396
JJ
104632002-01-07 Alan Matsuoka <alanm@redhat.com>
10464
ba3ccd63
EB
10465 * libc/include/machine/ieeefp.h: Configure d10v doubles to
10466 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
10467 libc/include/sys/config.h: Ditto.
86b06396 10468
423d5064
CV
104692001-12-28 Corinna Vinschen <corinna@vinschen.de>
10470
10471 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
10472
f6eff1c0
GK
104732001-12-22 Geoffrey Keating <geoffk@redhat.com>
10474 Catherine Moore <clm@redhat.com>
10475 Richard Henderson <rth@redhat.com>
10476 Corinna Vinschen <vinschen@redhat.com>
10477
10478 * configure.host: Add support for xstormy16.
10479 * libc/include/machine/ieeefp.h: Add support for xstormy16.
10480 * libc/include/machine/setjmp.h: Add support for xstormy16.
10481 * libc/include/sys/config.h: Add support for xstormy16.
10482 * libc/machine/xstormy16/Makefile.am: New file.
10483 * libc/machine/xstormy16/Makefile.in: New file.
10484 * libc/machine/xstormy16/aclocal.m4: New file.
10485 * libc/machine/xstormy16/configure: New file.
10486 * libc/machine/xstormy16/configure.in: New file.
10487 * libc/machine/xstormy16/setjmp.S: New file.
10488
1f93c55f
TF
104892001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
10490
10491 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
10492 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
10493
13b918be
CV
104942001-12-19 Corinna Vinschen <corinna@vinschen.de>
10495
10496 * libm/machine/Makefile.am: Change rules to create correct lib.a.
10497 * libm/machine/Makefile.in: Regenerated through automake.
10498
08e857b4
TF
104992001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
10500
10501 * Makefile.am (DOCDIR): Force to empty string when doc
10502 directory is not present.
10503
60565ed6
TF
105042001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
10505
10506 * libc/machine/i386/f_*: Move to libm/machine/i386.
10507
105082001-12-18 Joel Sherrill <joel@OARcorp.com>
10509
10510 * libm/machine/Makefile.am: Add dummy doc stub so
10511 "make info" works.
10512
105132001-12-17 Joel Sherrill <joel@OARcorp.com>
10514
10515 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
10516
fc504135
TF
105172001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
10518
10519 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
10520 $(COMPILE) rather than $(CC).
10521 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
10522 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
10523 $(LIB_COMPILE) change.
10524 (vfiprintf.$(oext)): Likewise.
10525
efeae9a3
CV
105262001-12-17 Corinna Vinschen <vinschen@redhat.de>
10527
10528 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
10529 conditionalized including of getopt stuff.
10530
cdf7120d
TF
105312001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
10532
10533 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
10534 compile line.
f85be99c 10535 (vfiprintf.$(oext)): Likewise.
cdf7120d 10536
2e1a7175
TF
105372001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
10538
10539 * Makefile.shared: New file.
10540 * libc/sys/linux/shared.ld: New file.
10541 * libm/machine/*: New files.
10542 * libm/machine/i386/*: New files.
10543 * Makefile.am: Add libtool support. Change math and mathfp
10544 references to variables.
10545 * configure.host: Add variables for libtool support. Add
10546 libm_machine_dir variable.
10547 * configure.in: Add objectlist variables, for libtool
10548 support. Add CC_FOR_BUILD tests.
10549 * libc/Makefile.am: Add libtool support. Change crt0.o
10550 reference to be a variable reference.
10551 * libc/configure.in: Add libtool support. Change sublib
10552 names to be lib${subdir}.la when using libtool.
10553 * libc/ctype/Makefile.am: Add libtool support.
10554 * libc/errno/Makefile.am: Likewise.
10555 * libc/locale/Makefile.am: Likewise.
10556 * libc/machine/Makefile.am: Likewise.
10557 * libc/machine/configure.in: Likewise.
10558 * libc/machine/i386/Makefile.am: Likewise.
10559 * libc/machine/i386/configure.in: Likewise.
10560 * libc/misc/Makefile.am: Likewise.
10561 * libc/posix/Makefile.am: Likewise.
10562 * libc/reent/Makefile.am: Likewise.
10563 * libc/signal/Makefile.am: Likewise.
10564 * libc/stdio/Makefile.am: Likewise.
10565 * libc/stdlib/Makefile.am: Likewise.
10566 * libc/string/Makefile.am: Likewise.
10567 * libc/sys/Makefile.am: Likewise.
10568 * libc/sys/configure.in: Likewise.
10569 * libc/sys/linux/Makefile.am: Add libtool support. Change
10570 awk reference to a variable reference. Change signal.h
10571 reference to a variable reference.
10572 * libc/sys/linux/configure.in: Add libtool support.
10573 * libc/syscalls/Makefile.am: Likewise.
10574 * libc/time/Makefile.am: Likewise.
10575 * libc/unix/Makefile.am: Likewise.
10576 * libm/Makefile.am: Add libtool support. Change math and
10577 mathfp references to variables.
10578 * libm/configure.in: Add libtool support. Add
10579 LIBM_MACHINE_LIB variable.
10580 * libm/common/Makefile.am: Add libtool support.
10581 * libm/math/Makefile.am: Likewise.
10582 * libm/mathfp/Makefile.am: Likewise.
10583 Regenerate all Makefile.in, aclocal.m4, and configure.
10584
b92591a1
JJ
105852001-12-13 Anita Kulkarni <anitak@kpit.com>
10586
ba3ccd63 10587 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
b92591a1 10588
355b664e
CF
105892001-12-06 John Peacock <jpeacock@rowman.com>
10590
10591 * libc/include/sys/unistd.h: Correct ualarm declaration.
10592
e9853806
NC
105932001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
10594
10595 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
10596 vector before calling the initialisation functions.
10597
a8e091b0
CF
105982001-11-29 Christopher Faylor <cgf@redhat.com>
10599
10600 * libc/include/dirent.h: Protect against multiple inclusion.
10601
ab634123
CF
106022001-11-27 Christopher Faylor <cgf@redhat.com>
10603
10604 * libc/include/sys/types.h: Define useconds_t.
10605 * libc/include/sys/ulimit.h: Declare ualarm.
10606
d37e401e
CF
106072001-11-21 Christopher Faylor <cgf@redhat.com>
10608
10609 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
10610
8ac90051
HPN
106112001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
10612
10613 * libc/sys/mmixware/*: Tweak license header in all source files.
10614
d7ca37e4
CV
106152001-11-12 Corinna Vinschen <vinschen@redhat.com>
10616
10617 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
10618 to here. Rearrange for general inclusion by stdlib.h.
10619 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
10620 isn't defined.
10621 * libc/sys/linux/include/alloca.h: Move to libc/include.
10622
28f8744e
AG
106232001-11-12 Anthony Green <green@redhat.com>
10624
10625 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
10626
4cede8c4
HPN
106272001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
10628
10629 * libc/sys/mmixware/*: Correct spacing in all source files.
10630 * libc/sys/mmixware/syscall.h: Move misplaced file...
10631 * libc/sys/mmixware/sys/syscall.h: ...here.
10632
8be9b48b
JJ
106332001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
10634
ba3ccd63
EB
10635 * libc/include/machine/ieeefp.h: Add support for mmix target.
10636 * libc/include/machine/setjmp.h: Ditto.
10637 * configure.host: Ditto.
10638 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
10639 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
10640 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
10641 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
10642 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
10643 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
10644 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
10645 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
10646 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
10647 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
10648 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
10649 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
10650 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
10651 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
10652 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
10653 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
10654 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
10655 libc/sys/mmixware/aclocal.m4: Generate.
8be9b48b 10656
c7dd4f95
CV
106572001-11-05 Corinna Vinschen <corinna@vinschen.de>
10658
10659 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
10660 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
10661 when __CYGWIN__ is defined.
10662 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
10663 logwtmp().
10664
a6a6f9fe
JJ
106652001-11-01 Arati Dikey <aratidikey@hotmail.com>
10666
10667 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
10668 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
10669 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
10670 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
10671
d0504c35
JJ
106722001-10-24 Christopher Faylor <cgf@redhat.com>
10673
10674 * libc/stdio/fseek.c: Reset pointer to buffer base
10675 when forced to seek outside of current buffer contents.
10676 This prevents the code from erroneously thinking there is
10677 anything in the current buffer.
10678
0280c8c0
GK
106792001-10-22 Geoffrey Keating <geoffk@redhat.com>
10680
10681 * libc/include/math.h: The C++ standard adds the single-precision
10682 versions of the elementary functions.
10683
333d6098
CF
106842001-10-22 Christopher Faylor <cgf@redhat.com>
10685
10686 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
10687 throughout.
10688 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
10689 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
10690 * system.c (_system_r): Ditto.
10691
c7118319
CV
106922001-10-17 Corinna Vinschen <corinna@vinschen.de>
10693
10694 * libc/include/sys/unistd.h: Add prototype for fchdir() when
b4e98df6 10695 __CYGWIN__ or __rtems__ is defined.
c7118319 10696
5665b0e1
JJ
106972001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
10698
ba3ccd63
EB
10699 * libc/include/stdlib.h: add declarations for
10700 _strtoull_r, _strtoll_r, strtoull, and strtoll.
10701 * libc/stdio/local.h: remove declarations of
10702 __strtoull_r and __strtoll_r.
10703 * libc/stdio/vfscanf.c(__svfscanf_r): call
10704 _strtoull_r instead of __strtoull_r. Ditto
10705 _strtoll_r vs. __strtoll_r.
10706 * libc/stdlib/Makefile.am: add new files to
10707 .c list and .def list
10708 * libc/stdlib/Makefile.in: regenerate
10709 * libc/stdlib/strtoll_r.c: rename __strtoll_r
10710 as _strtoll_r
10711 * libc/stdlib/strtoull_r.c: rename __strtoull_r
10712 as _strtoull_r
10713 * libc/stdlib/strtoull.c: new file
10714 * libc/stdlib/strtoll.c: new file
5665b0e1 10715
d2d5eb41
CF
10716Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
10717
10718 * libc/include/process.h: Add getpid() declaration.
10719
448e3c14
NC
107202001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
10721
10722 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
10723 for new style arm/elf ctor/dtor handling.
10724 Minor formatting tidy up.
10725
7a2afbbb
JJ
107262001-09-13 Jeff Johnston <jjohnstn@redhat.com>
10727
10728 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
10729 and strtoull_r.c.
10730 * libc/stdlib/Makefile.in: Regenerated.
10731 * libc/stdlib/strtoll_r.c: New file.
10732 * libc/stdlib/strtoull_r.c: New file.
10733 * libc/stdio/local.h: Add prototypes for long long string
10734 conversion routines.
10735 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
10736 tied to %L integer conversion specifier.
10737
6342caa4
JJ
10738Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
10739
ba3ccd63
EB
10740 * strftime.c (strftime): Fix "%W" implementation to properly handle
10741 Mondays too.
6342caa4 10742
b2d319cb
JJ
107432001-09-07 Jeff Law <law@redhat.com>
10744
ba3ccd63
EB
10745 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
10746 __fini with "mov.l" instead of "mov.w".
b2d319cb 10747
233823ba
CV
107482001-09-05 Corinna Vinschen <corinna@vinschen.de>
10749
10750 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
10751 and getopt.h.
10752
63c17b54
JJ
107532001-09-04 Jason Merrill <jason_merrill@redhat.com>
10754
10755 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
10756
a3e67ddf
CV
107572001-09-03 Corinna Vinschen <corinna@vinschen.de>
10758
10759 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
10760 field.
10761 (__DIRENT_VERSION): New define.
10762
6d47f33a
CV
107632001-09-03 Corinna Vinschen <corinna@vinschen.de>
10764
10765 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
4f79e37e
CV
10766 Shrink __d_reserved accordingly to keep structure size.
10767 (dirfd): Declare external.
6d47f33a 10768
348c5e06
JJ
107692001-08-29 Joel Sherrill <joel@OARcorp.com>
10770
10771 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
10772
107732001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
10774
10775 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
10776 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
10777 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
10778 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
10779 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
10780 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
10781 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
10782 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
10783 Add conditional compilation to avoid HW FPU instructions
10784 when compiled for soft-float.
10785
f29865c5
JJ
107862001-08-29 Jeff Johnston <jjohnstn@redhat.com>
10787
10788 * Makefile.am: Add check for ln failing when creating libg.a
10789 so that cp gets used as a backup.
10790 * Makefile.in: Regenerated.
10791
9e2a4ef8
JJ
107922001-08-29 Jeff Johnston <jjohnstn@redhat.com>
10793
10794 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
10795 No longer include time.h. Add struct __tm to use for
10796 _localtime_buf in the reentrant structure. Add a
10797 _NULL definition to use in initializing the reentrant struct.
10798 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
10799 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
10800 <sys/_types.h>.
10801 * libc/include/sys/unistd.h: Include <sys/_types.h>.
10802 * libc/time/lcltime.c (localtime): Cast the reentrant struct
10803 _localtime_buf to be struct tm *.
10804
1ae900d6
JR
10805Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
10806
10807 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
10808 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
10809 __ctors_end.
10810 * libc/sys/h8300hms/syscalls.c: Include errno.h.
10811 (_unlink): New stub function.
10812
8e26d5b5
CF
10813Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
10814
10815 * libc/include/sys/errno.h: Add a cautionary comment.
10816
e8267664
JJ
108172001-08-21 Jeff Johnston <jjohnstn@redhat.com>
10818
10819 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
10820 for SIZE_SZ so that alignment ends up a minimum of 8.
10821
4acf3edf
CF
10822Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
10823
10824 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
10825 arguments.
10826
10827 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
10828 Cygwin.
10829
52c80be8
JJ
108302001-08-13 Jeff Johnston <jjohnstn@redhat.com>
10831
10832 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
10833 macro constants for mallopt options.
10834 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
10835
a7061f7f
JJ
108362001-08-02 Jeff Johnston <jjohnstn@redhat.com>
10837
10838 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
10839 otherwise default.
10840
0b4bfdd5
AH
108412001-07-12 Aldy Hernandez <aldyh@redhat.com>
10842
ba3ccd63 10843 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
0b4bfdd5 10844
2b6b730c
NC
108452001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
10846
10847 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
10848 Define for little endian ARMs.
10849
10850 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
10851 __IEEE_BYTES_LITTLE_ENDIAN is defined.
10852
25842b68
JJ
108532001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
10854
ba3ccd63 10855 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
25842b68 10856
371b76ef
JJ
108572001-06-11 Egor Duda <deo@logos-m.ru>
10858
ba3ccd63
EB
10859 * libc/ctype/ctype_.c: When compiled with gcc on platforms
10860 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
10861 initialized memory region. Platform can define COMPACT_CTYPE
10862 to avoid allocation of the additional 128 bytes of data.
10863 Add pointer to _ctype_ array. Always initialize all _ctype_
10864 array elements.
371b76ef 10865
43b44bc5
JL
108662001-06-08 Jonathan Larmour <jlarmour@redhat.com>
10867
10868 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
10869 NULL pointer.
10870
188bc140
NC
108712001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
10872
10873 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
10874
2ce88418
NC
108752001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
10876
10877 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
10878 matching, non-word alignment, and the length is <= 4 but more than
10879 enough to move them over a word boundary.
10880 Add comments explaining what each instruction does.
10881
ca60ed47
CF
10882Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
10883
10884 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
c63e9997 10885 * libc/include/sys/unistd.h: Ditto.
ca60ed47 10886
8b3bcfba
JJ
108872001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
10888
ba3ccd63 10889 * libc/string/strrchr.c: Use strchr for the speed improvements.
8b3bcfba 10890
b09e3cf8
JJ
108912001-05-01 Jeff Johnston <jjohnstn@redhat.com>
10892
10893 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
10894 real file systems, let __smakebuf() determine if line buffering
10895 should be used for stdout.
10896
0ca66974
JJ
108972001-04-27 Jeff Johnston <jjohnstn@redhat.com>
10898
10899 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
10900
7cb7017a
JJ
109012001-04-27 Jeff Johnston <jjohnstn@redhat.com>
10902
10903 * libc/include/stdlib.h: Add prototype for _strtod_r.
10904
a874cd21
JJ
109052001-04-24 Charles Wilson <cwilson@ece.gatech.edu
10906
ba3ccd63
EB
10907 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
10908 * libc/stdio/vprintf.c (_vprintf_r): new function
10909 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
10910 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
10911 _DEFUN, and call _vfprintf_r, not vfprintf.
10912 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
10913 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
10914 _DEFUN, and call _vfprintf_r, not vfprintf.
a874cd21 10915
cb4cc283 109162001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
17c0c97d 10917
cb4cc283
CF
10918 * libc/include/sys/unistd.h [X_OK]: Use better protection against
10919 Cygwin X_OK definitions in sys/file.h.
10920
8c9df1d5
CF
10921Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
10922
10923 * libc/include/sys/time.h: Define timercmp and other macros for
10924 __CYGWIN__, too.
10925
3ac6f3a7 109262001-04-20 Jeff Johnston <jjohnstn@redhat.com>
17c0c97d 10927
3ac6f3a7
JJ
10928 * acinclude.m4: Added --enable-malloc-debugging configure flag.
10929 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
10930 --enable-malloc-debugging selected.
10931 * aclocal.m4 configure: Regenerated.
10932 libm/aclocal.m4 libm/configure: Ditto.
10933 * libc/aclocal.m4 libc/configure: Ditto.
10934 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
10935 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
10936 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
10937 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
10938 * doc/aclocal.m4 doc/configure: Ditto.
10939
52cb9e69
JJ
109402001-04-20 Jeff Johnston <jjohnstn@redhat.com>
10941
10942 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
10943 into one list.
10944 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
10945 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
10946 function prototypes.
10947 (_fscanf_r, _sscanf_r): Ditto.
10948 * libc/include/stdlib.h: Added _strtod_r prototype.
10949 * libc/stdio/Makefile.am: Add new v*scanf functions.
10950 * libc/stdio/Makefile.in: Regenerate.
10951 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
10952 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
10953 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
10954 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
10955 (sscanf): Changed to call __svfscanf_r with _REENT argument.
10956 (_sscanf_r): New routine.
10957 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
10958 with __svfscanf_r prototype.
10959 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
10960 routines.
10961 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
10962 structure as argument as calls reentrant versions of helper functions
10963 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
10964 to _strtol_r and _strtod_r respectively.
10965 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
10966 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
10967 _REENT argument.
10968 * libc/stdio/vscanf.c: New file.
10969 * libc/stdio/vsscanf.c: Ditto.
10970
ee9f39fb
JJ
109712001-04-19 Robert Collins <rbtcollins@hotmail.com>
10972
10973 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
10974 Define daylight to _daylight if it is not defined
17c0c97d 10975 Prepare a variable export of timezone based on timezonevariable.
ee9f39fb
JJ
10976 (Cannot be used with the timezone() function.)
10977
273861e3
JJ
109782001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
10979
ba3ccd63
EB
10980 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
10981 Correct the numerical values.
273861e3 10982
a25b8414
CF
109832001-04-13 Robert Collins <rbtcollins@hotmail.com>
10984
10985 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
10986
b8a8c59d
CV
10987Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
10988
10989 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
10990 on case insensitve file systems.
10991
74f8cc63
CF
109922001-04-12 Robert Collins <rbtcollins@hotmail.com>
10993
10994 * libc/include/sys/features.h: Add appropriate defines for Cygwin
10995 pthread support.
10996 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
10997 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
10998 types. Include <cygwin/types.h> for the cygwin specific typedefs.
10999
16740220
RS
110002001-04-04 Richard Sandiford <rsandifo@redhat.com>
11001
11002 * libc/include/machine/ieeefp.h: Comment about new configuration
11003 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
11004 * libm/common/fdlib.h: Define new macros for testing floats.
11005 * libm/common/sf_*: Use them.
11006 * libm/math/ef_*: Likewise.
11007 * libm/math/sf_*: Likewise.
11008
0694d8d3
JJ
110092001-03-29 Jeff Johnston <jjohnstn@redhat.com>
11010
11011 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
11012 prolog to by-pass possible assembler error.
11013
4833b38c
JJ
110142001-03-21 Egor Duda <deo@logos-m.ru>
11015
ba3ccd63
EB
11016 Allow building internal stubs for non-reentrant syscalls
11017 if target provides its own malloc
11018 * libc/reent/reent.c (errno): Move definition here.
11019 * libc/reent/sbrkr.c: From here.
4833b38c 11020
d17d6d42
CF
110212001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
11022
11023 * libc/include/sys/types.h (BSD int typedefs): Guard with
11024 _BSDTYPES_DEFINED rather than _WINSOCK_H.
11025 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
11026 _SYS_TYPES_FD_SET.
11027 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
11028 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
11029
c7ee75cd
CV
11030Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
11031
11032 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
11033 _PC_POSIX_SECURITY constants for Cygwin.
11034
63dc5d80
CV
11035Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
11036
11037 * libc/sys/cygwin/crt0.c: Add copyright hint.
11038 * libc/sys/cygwin/sys/dirent.h: Ditto.
11039 * libc/sys/cygwin/sys/param.h: Ditto.
11040 * libc/sys/cygwin/sys/utime.h: Ditto.
11041 * libc/sys/cygwin/sys/utmp.h: Ditto.
11042
6f637037
AO
110432001-03-13 Alexandre Oliva <aoliva@redhat.com>
11044
11045 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
11046 equivalent to LONGINT.
11047
e69b6f73
JJ
110482001-03-08 Richard Sandiford <rsandifo@redhat.com>
11049
ba3ccd63
EB
11050 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
11051 jmpbuf on MIPS64 targets.
11052 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
e69b6f73 11053
6198dece
CF
11054Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
11055
17c0c97d 11056 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
ba3ccd63 11057 declarations.
6198dece 11058
cfc05d96
JJ
11059Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
11060
ba3ccd63
EB
11061 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
11062 For RTEMS, define to be ssize_t. Default to int if not defined.
11063 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
11064 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
11065 * libc/stdio/local.h (__sread, __swrite): Likewise.
11066 * libc/include/sys/reent.h (_read, _write): Likewise.
11067 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
11068 * libc/syscalls/sysread.c (read): Likewise.
11069 * libc/syscalls/syswrite.c (write): Likewise.
cfc05d96 11070
6249353a
JJ
110712001-03-05 Jeff Johnston <jjohnstn@redhat.com>
11072
ba3ccd63 11073 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
6249353a 11074
658b5db9
CF
11075Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
11076
11077 * libc/include/sys/stat.h: Use special defines for executable stat bits
11078 when compiling for Cygwin.
11079 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
11080 for Cygwin.
11081
19ca46d5
JJ
110822001-03-02 Jeff Johnston <jjohnstn@redhat.com>
11083
11084 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
11085 of strtok_r is always defined.
11086
b73ed85e
JJ
110872001-03-02 Jeff Johnston <jjohnstn@redhat.com>
11088
11089 * libc/include/machine/ansi.h: New dummy header file.
11090
ee37ede1
JJ
110912001-02-22 Jeff Johnston <jjohnstn@redhat.com>
11092
11093 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
11094 changed the copyright information to allow free modification of the
11095 file with no reference to "copying.dj".
11096 * libc/include/sys/stat-dj.h: Ditto.
11097 * libc/machine/i386/setjmp.S: Ditto.
11098 * libc/sys/h8300hms/sys/file.h: Ditto.
11099 * libc/sys/sysmec/access.c: Ditto.
11100 * libc/sys/sysnecv850/access.c: Ditto.
11101 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
11102 * libc/stdlib/getenv_r.c: Ditto.
11103 * libc/stdlib/putenv_r.c: Ditto.
11104 * libc/stdlib/setenv_r.c: Ditto.
11105 * libc/stdlib/getenv.c: Removed DJ reference since any possible
11106 modifications will now be in the _r version of this file.
11107 * libc/stdlib/putenv.c: Ditto.
11108 * libc/stdlib/setenv.c: Ditto.
11109 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
11110 valid. Added a reference to DJ's web page that contains his address.
11111 * libc/sys/go32/*.s: Removed references to DJ's old address.
11112 * libc/sys/go32/*.c: Ditto.
11113 * libc/sys/go32/*.h: Ditto.
11114 * libc/sys/go32/*.S: Ditto.
11115 * libc/sys/go32/sys/*.h: Ditto.
11116
3a8fc0e4
JJ
111172001-02-21 Jeff Johnston <jjohnstn@redhat.com>
11118
11119 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
11120 HAVE_FCNTL flag check.
11121 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
11122 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
11123
b24ee749
CF
11124Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
11125
11126 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
11127
ab4745dc
JJ
111282001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
11129
ba3ccd63
EB
11130 * libc/include/stdlib.h: Add declarations of rand48 functions and
11131 their reentrant versions.
11132 * libc/include/sys/reent.h: Move macros from rand48.h. Add
11133 struct _rand48 for shared parameters of rand48 functions.
11134 (struct _reent): Add a variable _r48 of struct _rand48.
11135 (_REENT_INIT): Add _r48 initialization.
11136 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
11137 (CHEWOUT_FILES): Add rand48.def.
11138 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
11139 * libc/stdlib/Makefile.in: Regenerated.
11140 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
11141 NetBSD C library.
11142 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
11143 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
11144 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
11145 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
11146 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
11147 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
11148 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
11149 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
11150 * libc/stdlib/rand48.c (__dorand48): Ditto.
11151 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
11152 parameters into macros referring them in the reentrant structure.
ab4745dc 11153
a34c461f
JJ
111542001-02-12 Jeff Johnston <jjohnstn@redhat.com>
11155
11156 * libc/include/sys/stat.h: Add mknod for Cygwin now that
11157 Cygwin definition has correct prototype.
11158
34f31ff2
JJ
111592001-02-08 Jeff Johnston <jjohnstn@redhat.com>
11160
11161 * libc/include/sys/stat.h: Must revert change for mknod
11162 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
11163 prototype.
11164
5336d6de
JJ
111652001-02-08 Jeff Johnston <jjohnstn@redhat.com>
11166
11167 * libc/include/stdio.h: Revert putw prototype.
11168
8915d10a
JJ
111692001-02-08 Edward M. Lee <tailbert@yahoo.com>
11170
ba3ccd63
EB
11171 * libc/include/grp.h: add prototype for initgroups.
11172 * libc/include/stdio.h: fix prototype for putw.
11173 * libc/include/sys/signal.h: add prototype for killpg.
11174 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
11175 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
8915d10a
JJ
11176 vhangup and remove duplicate sysconf prototype.
11177
93ac4487
JJ
111782001-02-07 Jeff Johnston <jjohnstn@redhat.com>
11179
11180 * libc/sys/rtems/sys/types.h: Removed.
11181
31f5feea
JJ
111822001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
11183
ba3ccd63 11184 * libc/include/locale.h: add LC_MESSAGES definition
31f5feea 11185
b5139f59
AO
111862001-02-01 Alexandre Oliva <aoliva@redhat.com>
11187
11188 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
11189 SYS_get_argN):
11190 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
11191 __setup_argv_and_call_main): New.
11192
e29d8355
JJ
111932001-01-31 Jeff Johnston <jjohnstn@redhat.com>
11194
11195 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
11196 if defined.
11197 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
11198 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
11199 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
11200 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
11201
82ea92f3
CF
11202Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
11203
11204 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
11205 compiling under Cygwin.
11206
3aaa66f8
JJ
112072001-01-29 Jeff Johnston <jjohnstn@redhat.com>
11208
11209 * libc/include/math.h (signgam): Change to errno-like solution
11210 using a function to return the address of the real signgam.
11211 * libc/reent/signgam.c: New file containing __signgam().
11212 * libc/reent/Makefile.am: Added signgam.c to list of files.
11213 * libc/reent/Makefile.in: Regenerated.
11214
610b895a
AO
112152001-01-25 Alexandre Oliva <aoliva@redhat.com>
11216
b0913397
AO
11217 * libc/sys/sh/syscalls.c (_times): New.
11218
610b895a
AO
11219 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
11220 * libc/sys/sh/syscalls.c (_gettimeofday): New.
11221
3643210e
JJ
112222001-01-23 Jeff Johnston <jjohnstn@redhat.com>
11223
11224 * libc/include/math.h (signgam): Regress previous fix as
11225 it does not handle programs with extern int signgam in them.
11226
841081c9
JJ
112272001-01-23 Jeff Johnston <jjohnstn@redhat.com>
11228
11229 * libc/include/math.h (signgam): Changed to a macro refering to
11230 its location in the reentrant structure.
11231
e9cd87b8
JJ
112322001-01-23 Jeff Johnston <jjohnstn@redhat.com>
11233
11234 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
11235 that suppressed . for %.0f, 0.1. Check now looks if there
11236 are padding zeroes (expt) in addition to any digits (ndig) to
11237 print.
11238
a302b48c
JJ
112392001-01-18 Jeff Johnston <jjohnstn@redhat.com>
11240
11241 * libc/sys/arc/Makefile.am: New file.
11242 * libc/sys/arc/Makefile.in: Ditto.
11243 * libc/sys/arc/aclocal.m4: Ditto.
11244 * libc/sys/arc/configure: Ditto.
11245 * libc/sys/arc/configure.in: Ditto.
11246 * libc/sys/arc/crt0.S: Ditto.
11247 * libc/sys/arc/isatty.c: Ditto.
11248 * libc/sys/arc/mem-layout.c: Ditto.
11249 * libc/sys/arc/sbrk.c: Ditto.
11250 * libc/sys/arc/syscalls.c: Ditto.
11251 * libc/sys/arc/sys/syscall.h: Ditto.
11252
d0319c3b
CF
11253Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
11254
11255 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
11256
e45ab890
CF
11257Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
11258
11259 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
11260
1376245a
DD
11261Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
11262
11263 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
11264
92b57543
NC
112652001-01-09 Nick Clifton <nickc@redhat.com>
11266
11267 * configure.host (v859): Remove unsupported compiler options.
11268
7d6d33d4
JJ
11269Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
11270
11271 * src/newlib/configure.host (*-*-rtems*): add printf long long
11272 support for RTEMS.
11273
602f8b5a 112742000-12-19 Graham Stott <grahams@redhat.com>
6286746a 11275
ba3ccd63 11276 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
6286746a 11277
9c2b8183
JJ
11278Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
11279
11280 * configure.host: Turn on long double I/O for Cygwin.
11281
804368d3
JJ
11282Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
11283
11284 * MAINTAINERS: Removed Ranjith.
11285 * NEWS: Updated for 1.9.0.
11286 * README: Updated.
11287 * acinclude.m4: Updated to release 1.9.0.
11288 * aclocal.m4 configure
11289 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
11290 libc/machine/aclocal.m4 libc/machine/configure
11291 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
11292 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
11293 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
11294 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
11295 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
11296 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
11297 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
11298 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
11299 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
11300 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
11301 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
11302 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
11303 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
11304 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
11305 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
11306 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
11307 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
11308 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
11309 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
11310 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
11311 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
11312 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
11313 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
11314 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
11315 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
11316 libc/sys/aclocal.m4 libc/sys/configure
11317 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
11318 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
11319 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
11320 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
11321 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
11322 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
11323 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
11324 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
11325 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
11326 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
11327 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
11328 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
11329 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
11330 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
11331 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
11332 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
11333 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
11334 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
11335 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
11336 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
11337 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
11338 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
11339 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
11340 libm/aclocal.m4 libm/configure: Regenerated.
11341
0985d43f
CV
11342Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11343
11344 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
11345 when __CYGWIN__ is defined.
11346
b6182a09
JJ
113472000-12-13 Jeff Johnston <jjohnstn@redhat.com>
11348
11349 * libc/stdlib/ldtoa.c (_ldcheck): New routine
11350 that categorizes a long double as NaN, Infinity, or other.
17c0c97d
EB
11351 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
11352 isinfl and isnanl static routines which were i386-specific. Changed
b6182a09
JJ
11353 calls to the two removed routines to a single _ldcheck call.
11354 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
11355
adbbb034
JJ
113562000-12-13 Jeff Johnston <jjohnstn@redhat.com>
11357
11358 * Makefile.am: Fixed install-data-local target to use
11359 $(mkinstalldirs) for the installed header files to ensure
11360 the directories exist before copying.
11361 * Makefile.in: Regenerated.
11362
cbd19336
JJ
113632000-12-12 Jeff Johnston <jjohnstn@redhat.com>
11364
11365 * libc/include/sys/unistd.h: Restored Cygwin _SC
11366 constants and moved new constants appropriately
11367 so Cygwin will build.
11368
8fb37963
JJ
113692000-12-11 Joel Sherrill <joel@OARcorp.com>
11370
ba3ccd63
EB
11371 * Merge RTEMS specific .h files into main libc/include.
11372 * libc/sys/rtems/include/signal.h: Removed.
11373 * libc/sys/rtems/include/time.h: Removed.
11374 * libc/sys/rtems/sys/features.h: Removed.
11375 * libc/sys/rtems/sys/sched.h: Removed.
11376 * libc/sys/rtems/sys/siginfo.h: Removed.
11377 * libc/sys/rtems/sys/signal.h: Removed.
11378 * libc/sys/rtems/sys/time.h: Removed.
11379 * libc/sys/rtems/sys/times.h: Removed.
8fb37963
JJ
11380 definitions for time_t and clock_t since these are
11381 no longer in time.h.
ba3ccd63
EB
11382 * libc/include/pthread.h: New file.
11383 * libc/include/sys/sched.h: New file.
11384 * libc/include/sys/features.h: New file.
11385 * libc/include/time.h: Removed duplicate definition of clock_t
11386 and time_t, get them from <sys/types.h> instead. Add prototypes
11387 for POSIX clock and timer functionality.
8fb37963 11388 * libc/sys/linux/sys/types.h: Changed to include
ba3ccd63
EB
11389 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
11390 * libc/include/sys/signal.h: Add more complete set of POSIX
11391 signal functionality including real-time and threaded signals.
11392 * libc/include/sys/types.h: Add clock_t, time_t, struct
17c0c97d 11393 timespec, and struct itimerspec. Centralizing these makes
8fb37963 11394 things cleaner. RTEMS uses 64-bit dev_t.
ba3ccd63
EB
11395 Added numerous primitive definitions
11396 for pthreads including macros, pthread_attr_t,
17c0c97d 11397 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
8fb37963 11398 pthread_once_t, and pthread_t.
ba3ccd63
EB
11399 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
11400 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
11401 Feature flags removed and moved to new file <sys/features.h>.
11402 Full set of POSIX sysconf() constants
8fb37963 11403
2efbc2a7
JJ
114042000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
11405
11406 * configure.host: Added x86 linux target.
11407 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
11408 definitions provided if not already defined.
11409 * libc/sys/linux/crt0.c: New file.
11410 * libc/sys/linux/Makefile.am: Ditto.
11411 * libc/sys/linux/Makefile.in: Ditto.
11412 * libc/sys/linux/aclocal.m4: Ditto.
11413 * libc/sys/linux/brk.c: Ditto.
11414 * libc/sys/linux/configure: Ditto.
11415 * libc/sys/linux/configure.in: Ditto.
11416 * libc/sys/linux/getoptlong.c: Ditto.
11417 * libc/sys/linux/ids.c: Ditto.
11418 * libc/sys/linux/inode.c: Ditto.
11419 * libc/sys/linux/io.c: Ditto.
11420 * libc/sys/linux/linux.c: Ditto.
11421 * libc/sys/linux/process.c: Ditto.
11422 * libc/sys/linux/realpath.c: Ditto.
11423 * libc/sys/linux/select.c: Ditto.
11424 * libc/sys/linux/signal.c: Ditto.
11425 * libc/sys/linux/systat.c: Ditto.
11426 * libc/sys/linux/termios.c: Ditto.
11427 * libc/sys/linux/time.c: Ditto.
11428 * libc/sys/linux/wait.c: Ditto.
11429 * libc/sys/linux/include/alloca.h: Ditto.
11430 * libc/sys/linux/include/getopt.h: Ditto.
11431 * libc/sys/linux/include/stdint.h: Ditto.
11432 * libc/sys/linux/include/unistd.h: Ditto.
11433 * libc/sys/linux/sys/cdefs.h: Ditto.
11434 * libc/sys/linux/sys/dirent.h: Ditto.
11435 * libc/sys/linux/sys/errno.h: Ditto.
11436 * libc/sys/linux/sys/fcntl.h: Ditto.
11437 * libc/sys/linux/sys/file.h: Ditto.
11438 * libc/sys/linux/sys/ioctl.h: Ditto.
11439 * libc/sys/linux/sys/resource.h: Ditto.
11440 * libc/sys/linux/sys/signal.h: Ditto.
11441 * libc/sys/linux/sys/stat.h: Ditto.
11442 * libc/sys/linux/sys/syscall.h: Ditto.
11443 * libc/sys/linux/sys/termios.h: Ditto.
11444 * libc/sys/linux/sys/time.h: Ditto.
11445 * libc/sys/linux/sys/types.h: Ditto.
11446 * libc/sys/linux/sys/utmp.h: Ditto.
11447 * libc/sys/linux/sys/utsname.h: Ditto.
11448 * libc/sys/linux/sys/wait.h: Ditto.
11449
a08c98bb
JJ
114502000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
11451
ba3ccd63
EB
11452 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
11453 can be a relative path to $(top_srcdir)/install.sh so ensure the
11454 autoconf detected settings are properly passed recursively.
11455 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
11456 properly to subdirectories.
a08c98bb
JJ
11457 * Makefile.in: Regenerated.
11458
b294082c
JJ
114592000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
11460
ba3ccd63
EB
11461 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
11462 a floating point register unless really printing a floating
11463 point number.
b294082c 11464
2005ab6b
JJ
114652000-12-07 Jeff Johnston <jjohnstn@redhat.com>
11466
11467 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
11468 Also removed \r's.
11469 (asctoeg): Replaced alloca call with stack array and malloc
11470 when storage exceeds reasonable limit.
11471 (e53toe): Fixed einfin calls missing ldp parameter.
11472 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
11473
9f6e8f1b
JJ
114742000-12-06 Jeff Johnston <jjohnstn@redhat.com>
11475
2005ab6b 11476
9f6e8f1b
JJ
11477 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
11478
6bdac416
JJ
114792000-12-06 Jeff Johnston <jjohnstn@redhat.com>
11480
11481 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
11482 * libc/stdlib/Makefile.in: Regenerated.
11483 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
11484 * libc/stdio/vfieeefp.h: Added long double bit structures.
11485 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
11486 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
11487 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
11488 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
11489 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
11490 _strtold routines used for conversions between character
11491 and long double.
11492
ec270d31
CV
11493Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11494
11495 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
11496
db2d9549
JJ
114972000-12-04 Joel Sherrill <joel@OARcorp.com>
11498
ba3ccd63 11499 * libc/include/machine/time.h: RTEMS systems can configure clock
db2d9549
JJ
11500 tick rate so use sysconf() to ask.
11501
6ba54a15
JJ
115022000-12-04 Joel Sherrill <joel@OARcorp.com>
11503
ba3ccd63 11504 * libc/include/sys/times.h: Add reference to POSIX standard.
6ba54a15 11505
8677b819
JJ
115062000-12-04 Joel Sherrill <joel@OARcorp.com>
11507
ba3ccd63
EB
11508 * libc/include/sys/time.h: Added BSD timer manipulation macros
11509 used by RTEMS code.
8677b819 11510
1b61a706
JJ
115112000-12-04 Joel Sherrill <joel@OARcorp.com>
11512
ba3ccd63
EB
11513 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
11514 referenced by code generated by gcc 2.8.1.
11515 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
1b61a706
JJ
11516 satisfy gcc.
11517
f5e7c124
JJ
115182000-12-04 Joel Sherrill <joel@OARcorp.com>
11519
ba3ccd63 11520 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
f5e7c124 11521
768abc9c
JJ
115222000-12-04 Joel Sherrill <joel@OARcorp.com>
11523
ba3ccd63 11524 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
768abc9c 11525
9e5dd5ea
JJ
115262000-12-04 Joel Sherrill <joel@OARcorp.com>
11527
ba3ccd63 11528 * configure.host (or16, or32): New entries for OpenCores
9e5dd5ea 11529 OpenRisc CPUs.
ba3ccd63 11530 (*-*-rtems*): Add -DNO_EXEC.
9e5dd5ea 11531
768abc9c 115322000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
7713fb6f 11533
ba3ccd63
EB
11534 * libc/include/sys/errno.h: Added comments on many error numbers.
11535 * libc/string/strerror.c: Added some more strings.
7713fb6f 11536
b273323f
JJ
115372000-11-30 Jeff Johnston <jjohnstn@redhat.com>
11538
11539 * libc/sys/sh/syscalls.c (_link): New stub.
11540
0ffc3b94
NC
115412000-11-29 Nick Clifton <nickc@redhat.com>
11542
11543 * configure.host: Add xscale target.
11544 * libc/machine/xscale: New directory.
11545 * libc/machine/xscale/Makefile.am: New file.
11546 * libc/machine/xscale/Makefile.in: New file.
11547 * libc/machine/xscale/aclocal.m4: New file.
11548 * libc/machine/xscale/configure: New file.
11549 * libc/machine/xscale/configure.in: New file.
11550 * libc/machine/xscale/memchr.S: New file.
11551 * libc/machine/xscale/memcmp.S: New file.
11552 * libc/machine/xscale/memcpy.S: New file.
11553 * libc/machine/xscale/memmove.S: New file.
11554 * libc/machine/xscale/memset.S: New file.
11555 * libc/machine/xscale/strchr.S: New file.
11556 * libc/machine/xscale/strcmp.S: New file.
11557 * libc/machine/xscale/strcpy.S: New file.
11558 * libc/machine/xscale/strlen.S: New file.
11559
cbbf0f96
CV
11560Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11561
11562 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
11563 avoid compiler warnings.
11564
73dea790
MM
115652000-11-22 Michael Meissner <meissner@redhat.com>
11566
11567 * libc/posix/execl.c (execl): Don't reference environ directly,
11568 reference it only via a static pointer to avoid problems with some
11569 shared library systems and with different uses of small data where
11570 the user specifies his own version of environ.
11571 * libc/posix/execv.c (execv): Ditto.
11572 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
11573 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
11574 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
11575
11576 * libc/stdlib/getenv.c (environ): Delete unused reference to
11577 environ.
11578
11579 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
11580 colorization.
11581 * libc/stdlib/system.c: Ditto.
11582
08eac2ae
CF
11583Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
11584
11585 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
11586 including windows headers.
11587
5478bf37
JJ
115882000-11-20 Jeff Johnston <jjohnstn@redhat.com>
11589
11590 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
11591 * libc/include/dirent.h: Added definition of MAXNAMLEN if
11592 not defined by sys/dirent.h.
11593 * libc/posix/execvp.c: Added include of dirent.h to get
11594 MAXNAMLEN value which used to be in unistd.h.
11595
3a760728
CV
11596Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11597
11598 * libc/include/sys/types.h: Change type of i to `size_t' in
11599 FD_ZERO macro to avoid compiler warnings.
11600
86fff69f
CF
11601Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
11602
11603 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
11604 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
11605
ba9e88d2
CV
11606Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11607
11608 * libc/include/sys/unistd.h: Add defines for sysconf values
11609 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
11610 _SC_AVPHYS_PAGES.
11611
a8018ef3
CF
11612Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
11613
11614 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
11615 declarations for __CYGWIN__.
11616
b944c6f6
GK
116172000-09-19 Geoffrey Keating <geoffk@cygnus.com>
11618
11619 * libc/signal/signal.c (__sigtramp_r): ISO C requires
11620 case labels to be integral constant expressions, so
11621 use an if/else tree instead.
11622 (_raise_r): Likewise.
11623
7f18fcb4
JJ
116242000-09-13 Jeff Johnston <jjohnstn@redhat.com>
11625
11626 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
11627 clipping patch from e-mail reader.
11628
242361df
JJ
116292000-09-13 Will Cohen <wcohen@redhat.com>
11630
11631 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
11632 Added return value 0.
11633 (_longjmp): Allow longjmp to return value of second argument
11634 passed to it.
11635
8a8c59b9
JJ
116362000-09-06 Jeff Johnston <jjohnstn@redhat.com>
11637
ba3ccd63
EB
11638 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
11639 inline code to prevent having to include another header file.
8a8c59b9 11640
a385ae75
CF
11641Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
11642
11643 * Makefile.am: Fix space vs. tab problem in install-data-local.
11644 * Makefile.in: Regenerate.
11645
11646Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
11647
11648 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
11649 (_EXPARM): New macro for defining a function parameter.
11650 * libc/include/stdlib.h: Use _EXPARM.
11651 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
11652
a36cd013
JJ
116532000-09-05 Manfred Hollstein <manfredh@redhat.com>
11654
ba3ccd63
EB
11655 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
11656 required, as documented in the gnu coding standards.
11657 * Makefile.in: Regenerate.
a36cd013 11658
f825dfda
JJ
116592000-09-05 Jeff Johnston <jjohnstn@redhat.com>
11660
11661 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
11662 make O_NDELAY and O_NONBLOCK have the same value.
11663
4ba9aab7
JJ
116642000-08-30 Kazu Hirata <kazu@hxi.com>
11665
ba3ccd63 11666 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
4ba9aab7 11667
db7acc38
JJ
116682000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
11669
ba3ccd63
EB
11670 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
11671 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
11672 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
11673 everywhere else.
db7acc38 11674
44e36af4
GK
116752000-08-30 Geoffrey Keating <geoffk@cygnus.com>
11676
11677 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
11678 * libc/include/string.h: Don't include <sys/types.h>,
11679 as it causes really bad namespace pollution. Don't declare
11680 swab(), it is properly declared in unistd.h.
11681
00a2f168
JJ
116822000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
11683
ba3ccd63
EB
11684 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
11685 (broken) support for non-existent /etc/passwd field "comment".
00a2f168 11686
6beeb240
JJ
116872000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
11688
ba3ccd63
EB
11689 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
11690 only if _DIRENT_HAVE_D_NAMLEN is defined.
11691 (alphasort): aligned prototype with
11692 libc/sys/cygwin/sys/dirent.h and simplified function body.
11693 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
11694 long telldir (DIR *) as mentioned in annex B of POSIX.1
6beeb240 11695
ef44da42
JJ
116962000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
11697
ba3ccd63
EB
11698 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
11699 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
11700 Added __CLI and __STI macros (controlled via
11701 _I386MACH_ALLOW_HW_INTERRUPTS macro).
11702 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
11703 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
11704 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
11705 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
11706 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
11707 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
11708 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
11709 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
11710 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
11711 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
11712 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
11713 for all global entry points.
11714 * libc/machine/i386/setjmp.S: removed code replicated in
11715 libc/machine/i386/i386mach.h and included i386mach.h instead;
11716 Use __CLI and __STI instead of cli and sti.
ef44da42 11717
14d3488d
DD
117182000-08-25 DJ Delorie <dj@redhat.com>
11719
11720 * libc/include/sys/unistd.h (environ): this one isn't from the
11721 DLL, no __IMPORT
11722
c9ca4412
CF
11723Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
11724
11725 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
11726 environ when compiling under cygwin since it is already declared in
11727 unistd.h.
11728
2d5862de
JJ
117292000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
11730
11731 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
11732 like x << y-z to the equivalent x << (y-z).
11733 (d2b): changed if statements with assignment to perform the
11734 assignment prior to the if check.
11735 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
11736 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
11737 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
11738 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
11739 precedence.
11740 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
17c0c97d 11741 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
2d5862de
JJ
11742 execve.c).
11743 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
11744 precedence.
11745 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
11746 clarify && and || precendence (and to remove pascalism).
11747 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
11748 * libm/math/s_infconst.c: added another pair of braces to all
11749 initializers for __infinity (need three: for __infinity[1] array,
11750 for union __dmath, and for i[2]).
11751
0888fedd
JJ
117522000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
11753
199359f0
JJ
11754 * libc/stdlib/abort.c: changed description: uses "raise" instead of
11755 "getpid" and "kill"; added: uses "write" and "_exit".
11756 Also included unistd.h for "_exit" prototype.
11757 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
11758 reent.h for "_fork_r" and "_wait_r" prototypes.
17c0c97d 11759 (do_system): changed extern char *environ[] to POSIX-friendly
199359f0
JJ
11760 extern char **environ.
11761 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
11762 prototypes.
11763 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
11764 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
11765 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
11766 * libc/reent/openr.c: included fcntl.h for "open" prototype.
11767 * libc/reent/signalr.c: included signal.h for "kill" prototype,
11768 unistd.h for "getpid" prototype.
11769 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
11770 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
11771 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
11772 prototype. Also included stdlib.h for "abort", string.h for
11773 "strdup" and "strncmp" prototypes.
11774 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
11775 "strncpy", unistd.h for "read" and "close" prototypes.
11776 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
11777 "strcat" prototypes.
11778
117792000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
11780
0888fedd
JJ
11781 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
11782 used later (ifdef __SCLE)
11783 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
11784 used later (ifdef MB_CAPABLE)
11785 * libc/string/memset.c (memset): removed unused variables "count"
11786 and "unaligned_addr"
11787 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
11788 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
11789 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
11790 and "gid"
11791
a334e5ef
JJ
117922000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
11793
ba3ccd63
EB
11794 * libc/stdlib/envlock.c: changed documented "__env_lock" and
11795 "__env_unlock" prototype from "void *" or "char *" to
11796 "struct _reent *" to match real function. Also added include
a334e5ef 11797 of envlock.h.
ba3ccd63
EB
11798 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
11799 "__malloc_unlock" prototype from "void *" or "char *" to
11800 "struct _reent *" to match real function.
11801 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
11802 prototypes (for getenv_r.c and setenv_r.c).
a334e5ef 11803
644b7f26
DD
118042000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
11805
11806 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
11807 and prototype in cygwin's utmp.h
11808
5bacbf10
JJ
118092000-08-16 Eric Fifer <efifer@sanwaint.com>
11810
ba3ccd63 11811 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
5bacbf10 11812
38a6bf98
NC
118132000-08-09 Nick Clifton <nickc@cygnus.com>
11814
11815 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
11816 epilogue and to allow the functions to be used in a Thumb based
11817 toolchain.
11818
befe0fb3
JJ
118192000-08-08 Jeff Johnston <jjohnstn@redhat.com>
11820
11821 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
11822 so size of 0 results in nothing being written to string.
11823 Also fixed code so that when size is non-zero, there is only
11824 a maximum of size - 1 characters written to the array and
11825 a nul terminator is appended at the end.
11826 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
11827
749d9bcd
DD
118282000-08-01 DJ Delorie <dj@redhat.com>
11829
11830 * libc/include/sys/config.h: define __IMPORT appropriately
11831 * libc/include/ctype.h (_ctype_): use __IMPORT
11832 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
11833 * libc/include/math.h (__mb_cur_max): ditto
11834 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
11835 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
11836 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
11837 * libc/include/unistd.h (environ): ditto
11838
7c110b17
MM
118392000-07-28 Michael Meissner <meissner@redhat.com>
11840
11841 * libc/include/math.h (__infinity): Declare as an array without
11842 bounds to get around small data support. Rewrite Cygwin support
11843 to be more general.
11844 * libm/math/s_infconst.c (__infinity): Ditto.
11845 * libm/mathfp/s_infconst.c (__infinity): Ditto.
11846
bf7be721
CF
11847Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
11848
11849 * libc/include/math.h: Use appropriate dll import linkage for
11850 __infinity under Cygwin.
11851
91a8d90b
DD
118522000-07-13 DJ Delorie <dj@cygnus.com>
11853
11854 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
11855
ba2048d3
JJ
11856Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
11857
11858 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
11859 to argument list for AngelSWI_Reason_GetCmdLine.
11860
4634da64
JJ
11861Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
11862
11863 * configure.host: Add support for AVR target.
11864 * libc/include/machine/ieeefp.h: Likewise.
11865 * libc/include/sys/config.h: Likewise.
11866
b19f72a2
RK
11867Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
11868
11869 * README: Newlib 1.8.2 must be built in a separate directory
11870 than the sources.
11871
a704d94a
JJ
11872Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11873
ba3ccd63
EB
11874 * libc/include/sys/reent.h (_rand_next): Added __extension__
11875 qualifier as long long type is not strict ANSI.
11876 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
11877 to long long constant.
a704d94a 11878
b585720b
CV
11879Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
11880
ba3ccd63
EB
11881 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
11882 `setegid' provided by Cygwin.
b585720b 11883
01c327ba
CV
11884Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
11885
ba3ccd63
EB
11886 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
11887 account for Cygwin.
01c327ba 11888
46a43a99
JJ
11889Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11890
ba3ccd63
EB
11891 * libc/include/sys/reent.h (_rand_next): Changed to
11892 unsigned long long and moved to end of _reent struct in _new union.
11893 (_REENT_INIT): Changed to move _rand_next initialization.
11894 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
11895 linear congruential algorithm that is used by DJGPP.
46a43a99 11896
a68078cb
RK
11897Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
11898
11899 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
11900 * libc/include/sys/config.h: Define __RAND_MAX.
11901
518882f3
JJ
11902Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11903
ba3ccd63
EB
11904 * libc/stdlib/rand_r.c: New algorithm that meets minimal
11905 standard.
518882f3 11906
d51d968a
CF
11907Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
11908
11909 * libc/include/string.h: Work around problem with strsignal and gdb.
11910
d2dd5765
CF
11911Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
11912
11913 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
11914 * libc/include/malloc.h: Ditto.
11915 * libc/include/process.h: Ditto.
11916 * libc/include/stdio.h: Ditto.
11917 * libc/include/stdlib.h: Ditto.
11918 * libc/include/time.h: Ditto.
11919 * libc/include/machine/setjmp.h: Ditto.
11920 * libc/include/sys/errno.h: Ditto.
11921 * libc/include/sys/signal.h: Ditto.
11922 * libc/include/sys/stat.h: Ditto.
11923 * libc/include/sys/time.h: Ditto.
11924 * libc/include/sys/unistd.h: Ditto.
11925 * libc/include/string.h: Ditto. strsignal should return a const char *.
11926
88870218
JJ
119272000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
11928
11929 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
11930 * libm/common/s_log1p.c (log1p): Likewise.
11931 * libm/common/s_scalbn.c (scalbn): Likewise.
11932 * libm/math/e_log.c: Likewise.
11933 * libm/math/e_asin.c: Likewise.
11934 * libm/math/ef_asin.c: Likewise.
11935 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
11936 * libm/math/e_j1.c (pone, qone): Likewise.
11937 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
11938 * libm/math/ef_j1.c (ponef, qonef): Likewise.
11939 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
11940 * libm/mathfp/e_j1.c (pone, qone): Likewise.
11941 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
11942 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
11943
c4e1aa01
DD
119442000-05-19 DJ Delorie <dj@cygnus.com>
11945
11946 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
11947 (__sread): always read in binary mode
11948 (__swrite): always write in binary mode
11949 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
11950 compatibility issues with different dll versions
11951 * libc/stdio/fopen.c: use __stextmode
11952 * libc/stdio/fdopen.c: ditto
11953 * libc/stdio/freopen.c: ditto
11954 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
11955 * libc/stdio/local.h: declare __stextmode
17c0c97d 11956
f4393261
DD
119572000-05-18 DJ Delorie <dj@cygnus.com>
11958
11959 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
17c0c97d 11960
2b533fac
JJ
11961Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11962
11963 * libc/include/ctype.h: Changed tolower and toupper macros
11964 to use __extension__ to prevent pedantic warnings.
11965
75362a76
RK
11966Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
11967
11968 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
11969 structures.
11970
ec463fc7
JW
11971Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
11972
11973 * libc/include/machine/ieeefp.h: Add ia64 support.
11974 * configure.host: Likewise.
11975
f35ceefa
JJ
11976Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
11977
ba3ccd63
EB
11978 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
11979 month is now padded with space, not zero. This now conforms to
f35ceefa
JJ
11980 ANSI standard.
11981
b96fca8c
CV
11982Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
11983
ba3ccd63
EB
11984 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
11985 host or network path") used by cygwin. Add some comments.
b96fca8c 11986
49d64538
JJ
11987Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
11988
11989 * libc/include/stdio.h (FILE): define __SCLE for "convert line
11990 endings" for Cygwin.
11991 (__sgetc): convert line endings if needed
11992 (__sputc): ditto
11993 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
11994 * libc/stdio/fopen.c (_fopen_r): ditto
11995 * libc/stdio/freopen.c (freopen): ditto
11996 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
11997 * libc/stdio/fvwrite.c (__sfvwrite): ditto
11998
91fb1e7f
AO
11999Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
12000
12001 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
12002 post-increment when it is worth it, spacewise.
12003
c87be3e4
JJ
12004Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
12005
12006 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
12007 * libc/stdio/findfp.c (std): Added declaration of flags and file.
17c0c97d 12008 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
c87be3e4
JJ
12009 return type.
12010 * libc/stdio/putchar.c (putchar): Added return statement.
12011 * libc/stdio/refill.c (lflush): Added correct parentheses.
12012 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
17c0c97d 12013 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
c87be3e4
JJ
12014 prints long value to use l qualifier.
12015 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
12016 messages and initialized local values: ilim, ilim1, and spec_case.
12017 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
12018 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
12019 * libc/stdlib/mprec.c: Ditto.
12020 * libc/stdlib/setenv_r.c: Ditto.
12021 * libc/stdlib/strtod.c: Ditto.
12022 * libc/stdlib/strtol.c: Ditto.
12023 * libc/stdlib/strtoul.c: Ditto.
12024 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
12025 * libm/common/sf_log1p.c: Ditto.
12026 * libm/common/sf_scalbn.c: Ditto.
12027 * libm/math/ef_log.c: Ditto.
12028
11f5b065
CV
12029Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
12030
ba3ccd63
EB
12031 * libc/posix/execvp.c (execvp): Check path for
12032 trailing slash.
11f5b065 12033
796e3b20
CV
12034Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
12035
ba3ccd63
EB
12036 * libc/include/sys/unistd.h: Add prototypes for
12037 fchmod, fchown, lchown.
796e3b20 12038
b489803a
JJ
12039Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
12040
12041 * acinclude.m4: Changed release to 1.8.2.
12042 * aclocal.m4 configure doc/aclocal.m4 doc/configure
12043 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
12044 libc/machine/configure libc/machine/a29k/aclocal.m4
12045 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
12046 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
12047 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
12048 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
12049 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
12050 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
12051 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
12052 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
12053 libc/machine/i386/configure libc/machine/i960/aclocal.m4
12054 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
12055 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
12056 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
12057 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
12058 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
12059 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
12060 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
12061 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
12062 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
12063 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
12064 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
12065 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
12066 libc/machine/v850/configure libc/machine/w65/aclocal.m4
12067 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
12068 libc/machine/z8k/configure libc/sys/aclocal.m4
12069 libc/sys/aclocal.m4 libc/sys/configure
12070 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
12071 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
12072 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
12073 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
12074 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
12075 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
12076 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
12077 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
12078 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
12079 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
12080 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
12081 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
12082 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
12083 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
12084 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
12085 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
12086 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
12087 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
12088 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
12089 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
12090 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
12091 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
12092 libm/aclocal.m4 libm/configure: Regenerated.
12093
79908d67
NC
120942000-03-24 Nick Clifton <nickc@cygnus.com>
12095
12096 * libc/sys/arm/syscalls.c: Fix compile time warnings.
12097 (do_AngelSWI): Add "cc" to list o registers clobbered.
12098
7684ddaf
FN
12099Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
12100
12101 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
17c0c97d 12102 information to be clobbered by an Angel C library support syscall.
7684ddaf 12103
b8ec20c8
JJ
12104Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
12105
12106 * libc/stdlib/envlock.c: Fixed comment typo.
12107
fae4c299
JJ
12108Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
12109
12110 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
12111 code to update nread as each character is processed instead
12112 of using buffer contents which throw away leading zeroes.
12113
dc98804b
RK
12114Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
12115
ba3ccd63 12116 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
dc98804b 12117
5ed2f523
JJ
12118Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
12119
12120 * libc/include/string.h: Include <sys/types.h>.
12121
1cf0ee34
AO
12122Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12123
12124 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
12125 with XSH5, not SVID.
12126
e9c94978
JJ
12127Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
12128
ba3ccd63 12129 * libc/include/string.h: Changed last argument back to ssize_t
17c0c97d 12130 to make it compatible with XPG4 definition which is
e9c94978
JJ
12131 defined in <unistd.h>. There is a conflict in the SVID 3
12132 and XPG4 definitions and newlib will settle with XPG4.
ba3ccd63 12133 * libc/string/swab.c: Ditto.
e9c94978 12134
3072163c
JJ
12135Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
12136
ba3ccd63
EB
12137 * libc/include/string.h: Changed last argument to size_t.
12138 * libc/string/swab.c: Changed last argument to size_t.
3072163c 12139
f205ea7a
AO
12140Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12141
12142 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
12143 (CHEWOUT_FILES): Added unlinkr.def.
12144 * libc/reent/Makefile.in: Rebuilt.
12145 * libc/sys.tex: Include unlinkr.def.
12146 * libc/reent/linkr.c (_unlink_r): Moved to...
12147 * libc/reent/unlinkr.c: ... new file.
12148
85dd2e5b
AO
12149Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12150
12151 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
12152 (CHEWOUT_FILES): Added swab.def.
12153 * libc/string/Makefile.in: Rebuilt.
12154 * libc/string/string.tex: Include swab.def.
12155 * libc/include/string.h (swab): Declare.
12156 * libc/string/swab.c: New file.
12157
c5053058
AO
12158Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12159
12160 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
12161 (CHEWOUT_FILES): Added getw.def and putw.def.
12162 * libc/stdio/Makefile.in: Rebuilt.
12163 * libc/stdio/stdio.tex: Include getw.def and putw.def.
12164 * libc/stdio/getw.c: New file.
12165 * libc/stdio/putw.c: New file.
12166
dbaf37cf
JJ
12167Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
12168
12169 * libc/stdio/flags.c (__sflags): Added check that mode[1]
12170 is non-null before looking at mode[2].
12171
bc019ef2
RK
12172Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
12173
12174 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
12175 * libm/mathfp/sf_atan.c: Ditto.
12176
12177Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
12178
12179 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
12180
cd641b2d
RK
12181Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
12182
12183 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
12184 _DOUBLE_IS_32BITS.
12185
b0ba0ac2
JJ
12186Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
12187
12188 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
12189 call prior to calling _VFPRINTF_R so reentrant data area is set.
12190 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
12191
8a0efa53
CF
12192Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
12193
12194 * libc/stdio/vfscanf.c (limits.h): #include.
12195 (MAX_LONG_LEN): #define.
12196 (__svfscanf): Handle floating point numbers with arbitrary amounts
12197 of leading zeroes.
12198
121992000-02-15 Nick Clifton <nickc@cygnus.com>
12200
12201 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
12202 zero. Set the blocksize to 1024/
12203
12204Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
12205
12206 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
12207 with line buffering.
12208
12209Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
12210
17c0c97d 12211 * acinclude.m4: Changed include directory for winsup headers.
8a0efa53
CF
12212 * aclocal.m4 configure libc/aclocal.m4
12213 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
12214 libc/locale/Makefile.in libc/machine/aclocal.m4
12215 libc/machine/configure libc/machine/a29k/aclocal.m4
12216 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
12217 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
12218 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
12219 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
12220 libc/machine/fr30/configure
12221 libc/machine/h8300/aclocal.m4
12222 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
12223 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
12224 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
12225 libc/machine/i386/configure libc/machine/i960/aclocal.m4
12226 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
12227 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
12228 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
12229 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
12230 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
12231 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
12232 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
12233 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
17c0c97d 12234 libc/machine/powerpc/configure
8a0efa53
CF
12235 libc/machine/sh/aclocal.m4
12236 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
12237 libc/machine/sparc/configure
12238 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
12239 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
12240 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
12241 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
12242 libc/misc/Makefile.in libc/posix/Makefile.in
17c0c97d 12243 libc/reent/Makefile.in
8a0efa53
CF
12244 libc/signal/Makefile.in
12245 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
12246 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
12247 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
12248 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
12249 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
12250 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
12251 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
12252 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
12253 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
12254 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
12255 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
12256 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
12257 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
12258 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
12259 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
12260 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
12261 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
12262 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
12263 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
12264 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
12265 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
12266 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
12267 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
12268 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
12269 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
12270 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
12271 libm/configure: Regenerated.
12272
12273Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
12274
12275 * libc/stdlib/putenv_r.c (_putenv_r): New file.
12276 * libc/stdlib/strdup_r.c (_strdup_r): New file.
12277 * libc/include/string.h: Added _strdup_r.
17c0c97d 12278 * libc/stdlib/putenv.c: Added call to reentrant version.
8a0efa53
CF
12279 * libc/stdlib/strdup.c: Ditto.
12280 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
12281 * libc/include/stdlib.h: Ditto.
17c0c97d 12282 * libc/stdlib/Makefile.in: Regenerated.
8a0efa53
CF
12283 * libc/string/Makefile.in: Regenerated.
12284 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
12285 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
12286 management calls to reentrant versions.
12287 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
12288 * libc/stdlib/wctomb.c: Ditto.
12289 * libc/stdlib/mblen.c: Ditto.
12290 * libc/stdlib/mbstowcs.c: Ditto.
17c0c97d 12291 * libc/stdlib/mbtowc.c: Ditto.
8a0efa53
CF
12292 * libc/stdlib/getenv.c: Ditto.
12293 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
12294 and _strdup_r.
12295
12296Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
12297
12298 patch from Corinna Vinschen <corinna@vinschen.de>
12299 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
12300
bc019ef2 12301Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
8a0efa53
CF
12302
12303 * libm/mathfp/s_atangent.c: Fix exponent calculation.
12304 * libm/mathfp/s_ldexp.c: Ditto.
12305 * libm/mathfp/sf_atangent.c: Ditto.
12306 * libm/mathfp/sf_ldexp.c: Ditto.
12307
12308Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12309
12310 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
12311 * libc/include/locale.h: define NULL to be 0.
12312
12313Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
12314
12315 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
12316 function.
12317
12318Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
12319
12320 * libc/machine/mn10300/setjmp.S: Handle am33.
12321
123221999-11-26 Nick Clifton <nickc@cygnus.com>
12323
12324 * libc/sys/arm/syscalls.c: Add function prototypes.
12325 (stack_ptr): Move declaration before function definitions.
12326
12327Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12328
12329 * NEWS: Updated version information.
12330 * README: Ditto.
12331
12332Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
12333
12334 * libc/machine/i386/strchr.S: Fixed alignment test.
12335
12336Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
12337
12338 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
12339
12340Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
12341
12342 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
17c0c97d 12343 ensuring that there is space between the two.
8a0efa53
CF
12344
12345Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
12346
12347 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
12348 only.
12349
123501999-10-08 Vadim Egorov <egorovv@1c.ru>
12351
12352 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
12353 section
12354
12355Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
12356
12357 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
12358 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
12359
12360Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
12361 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
12362 per POSIX 1003.1b.
12363 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
12364 per POSIX 1003.1b.
12365
123661999-09-13 DJ Delorie <dj@cygnus.com>
12367
12368 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
12369 also.
12370
12371Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
12372
12373 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
12374 also note BUFSIZ as its size.
12375
12376Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
12377
12378 * configure.host: Corrected feature defines for RTEMS.
12379 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
12380 * libc/include/sys/stat.h: mkfifo() should take const path arg.
12381 * libc/include/sys/unistd.h: pathconf() should take const path arg.
12382 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
12383 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
12384 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
12385 _PC_PRIO_IO, and _PC_SYNC_IO.
12386 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
12387 * libc/machine/m68k/Makefile.in: Regenerated.
12388 * libc/machine/m68k/strcpy.c: New file.
12389 * libc/machine/m68k/strlen.c: New file.
12390 * libc/stdio/tmpnam.c: Always make the returned name usable.
12391 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
12392 * libc/sys/rtems/sys/dirent.h: New file.
12393 * libc/sys/rtems/sys/types.h: Added dev_t.
12394
12395Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
12396
12397 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
12398
12399Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
12400
12401 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
12402 my patch.
12403
12404Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
12405
12406 patch from Jeff Johnston <jjohnstn@cygnus.com>
12407 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
12408 buffer is not in a useful state.
12409
124101999-09-01 Nick Clifton <nickc@cygnus.com>
12411
12412 * libc/sys/arm/syscalls.c (_link): Add stub.
12413
12414Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12415
12416 * ftell.c (ftell): Use actual position within buffer for text mode.
12417 * findfp.c (std): Initialize ptr->_bf._size.
12418
12419Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
12420
12421 * libc/include/sys/unistd.h: Add nice() declaration.
12422
124231999-08-09 Nick Clifton <nickc@cygnus.com>
12424
12425 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
12426 declare as a thumb function so that the disassembler will see the
12427 mode change.
12428
12429Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12430
12431 * libc/reent/reent.tex: Updated list of reentrant functions.
12432
124331999-07-09 Michael Meissner <meissner@cygnus.com>
12434
12435 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
17c0c97d 12436
8a0efa53
CF
12437Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
12438
12439 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
12440 separate file.
12441 * libc/stdio/snprintf.c: New file.
12442 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
12443 separate file.
12444 * libc/stdio/vsnprintf.c: New file.
12445 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
12446 * libc/stdio/Makefile.in: Regenerated.
12447
12448Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
12449
12450 Patch submitted by Egor Duda <deo@logos-m.ru>:
12451 * libc/include/stdio.h: Add declarations for *nprintf.
12452 * libc/stdio/sprintf.c (snprintf): New function.
12453 (_snprintf_r): New function.
12454 * libc/stdio/vsprintf.c (vsnprintf): New function.
12455 (_vnsprintf_r): New function.
12456
12457Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
12458
12459 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
12460 * libm/Makefile.am (stmp-targetdep): Ditto.
12461 * libc/Makefile.in: Regenerated.
12462 * libm/Makefile.in: Ditto.
12463
12464Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
12465
12466 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
12467 * libm/Makefile.am (stmp-targetdep): Ditto.
12468 * libc/Makefile.in: Regenerated.
12469 * libm/Makefile.in: Ditto.
12470
12471Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
12472
12473 * Makefile.am: Removed dependencies on all-recursive and added "."
12474 to the SUBDIRS list to prevent infinite recursion from occurring.
12475 Also removed any references to EXTRA_DATA.
12476 * libc/Makefile.am: Ditto.
12477 * libc/machine/Makefile.am: Ditto.
12478 * libc/machine/i386/Makefile.am: Ditto.
12479 * libm/Makefile.am: Ditto.
12480 * libc/sys/Makefile.am: Ditto.
12481 * Makefile.in: Regenerated.
12482 * aclocal.m4: Ditto.
12483 * configure: Ditto.
12484 * doc/Makefile.in: Ditto.
12485 * doc/aclocal.m4: Ditto.
12486 * doc/configure: Ditto.
12487 * libc/Makefile.in: Ditto.
12488 * libc/aclocal.m4: Ditto.
12489 * libc/configure: Ditto.
12490 * libc/machine/Makefile.in: Ditto.
12491 * libc/machine/aclocal.m4: Ditto.
12492 * libc/machine/configure: Ditto.
12493 * libc/machine/mn10300/Makefile.in: Ditto.
12494 * libc/machine/mn10300/aclocal.m4: Ditto.
12495 * libc/machine/mn10300/configure: Ditto.
12496 * libc/sys/Makefile.in: Ditto.
12497 * libc/sys/aclocal.m4: Ditto.
12498 * libc/sys/configure: Ditto.
12499 * libm/Makefile.in: Ditto.
12500 * libm/aclocal.m4: Ditto.
12501 * libm/configure: Ditto.
12502
12503Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12504
12505 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
12506
12507Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12508
12509 * libc/include/stdlib.h: Add reentrant routines.
12510 * libc/stdlib/Makefile.am: Add reentrant routines.
12511 * libc/stdlib/Makefile.in: Ditto.
12512 * libc/stdlib/envlock.c: New file.
12513 * libc/stdlib/envlock.h: New file.
12514 * libc/stdlib/getenv.c: Modify to call reentrant routine.
12515 * libc/stdlib/getenv_r.c: New file.
12516 * libc/stdlib/mblen.c: Modify to call reentrant routine.
12517 * libc/stdlib/mblen_r.c: New file.
12518 * libc/stdlib/setenv.c: Modify to call reentrant routine.
12519 * libc/stdlib/setenv_r.c: New file.
12520 * libc/stdlib/stdlib.tex: Add reentrant routines.
12521
12522Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
12523
12524 * libc/include/sys/types.h: Define __MS_types__ whenever
12525 cygwin or win32.
12526
12527Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
12528
12529 * libc/include/machine/ieeefp.h: Always default to little
12530 endian if Windows, regardless of architecture.
12531 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
12532 regardless of architecture.
12533
12534Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
12535
12536 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
12537 _WIN32 isn't defined.
12538
12539Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
12540
12541 * libm/common/s_rint.c (rint): Add volatile qualifier for
12542 intermediate value w.
12543 * libm/common/sf_rint.c (rintf): Ditto.
12544
12545Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
12546
12547 * libc/sys/arm/syscalls.c (remap_handle): Added check to
12548 ensure that std streams are initialized before being referenced.
12549
125501999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
12551
12552 * README: Update reference to newlib@cygnus.com new
12553 newlib@sourceware.cygnus.com address.
12554
12555Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
12556
12557 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
12558 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
12559 defined, even if _WIN32 isn't defined.
12560
12561Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
12562
12563 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
12564
12565Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12566
12567 * libc/include/sys/reent.h: Change Long and ULong to __Long and
12568 __ULong.
12569 * libc/stdlib/dtoa.c: Ditto.
12570 * libc/stdlib/mprec.c: Ditto.
12571 * libc/stdlib/mprec.h: Ditto.
12572 * libc/stdlib/strtod.c: Ditto.
12573
125741999-04-21 Nick Clifton <nickc@cygnus.com>
12575
12576 * configure.host (mcore): Remove mcore machine directory.
12577
125781999-04-18 Nick Clifton <nickc@cygnus.com>
12579
12580 * libc/include/machine/ieeefp.h: Add support for mcore target.
12581 * libc/include/machine/setjmp.h: Add support for mcore target.
12582 * configure.host: Add support for mcore target.
12583
125841999-04-13 Mark Salter <msalter@cygnus.com>
12585
12586 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
12587 * libc/sys/arm/syscalls.c: Added isatty.
12588
12589Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12590
12591 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
12592 insert zeroes after significant digits.
12593
12594Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
17c0c97d 12595
8a0efa53
CF
12596 * libc/stdio/vfprintf.c (cvt): Changed floating point
12597 cvt routine to use union used by dtoa to properly determine
12598 if the sign bit is on or not.
12599 * libc/stdio/vfieeefp.h: New file
17c0c97d 12600
8a0efa53
CF
12601Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12602
12603 * aclocal.m4: Regenerated.
12604 * configure: Regenerated.
12605
12606Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12607
12608 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
12609 f_tanf reference.
12610 * libc/machine/i386/Makefile.in: Regenerated.
12611
12612Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
12613
12614 * acinclude.m4: Changed to work with new automake.
12615 * configure: Regenerated.
12616 * libc/machine/i386/aclocal.m4: Regenerated.
12617 * libc/machine/i386/configure: Regenerated.
12618
12619Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
12620
12621 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
12622 for telldir() and seekdir(). Rename unused structure element
12623 for use with these two routines.
12624
12625Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
12626
12627 * libc/time/mktime.c (validate_structure): Multiple fixes to
12628 code to handle cases where input fields are outside valid ranges.
12629 * libc/stdlib/div.c (div): Modified invalid rounding check.
12630 * libc/stdlib/ldiv.c (ldiv): Ditto.
12631
12632Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
12633
12634 * libc/machine/i386/memcpy.S: Performance rewrite.
12635 * libc/machine/i386/memmove.S: Ditto.
12636 * libc/machine/i386/i386mach.h: Added more register definitions.
12637 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
12638 option used.
12639 * libc/include/machine/fastmath.h: Add definitions for x86
12640 fast-math routines.
12641
12642Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12643
12644 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
12645
12646Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
12647
12648 Adjust newlib headers for new Cygwin Win32 API header files:
12649 * libc/include/sys/time.h: Check _WINSOCK_H rather than
12650 _GNU_H_WINDOWS32_SOCKETS.
12651 * libc/include/sys/types.h: Ditto.
12652
12653Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12654
12655 *include/sys/reent.h: Add checks for size of Bigint element Long.
12656 *libc/dtoa.c: Change routines to use generic Long type.
12657 *libc/mprec.c: Change routines to use generic Long type.
12658 *libc/mprec.h: Change routines to use generic Long type.
12659
12660Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
12661
12662 * libc/Makefile.am: Add .def files.
12663 * libc/Makefile.in: Regenerate.
12664 * libc/e_acosh.c: Documentation update.
12665 * libc/e_atanh.c: Documentation update.
12666 * libc/e_hypot.c: Documentation update.
12667 * libc/e_remainder.c: Documentation update.
12668 * libc/er_lgamma.c: Documentation update.
12669 * libc/mathfp.tex: Documentation update.
12670 * libc/s_acos.c: Documentation update.
12671 * libc/s_atan.c: Documentation update.
12672 * libc/s_atan2.c: Documentation update.
12673 * libc/s_cosh.c: Documentation update.
12674 * libc/s_fmod.c: Documentation update.
12675 * libc/s_isnan.c: Documentation update.
12676 * libc/s_log10.c: Documentation update.
12677 * libc/s_pow.c: Documentation update.
12678 * libc/w_jn.c: Documentation update.
12679
12680Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
12681
12682 * aclocal.m4: Regenerate.
12683 * configure: Regenerate.
12684
12685Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
12686
ba3ccd63
EB
12687 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
12688 to return 1 if user specified return code is 0.
12689 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
8a0efa53
CF
12690
12691Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
12692
12693 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
12694 to save the return address. Fixed longjmp to return to the original
12695 calling address of setjmp and to return the user specified return code
12696 rather than default to 1.
12697 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
12698
12699Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
12700
12701 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
12702
127031999-02-10 Nick Clifton <nickc@cygnus.com>
12704
12705 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
12706 volatile so that its assignments will not be discarded.
12707
12708Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
12709
12710 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
12711 be __STRICT_ANSI__ which is generated by compiler.
12712 * libc/include/ctype.h: Ditto.
12713 * libc/include/math.h: Ditto.
12714 * libc/include/stdio.h: Ditto.
12715 * libc/include/stdlib.h: Ditto.
12716 * libc/include/string.h: Ditto.
12717 * libc/include/sys/signal.h: Ditto.
12718
127191999-02-08 Nick Clifton <nickc@cygnus.com>
12720
12721 * configure.host: Add support for StrongARM target.
12722
12723Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
12724
12725 * libc/string/strncpy.c (strncpy): Removed redundant code
12726 that was copying bytes if data unaligned.
12727
127281999-02-02 Brendan Kehoe <brendan@cygnus.com>
12729
12730 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
12731 mbstowcs.def, and wcstombs.def.
12732
12733Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
12734
12735 * libc/include/sys/errno.h: Add Cygwin errno.
12736 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
12737 is specified.
12738
127391999-01-29 Nick Clifton <nickc@cygnus.com>
12740
12741 * libc/sys/arm/syscalls.c: Move C library functions into seperate
12742 file.
17c0c97d 12743
8a0efa53
CF
12744 * libc/sys/arm/libcfunc.c: New file containing C library functions
12745 from syscalls.c
12746
12747 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
12748 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
12749
12750
127511999-01-27 Michael Meissner <meissner@cygnus.com>
12752
12753 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
12754 type, and cut size in half so that the jmp_buf array is guaranteed
12755 to be aligned on a 64-bit boundary.
12756
12757Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
12758
12759 * libc/string/strings.tex: Added information about
12760 strcasecmp and strncasecmp.
12761 * libc/stdlib/stdlib.tex: Added missing information
12762 about mblen, mbstowcs, and wcstombs.
12763 * libc/string/strchr.c: Changed how mask is built to use
12764 shift operators so register will be used instead of storage.
12765
127661999-01-22 DJ Delorie <dj@cygnus.com>
12767
12768 * libc/include/stdlib.h: don't use dllimport if we're building
12769 newlib, since it's inside cygwin.dll
12770
12771Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
12772
12773 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
12774 _ctype_ under cygwin.
12775
12776Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
12777
12778 * include/stdlib.h: Fix typo from previous checkin.
12779
12780Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
12781
12782 * include/ctype.h: Use __declspec(dllimport) method for exporting
12783 variable from cygwin DLL.
12784 * include/time.h: Ditto.
12785 * sys/errno.h: Ditto.
12786 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
12787 * libc/locale/locale.c: Use __declspec(dllexport) method for
12788 exporting variable from cygwin DLL.
12789
12790Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
12791
12792 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
12793 access of bogus pointer will result in SIGSEGV.
12794
127951999-01-07 Nick Clifton <nickc@cygnus.com>
12796
12797 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
12798 of an underscore prefix to function names.
12799
12800Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
12801
12802 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
12803 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
12804
128051998-12-31 Michael Meissner <meissner@cygnus.com>
12806
12807 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
12808 to `%' if not already defined.
12809
128101998-12-30 Michael Meissner <meissner@cygnus.com>
12811
12812 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
12813 arguments const char *, not char *.
12814 * libc/include/stdio.h (_tempnam_r): Ditto.
12815
12816 * libc/include/sys/reent.h (struct _reent): The _sig_func type
12817 points to a function taking an integer, not void.
12818
12819Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
12820
12821 * configure.host: Add a define for Cygwin builds.
12822 * libc/include/ctype.h: Don't use dll imported variables in newlib.
12823
12824Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
12825
12826 * libc/include/ctype.h: Define _ctype_ as dll imported variable
12827 for use with Cygwin.
12828 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
12829 dll imported variables for use with Cygwin.
12830 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
12831 as a dll imported variable for Cygwin.
12832
12833Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
12834
12835 * libc/include/sys/unistd.h: Add proto for getpass.
12836
12837Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
12838
12839 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
12840 alphasort.
12841
12842Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
12843
12844 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
12845 not posix_path_list_p.
12846
128471998-12-15 Nick Clifton <nickc@cygnus.com>
12848
12849 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
12850 a signed int.
12851
128521998-12-13 Nick Clifton <nickc@cygnus.com>
12853
12854 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
12855
128561998-12-12 Nick Clifton <nickc@cygnus.com>
12857
12858 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
12859 <msalter@cygnus.com>
12860 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
12861 * libc/machine/fr30/Makefile.in: Regenerated.
12862
128631998-12-11 Nick Clifton <nickc@cygnus.com>
12864
12865 * configure.host: Remove use of libc/sys for FR30 port.
12866 * libc/sys/fr30: Remove directory (replaced by libgloss).
12867
128681998-12-10 Ken Raeburn <raeburn@cygnus.com>
12869
12870 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
12871 * libc/string/strncat.c (ALIGNED): Ditto.
12872
12873Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
12874
12875 * libc/include/sys/time.h: include sys/types.h
12876
12877Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
12878
12879 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
12880 comparison found when checking word at a time.
12881
128821998-12-04 Nick Clifton <nickc@cygnus.com>
12883
12884 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
12885
128861998-12-03 Nick Clifton <nickc@cygnus.com>
12887
12888 * libc/sys/fr30/syscalls.c (_times): New function stub.
12889
12890Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
12891
12892 * configure.host (mach_add_setjmp): Replaced mach_add_objs
12893 with mach_add_setjmp flag which indicates if setjmp should
12894 be added to the machine directory objects.
12895 * acinclude.m4: Removed reference to mach_add_objs.
12896 * aclocal.m4: Regenerated.
12897 * Makefile.in: Regenerated.
12898 * configure: Regenerated.
12899 * libc/aclocal.m4: Regenerated.
12900 * libc/Makefile.in: Regenerated.
12901 * libc/configure: Regenerated.
12902 * libc/machine/aclocal.m4: Regenerated.
12903 * libc/machine/Makefile.in: Regenerated.
12904 * libc/machine/configure: Regenerated.
12905 * libc/machine/i386/aclocal.m4: Regenerated.
12906 * libc/machine/i386/Makefile.am: Altered to selectively add
12907 setjmp.S to the src files list.
12908 * libc/machine/i386/Makefile.in: Regenerated.
12909 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
12910 * libc/machine/i386/configure: Regenerated.
12911
129121998-12-02 Nick Clifton <nickc@cygnus.com>
12913
12914 * libc/sys/fr30/crt0.s (_start): Fix function names.
12915
12916 * libc/machine/fr30: New directory
12917 * libc/machine/fr30/Makefile.am: New file.
12918 * libc/machine/fr30/Makefile.in: New generated file.
12919 * libc/machine/fr30/configure.in: New file.
12920 * libc/machine/fr30/configure: New generated file.
12921 * libc/machine/fr30/aclocal.m4: New generated file.
12922 * libc/sys/fr30/Makefile.am: New file.
12923 * libc/sys/fr30/Makefile.in: New generated file.
12924 * libc/sys/fr30/configure.in: New file.
12925 * libc/sys/fr30/configure: New generated file.
12926 * libc/sys/fr30/syscalls.c: New file.
12927
12928Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
12929
12930 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
12931
129321998-12-01 Ken Raeburn <raeburn@cygnus.com>
12933
12934 * libc/time/strftime.c (strftime): Also handle %y for years before
12935 1900.
12936
12937Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
12938
12939 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
12940 UNIX convention. Perform tolower on characters before comparing
12941 them rather than use toupper.
12942 * libc/string/strncasecmp.c (strncasecmp): Ditto.
12943
12944Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
17c0c97d 12945
8a0efa53
CF
12946 * configure.host: Added using i386 machine directory
12947 for all x86 cross-compiler and configuring
12948 which added object files to use via new "mach_add_objs" variable.
12949 * configure: Regenerated.
12950 * libc/configure: Regenerated.
12951 * libc/Makefile.in: Regenerated.
12952 * libc/aclocal.m4: Regenerated.
12953 * libc/ctype/Makefile.in: Regenerated.
12954 * libc/errno/Makefile.in: Regenerated.
12955 * libc/locale/Makefile.in: Regenerated.
12956 * libc/machine/Makefile.in: Regenerated.
12957 * libc/machine/aclocal.m4: Regenerated.
12958 * libc/machine/configure: Regenerated.
12959 * libc/posix/Makefile.in: Regenerated.
12960 * libc/reent/Makefile.in: Regenerated.
12961 * libc/signal/Makefile.in: Regenerated.
12962 * libc/stdio/Makefile.in: Regenerated.
12963 * libc/stdlib/Makefile.in: Regenerated.
12964 * libc/string/Makefile.in: Regenerated.
12965 * libc/string/memmove.c: Optimized code to use memcpy
12966 logic when performing a non-destructive copy.
12967 * libc/string/strncmp.c: Altered code to allow building
12968 optimized for size or speed.
12969 * libc/syscalls/Makefile.in: Regenerated.
12970 * libc/time/Makefile.in: Regenerated.
12971 * libc/unix/Makefile.in: Regenerated.
12972 * libc/machine/i386/Makefile.am: Added new files and reference
12973 to "mach_add_objs" to indicate optional object files.
12974 * libc/machine/i386/Makefile.in: Regenerated.
12975 * libc/machine/i386/aclocal.m4: Regenerated.
12976 * libc/machine/i386/configure: Regenerated.
12977 * libc/machine/i386/memchr.S: New file that implements
12978 function in Intel assembler.
12979 * libc/machine/i386/memcmp.S: ditto.
12980 * libc/machine/i386/memcpy.S: ditto.
12981 * libc/machine/i386/memmove.S: ditto.
12982 * libc/machine/i386/memset.S: ditto.
12983 * libc/machine/i386/strchr.S: ditto.
12984 * libc/machine/i386/strlen.S: ditto.
12985 * libc/machine/i386/f_atan2.S: New file that implements
12986 fast version of math function to be used by compiler when
12987 --ffast_math compile option is used.
12988 * libc/machine/i386/f_atan2f.S: ditto.
12989 * libc/machine/i386/f_exp.c: ditto.
12990 * libc/machine/i386/f_expf.c: ditto.
12991 * libc/machine/i386/f_frexp.S: ditto.
12992 * libc/machine/i386/f_frexpf.S: ditto.
12993 * libc/machine/i386/f_ldexp.S: ditto.
12994 * libc/machine/i386/f_ldexpf.S: ditto.
12995 * libc/machine/i386/f_log.S: ditto.
12996 * libc/machine/i386/f_logf.S: ditto.
12997 * libc/machine/i386/f_log10.S: ditto.
12998 * libc/machine/i386/f_log10f.S: ditto.
12999 * libc/machine/i386/f_math.h: New file.
13000 * libc/machine/i386/f_pow.c: ditto.
13001 * libc/machine/i386/f_powf.S: ditto.
13002 * libc/machine/i386/f_tan.S: ditto.
13003 * libc/machine/i386/f_tan.S: ditto.
13004 * libc/machine/i386/i386mach.h: New file.
13005
13006Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
13007
13008 patch from Mumit Khan <khan@xraylith.wisc.edu>
13009 * libc/include/stdio.h (tempnam): Add prototype.
13010 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
13011 (tempnam): Adhere to prototype.
13012
13013Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
13014
13015 * Makefile.am: Add default for AR_FLAGS.
13016 * Makefile.in: Regenerate.
13017
13018Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
13019
13020 * libc/include/time.h: move __cplusplus wrapper after includes
13021 * libc/include/sys/time.h: ditto. If Cygwin, include
13022 sys/select.h.
13023 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
13024
130251998-11-23 Ken Raeburn <raeburn@cygnus.com>
13026
13027 * libc/time/strftime.c (strftime): Handle %y after year 2000.
13028
13029Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
13030
13031 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
13032 abnormnal end-of-crt0 marker.
13033
13034Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
13035
13036 * libc/sys/fr30/crt0.s: New file/directory.
13037 * libc/include/machine/setjmp.h: Add FR30 target.
13038 * libc/include/machine/ieeefp.h: Add FR30 target.
13039 * configure.host: Add FR30 target.
13040
13041Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
13042
ba3ccd63
EB
13043 * libm/math: Files that are duplicated in common directory removed.
13044 * libm/math/fdlibm.h: Removed.
13045 * libm/math/s_cbrt.c: Removed.
13046 * libm/math/s_copysign.c: Removed.
13047 * libm/math/s_expm1.c: Removed.
13048 * libm/math/s_finite.c: Removed.
13049 * libm/math/s_ilogb.c: Removed.
13050 * libm/math/s_infinity.c: Removed.
13051 * libm/math/s_lib_ver.c: Removed.
13052 * libm/math/s_log1p.c: Removed.
13053 * libm/math/s_logb.c: Removed.
13054 * libm/math/s_matherr.c: Removed.
13055 * libm/math/s_modf.c: Removed.
13056 * libm/math/s_nan.c: Removed.
13057 * libm/math/s_nextafter.c: Removed.
13058 * libm/math/s_rint.c: Removed.
13059 * libm/math/s_scalbn.c: Removed.
13060 * libm/math/sf_cbrt.c: Removed.
13061 * libm/math/sf_copysign.c: Removed.
13062 * libm/math/sf_expm1.c: Removed.
13063 * libm/math/sf_finite.c: Removed.
13064 * libm/math/sf_ilogb.c: Removed.
13065 * libm/math/sf_infinity.c: Removed.
13066 * libm/math/sf_log1p.c: Removed.
13067 * libm/math/sf_logb.c: Removed.
13068 * libm/math/sf_modf.c: Removed.
13069 * libm/math/sf_nan.c: Removed.
13070 * libm/math/sf_nextafter.c: Removed.
13071 * libm/math/sf_rint.c: Removed.
13072 * libm/math/sf_scalbn.c: Removed.
13073 * libm/math/Makefile.am: Removed references to deleted files (above).
13074 * libm/math/Makefile.in: Regenerated.
13075 * libm/Makefile.am: Added common directory to math.
13076 * libm/Makefile.in: Regenerated.
8a0efa53
CF
13077
13078Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
13079
ba3ccd63
EB
13080 * libm/mathfp: Add non-ANSI functions.
13081 * libm/mathfp/e_acosh.c acosh(): New file.
13082 * libm/mathfp/e_atanh.c atanh(): New file.
13083 * libm/mathfp/e_hypot.c hypot(): New file.
13084 * libm/mathfp/e_j0.c j0(): New file.
13085 * libm/mathfp/e_j1.c j1(): New file.
13086 * libm/mathfp/e_remainder.c remainder(): New file.
13087 * libm/mathfp/e_scalb.c scalb(): New file.
13088 * libm/mathfp/ef_acosh.c acoshf(): New file.
13089 * libm/mathfp/ef_atanh.c atanhf(): New file.
13090 * libm/mathfp/ef_hypot.c hypotf(): New file.
13091 * libm/mathfp/ef_j0.c j0f(): New file.
13092 * libm/mathfp/ef_j1.c j1f(): New file.
13093 * libm/mathfp/ef_remainder.c remainderf(): New file.
13094 * libm/mathfp/ef_scalb.c scalbf(): New file.
13095 * libm/mathfp/er_gamma.c gamma_r: New file.
13096 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
13097 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
13098 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
13099 * libm/mathfp/w_cabs.c cabs(): New file.
13100 * libm/mathfp/w_drem.c drem(): New file.
13101 * libm/mathfp/w_jn.c jn(): New file.
13102 * libm/mathfp/wf_cabs.c cabsf(): New file.
13103 * libm/mathfp/wf_drem.c dremf(): New file.
13104 * libm/mathfp/wf_jn.c jnf(): New file.
8a0efa53
CF
13105
13106Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
13107
13108 * libc/sys/cygwin32: remove directory and contents
13109 * libc/sys/cygwin: and add back, losing the "32".
13110 * configure.host: check for cygwin* instead of cygwin32.
13111 * acinclude.m4: ditto.
13112 * aclocal.m4: regenerate with aclocal
13113 * configure: regenerate with autoconf
13114
13115Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
13116
13117 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
13118 for length
13119
13120Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13121
13122 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
13123 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
13124 to make rand/srand, strtok, asctime, localtime, w_gamma,
13125 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
13126 time.h to bring in struct tm definition.
13127 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
13128 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
13129 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
13130 instead of static variable.
13131 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
13132 struct reent instead of static variable.
13133 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
13134 struct reent instead of static variable.
13135 * libm/math/Makefile.am: Removed s_signgam.o.
13136 * libm/math/Makefile.in: Regenerated.
13137 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
13138 struct reent instead of global variable 'signgam'.
13139 * libm/math/w_lgamma.c (lgamma): Likewise.
13140 * libm/math/wf_gamma.c (gammaf): Likewise.
13141 * libm/math/wf_lgamma.c (lgammaf): Likewise.
13142 * libm/math/s_signgam.c: Removed.
13143 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
13144 to be const.
13145 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
13146 to be const.
13147 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
13148 libc/include/reent.h.
13149 * libc/reent/Makefile.in: Regenerated.
13150 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
13151 to be const.
13152 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
13153 'JIS_action_table' to be const.
13154 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
13155
13156Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
13157
13158 * acinclude.m4: $with_target_subdir should default to '.'
13159 or confusion results when configuring in same directory as sources.
13160 * Regenerate all aclocal.m4 and configure files.
13161
13162Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
13163
13164 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
13165 can be set by defining MALLOC_ALIGNMENT=16. Also added support
13166 for platforms where sizeof(size_t) < sizeof(long) via
13167 SIZE_T_SMALLER_THAN_LONG macro.
17c0c97d 13168
8a0efa53
CF
13169Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
13170
13171 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
13172 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
13173 which sets _CLOCKS_PER_SEC_ for selected machines.
13174 * libc/include/machine/time.h: New file.
13175
13176Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13177
13178 * libc/syscalls/sysexecve.c: New file.
13179 * libc/syscalls/sysgettod.c: New file.
13180 * libc/syscalls/systimes.c: New file.
13181 * libc/syscalls/Makefile.am: Added new objects.
13182 * libc/syscalls/Makefile.in: Regenerated.
13183 * libc/include/_syslist.h (_execve): Moved define in file.
13184 * libc/include/reent.h: Added _execve_r declaration.
13185 * libc/Makefile.in: Regenerated.
13186 * libc/ctype/Makefile.in: Regenerated.
13187 * libc/errno/Makefile.in: Regenerated.
13188 * libc/locale/Makefile.in: Regenerated.
13189 * libc/machine/Makefile.in: Regenerated.
13190 * libc/misc/Makefile.in: Regenerated.
13191 * libc/posix/Makefile.in: Regenerated.
13192 * libc/reent/Makefile.in: Regenerated.
13193 * libc/reent/execr.c (_execve_r): Added _execve_r function.
13194 * libc/signal/Makefile.in: Regenerated.
13195 * libc/stdio/Makefile.in: Regenerated.
13196 * libc/time/Makefile.in: Regenerated.
13197 * libc/unix/Makefile.in: Regenerated.
13198 * libm/mathfp/Makefile.in: Regenerated.
13199
13200Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13201
13202 * libc/string/Makefile.in: Regenerated.
13203 * libc/string/memchr.c (memchr): Moved code to reduce object size.
13204 * libc/string/memcpy.c (memcpy): Ditto.
13205 * libc/string/memcmp.c (memcmp): Ditto.
13206 * libc/string/memset.c (memset): Ditto.
13207 * libc/string/strchr.c (strchr): Ditto.
13208 * libc/string/strcmp.c (strcmp): Ditto.
13209 * libc/string/strcpy.c (strcpy): Ditto.
13210 * libc/string/strlen.c (strlen): Ditto.
13211
13212Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13213
13214 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
13215 to generate aclocal.m4.
13216 * libm/Makefile.in: Regenerated.
13217 * libm/aclocal.m4: Regenerated.
13218 * libm/configure: Regenerated.
13219 * libm/math/Makefile.in: Regenerated.
13220 * libm/mathfp/Makefile.in: Regenerated.
13221
132221998-09-25 Mark Salter <msalter@cygnus.com>
13223
13224 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
13225 by adding leading and trailing underscores to symbol names.
13226
13227Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
13228
13229 * Makefile.in: Add default for AR_FLAGS.
13230
13231Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
13232
13233 patch from ian@airs.com (Ian Taylor):
13234 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
13235 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
13236 is needed for detecting the build machine. Required for
13237 cygwin native builds.
13238
13239 * Regenerate all aclocal.m4 and configure files.
13240
13241Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
13242
13243 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
13244 used to start with LC.
13245
13246Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13247
13248 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
13249 (longjmp): Likewise.
13250
13251Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13252
13253 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
13254 the test for small number of bytes.
13255
13256Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
13257
13258 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
13259 math library that uses floating point algorithms instead of the old
13260 libm.
13261 * Makefile.in: Regenerate with automake version 1.3b.
13262 * configure: Rebuild.
13263 * libm/Makefile.in: Regenerate with automake version 1.3b.
13264 * libm/aclocal.m4: Regenerate.
13265 * libm/configure: Rebuild.
13266 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
13267 * libm/acinclude.m4: Define macros for configure.in.
13268 * libm/config.h.in: Generate.
13269 * libm/mathfp/Makefile.am: New file.
13270 * libm/mathfp/Makefile.in: Generate.
13271 * libm/mathfp/s_acos.c (acos): New file.
13272 * libm/mathfp/s_asin.c (asin): New file.
13273 * libm/mathfp/s_asine.c (asine): New file.
13274 * libm/mathfp/s_atan.c (atan): New file.
13275 * libm/mathfp/s_atan2.c (atan2): New file.
13276 * libm/mathfp/s_atangent.c (atangent): New file.
13277 * libm/mathfp/s_ceil.c (ceil): New file.
13278 * libm/mathfp/s_copysign.c (copysign): New file.
13279 * libm/mathfp/s_cos.c (cos): New file.
13280 * libm/mathfp/s_cosh.c (cosh): New file.
13281 * libm/mathfp/s_exp.c (exp): New file.
13282 * libm/mathfp/s_fabs.c (fabs): New file.
13283 * libm/mathfp/s_finite.c (finite): New file.
13284 * libm/mathfp/s_floor.c (floor): New file.
13285 * libm/mathfp/s_fmod.c (fmod): New file.
13286 * libm/mathfp/s_frexp.c (frexp): New file.
13287 * libm/mathfp/s_infconst.c: New file.
13288 * libm/mathfp/s_isinf (isinf).c: New file.
13289 * libm/mathfp/s_isnan.c (isnan): New file.
13290 * libm/mathfp/s_ispos.c (ispos): New file.
13291 * libm/mathfp/s_ldexp.c (ldexp): New file.
13292 * libm/mathfp/s_log.c (log): New file.
13293 * libm/mathfp/s_log10.c (log10): New file.
13294 * libm/mathfp/s_logarithm.c (logarithm): New file.
13295 * libm/mathfp/s_mathcnst.c: New file.
13296 * libm/mathfp/s_modf (modf).c: New file.
13297 * libm/mathfp/s_numtest.c (numtest): New file.
13298 * libm/mathfp/s_pow.c (pow): New file.
13299 * libm/mathfp/s_scalbn.c (scalbn): New file.
13300 * libm/mathfp/s_sin (sin).c: New file.
13301 * libm/mathfp/s_sine.c (sine): New file.
13302 * libm/mathfp/s_sineh.c (sineh): New file.
13303 * libm/mathfp/s_sinf.c (sinf): New file.
13304 * libm/mathfp/s_sinh.c (sinh): New file.
13305 * libm/mathfp/s_sqrt.c (sqrt): New file.
13306 * libm/mathfp/s_tan.c (tan): New file.
13307 * libm/mathfp/s_tanh.c (tanh): New file.
13308 * libm/mathfp/sf_acos.c (acosf): New file.
13309 * libm/mathfp/sf_asin.c (asinf): New file.
13310 * libm/mathfp/sf_asine.c (asinef): New file.
13311 * libm/mathfp/sf_atan.c (atanf): New file.
13312 * libm/mathfp/sf_atan2.c (atan2f): New file.
13313 * libm/mathfp/sf_atangent.c (atangent): New file.
13314 * libm/mathfp/sf_ceil.c (ceilf): New file.
13315 * libm/mathfp/sf_copysign.c (copysignf): New file.
13316 * libm/mathfp/sf_cos.c (cosf): New file.
13317 * libm/mathfp/sf_cosh.c (coshf): New file.
13318 * libm/mathfp/sf_exp.c (expf): New file.
13319 * libm/mathfp/sf_fabs.c (fabsf): New file.
13320 * libm/mathfp/sf_finite.c (finitef): New file.
13321 * libm/mathfp/sf_floor.c (floorf): New file.
13322 * libm/mathfp/sf_fmod.c (fmodf): New file.
13323 * libm/mathfp/sf_frexp.c (frexpf): New file.
13324 * libm/mathfp/sf_isinf.c (isinff): New file.
13325 * libm/mathfp/sf_isnan.c (isnanf): New file.
13326 * libm/mathfp/sf_ispos.c (isposf): New file.
13327 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
13328 * libm/mathfp/sf_log.c (logf): New file.
13329 * libm/mathfp/sf_log10.c (log10f): New file.
13330 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
13331 * libm/mathfp/sf_modf.c (modff): New file.
13332 * libm/mathfp/sf_numtest.c (numtestf): New file.
13333 * libm/mathfp/sf_pow.c (powf): New file.
13334 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
13335 * libm/mathfp/sf_sin.c (sinf): New file.
13336 * libm/mathfp/sf_sine.c (sinef): New file.
13337 * libm/mathfp/sf_sineh.c (sinehf): New file.
13338 * libm/mathfp/sf_sinh.c (sinhf): New file.
13339 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
13340 * libm/mathfp/sf_tan.c (tanf): New file.
13341 * libm/mathfp/sf_tanh.c (tanhf): New file.
13342 * libm/mathfp/zmath.h: New file.
13343
13344Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13345
13346 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
13347 exit if it has been overwritten by pre-fetching in delay slot.
13348
133491998-09-01 Michael Meissner <meissner@cygnus.com>
13350
13351 * Makefile.am (tooldir): Add in host_alias, so that multilib
13352 libraries are installed in the directory the compiler looks in.
13353 * Makefile.in: Regenerate.
13354
13355 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
13356
13357Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
13358
13359 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
13360 ahead of test for number of bytes being moved.
13361
13362Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
13363
13364 * libc/include/sys/unistd.h: Nothing special needed for
13365 _exit under cygwin.
13366
13367Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
13368
13369 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
17c0c97d 13370 conform to user label naming conventions.
8a0efa53
CF
13371
13372Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
13373
13374 * libc/sys/cygwin32/sys/utime.h: variable names in
13375 protos should start with two leading underscores
13376 * libc/include/string.h: ditto
13377 * libc/include/sys/signal.h: ditto
13378 * libc/include/sys/stat.h: ditto
13379 * libc/include/sys/time.h: ditto
13380 * libc/include/sys/unistd.h: ditto
13381 * libc/include/ctype.h: ditto
13382 * libc/include/stdlib.h: ditto
13383 * libc/include/sys/reent.h: struct _atexit function ptr takes a
13384 void, same with _sig_func.
13385
13386Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
13387
13388 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
13389 for MB_CAPABLE to reduce code size when newlib is not configured
13390 with --enable-newlib-mb.
13391 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
17c0c97d 13392 mbtowc_r.o to minimize size.
8a0efa53 13393 * libc/stdlib/Makefile.in: Rebuild.
17c0c97d 13394
8a0efa53
CF
13395Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
13396
13397 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
13398 to -DREENT.
13399 * libc/sys/sparc64/Makefile.in: Rebuild.
17c0c97d 13400
8a0efa53
CF
13401Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
13402
13403 * Makefile.am (MAKEOVERRIDES): Define.
13404 * Makefile.in: Rebuild.
13405
13406Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
13407
13408 * libc/sys/sparc64/sys/stat.h (stat): Add const.
13409
13410Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
13411
13412 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
13413 newlib_cflags when looking for targ-include.
13414 * */aclocal.m4, */configure: Rebuild.
13415
13416Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
13417
ba3ccd63
EB
13418 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
13419 to "_end".
8a0efa53
CF
13420
13421Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
13422
13423 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
13424 on SPARCs with little-endian data.
13425 * libc/include/machine/ieeefp.h: Ditto.
13426
13427Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
13428
13429 * acinclude.m4: Handle a relative srcdir correctly when setting
13430 newlib_cflags.
13431 * */aclocal.m4, */configure: Rebuild.
13432
13433Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
13434
13435 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
17c0c97d
EB
13436 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
13437 * libm/math/wrf_gamma.c (gammaf_r): ditto
13438 * libm/math/wr_lgamma.c (lgamma_r): ditto
13439 * libm/math/wr_gamma.c (gamma_r): ditto
13440 * libm/math/wf_sqrt.c (sqrtf): ditto
13441 * libm/math/wf_sinh.c (sinhf): ditto
13442 * libm/math/wf_scalb.c (scalbf): ditto
13443 * libm/math/wf_remainder.c (remainderf): ditto
13444 * libm/math/wf_pow.c (powf): ditto
13445 * libm/math/wf_log10.c (log10f): ditto
13446 * libm/math/wf_log.c (logf): ditto
13447 * libm/math/wf_lgamma.c (lgammaf): ditto
13448 * libm/math/wf_jn.c (jnf, ynf): ditto
13449 * libm/math/wf_j1.c (j1f, y1f): ditto
13450 * libm/math/wf_j0.c (j0f, y0f): ditto
13451 * libm/math/wf_hypot.c (hypotf): ditto
13452 * libm/math/wf_gamma.c (gammaf): ditto
13453 * libm/math/wf_fmod.c (fmodf): ditto
13454 * libm/math/wf_exp.c (expf): ditto
13455 * libm/math/wf_cosh.c (coshf): ditto
13456 * libm/math/wf_atanh.c (atanhf): ditto
13457 * libm/math/wf_atan2f.c (atan2f): ditto
13458 * libm/math/wf_asin.c (asinf): ditto
13459 * libm/math/wf_acosh.c (acoshf): ditto
13460 * libm/math/wf_acos.c (acosf): ditto
13461 * libm/math/w_sqrt.c (sqrt): ditto
13462 * libm/math/w_sinh.c (sinh): ditto
13463 * libm/math/w_scalb.c (scalb): ditto
13464 * libm/math/w_remainder.c (remainder): ditto
13465 * libm/math/w_pow.c (pow): ditto
13466 * libm/math/w_log10.c (log10): ditto
13467 * libm/math/w_log.c (log): ditto
13468 * libm/math/w_lgamma.c (lgamma): ditto
13469 * libm/math/w_jn.c (jn, yn): ditto
13470 * libm/math/w_j1.c (j1, y1): ditto
13471 * libm/math/w_j0.c (j0, y0): ditto
13472 * libm/math/w_hypot.c (hypot): ditto
13473 * libm/math/w_gamma.c (gamma): ditto
13474 * libm/math/w_fmod.c (fmod): ditto
13475 * libm/math/w_exp.c (exp): ditto
13476 * libm/math/w_cosh.c (cosh): ditto
13477 * libm/math/w_atanh.c (atanh): ditto
13478 * libm/math/w_atan2f.c (atan2): ditto
13479 * libm/math/w_asin.c (asin): ditto
13480 * libm/math/w_acosh.c (acosh): ditto
13481 * libm/math/w_acos.c (acos): ditto
8a0efa53
CF
13482
13483Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
13484
13485 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
13486 (fsrc): Add wf_cabs.c and wf_drem.c.
13487 * libm/math/Makefile.in: Rebuild.
13488
13489 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
13490 unused directory variables. Remove duplicate CFLAGS.
13491 * Makefile.in: Rebuild.
13492
13493 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
13494 with $(CC_FOR_BUILD).
13495 (makedoc.o): Likewise.
13496 * doc/Makefile.in: Rebuild.
13497
13498 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
13499 force a definition of COMPILE.
13500 (libfoo_a_SOURCES): Define.
13501 * libc/sys/cygwin32/Makefile.in: Rebuild.
13502 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
13503 force a definition of COMPILE.
13504 (libfoo_a_SOURCES): Define.
13505 * libc/sys/tic80/Makefile.in: Rebuild.
13506
13507Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
13508
13509 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
13510 flag.
13511
13512Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
13513
13514 * Build using autoconf and automake. Added many Makefile.am and
13515 configure.in files, plus generated files. Old configure.in files
13516 and all old Makefile.in files completely replaced. Removed
13517 host/any. Added acinclude.m4 and configure.host.
13518
13519Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
13520
13521 * libc/stdio/vfprintf.c: enable long long support, sometimes.
13522 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
13523
13524Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13525
13526 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
13527 * libc/machine/sh/Makefile.in: Add rules for new files.
13528
13529Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13530
13531 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
13532 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
13533 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
13534
13535Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
13536
13537 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
13538 code is ignored.
13539
13540Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
13541
13542 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
13543 internal static buffer when s is NULL, as prescribed by ANSI.
13544
135451998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
13546
13547 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
13548 removed.
13549 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
13550 libc/stdlib will be used for h8300hms.
17c0c97d 13551
8a0efa53
CF
13552Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13553
13554 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
13555 version that can be built either for speed or size.
13556 * libc/machine/mn10300/memset.S (_memset): ditto
13557 * libc/machine/mn10300/memchr.S (_memchr): ditto
13558 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
13559 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
13560 * libc/machine/mn10300/strchr.S (_strchr): ditto
13561 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
13562 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
13563 * libc/machine/mn10300/Makefile.in: Added entries for
17c0c97d 13564 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
8a0efa53
CF
13565 strcmp.o, strcpy.o, and strlen.o.
13566
13567Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
13568
13569 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
13570 been replaced with libgloss/mn10200.
13571
13572Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
13573
13574 * libc/string/strchr.c (strchr): Make s a constant pointer to
13575 avoid warning.
13576
13577Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
13578
13579 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
13580 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
13581 board SWIs instead of Demon board SWIs).
13582
13583Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
13584
13585 * libc/string/strncat.c (strncat): Make -Os act the same as
13586 PREFER_SIZE_OVER_SPEED being defined.
13587
13588Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
13589
13590 * libc/string/memchr.c (memchr): Make -Os act the same as
13591 PREFER_SIZE_OVER_SPEED being defined.
13592 * libc/string/memcmp.c (memcmp): Ditto.
13593 * libc/string/memcpy.c (memcpy): Ditto.
13594 * libc/string/memset.c (memset): Ditto.
13595 * libc/string/strcat.c (strcat): Ditto.
13596 * libc/string/strchr.c (strchr): Ditto.
13597 * libc/string/strcmp.c (strcmp): Ditto.
13598 * libc/string/strcpy.c (strcpy): Ditto.
13599 * libc/string/strlen.c (strlen): Ditto.
13600 * libc/string/strncat.c (strncat): Ditto.
13601 * libc/string/strncmp.c (strncmp): Ditto.
13602 * libc/string/strncpy.c (strncpy): Ditto.
13603
13604Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
13605
13606 * libc/include/sys/itimer.h: remove
13607 * libc/include/sys/time.h: itimer stuff should be here
13608
13609Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
13610
13611 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
13612 bit instead of comparing to 0 so -0.0 can be printed correctly.
13613
13614Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13615
13616 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
13617
13618Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
13619
13620 * libc/include/sys/unistd.h: fix sync() proto
13621 * libc/include/sys/fcntl.h: remove _close which is already
13622 defined in unistd.h.
13623 * libc/include/sys/time.h: add getitimer proto
13624
13625Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
13626
13627 * libc/string/strchr.c: convert arg to unsigned char
13628 * libc/include/stdlib.h: add protos for random, srandom
13629 * libc/include/sys/stat.h: add lstat proto
13630 * libc/include/sys/time.h: add setitimer proto
13631 * libc/include/sys/unistd.h: add readlink, symlink protos
13632 * libc/include/process.h: instead of including windows.h and using
13633 HANDLEs in sexec protos, just use void *s. Need to include
13634 sys/types.h.
13635
13636Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
13637
13638 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
13639
13640Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
13641
13642 * libc/include/process.h: add secure exec protos
13643
13644Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
13645
13646 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
13647 which are accessed as both doubles and integers.
13648 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
13649 * libc/stdlib/strtod.c (_strtod_r): Likewise.
13650 * libc/stdlib/mprec.h: Add "union double_union" and change
13651 word0/word1 macros to use it.
13652
13653Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
13654
13655 * libc/include/sys/signal.h: add __cplusplus wrapper
13656
13657Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
13658
13659 * libc/include/sys/utime.h: new generic file that gets replaced by
13660 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
13661 function.
13662 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
13663 * libc/include/time.h: remove duplicate utime proto
13664 * libc/include/utime.h: add comment
13665
13666Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
13667
13668 * libc/include/sys/time.h: Add missing include to
13669 allow use of _EXFUN. Remove times function that is
13670 already defined in times.h.
13671
13672Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
13673
13674 * libc/include/time.h: Fix typo in tzset.
13675
13676Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
13677
13678 * libc/include/sys/time.h: add missing Cygwin32 function protos
13679 * libc/include/sys/unistd.h: ditto
13680 * libc/include/time.h: ditto
13681
13682Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
13683
13684 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
13685 FIXME.
13686 * libc/include/sys/types.h: add a new __MS_types__ section
13687 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
13688 __BIT_TYPES_DEFINED__.
13689
13690Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
13691
13692 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
13693 since it overrides the one in libc/include/sys. Also, start
13694 including types.h.
13695
13696Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
13697
13698 * libm/math/Makefile.in: add s_signgam.o to obj list
13699
13700Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
13701
13702 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
13703
13704Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
13705
13706 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
13707 so don't use defines.
13708
13709Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
13710
13711 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
13712
13713Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
13714
13715 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
17c0c97d 13716 _current_locale as default locale.
8a0efa53
CF
13717
13718Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
13719
13720 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
17c0c97d 13721 insufficient space in a chunk.
8a0efa53
CF
13722
13723Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
13724
13725 * configure.in (links): Added check for --enable-newlib-mb configure
13726 option which defines the MB_CAPABLE macro.
13727 * libc/locale/locale.c (_setlocale_r): Added support for setting
13728 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
13729 defined.
13730 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
13731 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
13732 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
13733 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
13734 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
17c0c97d 13735 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
8a0efa53
CF
13736 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
13737 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
13738 * libc/stdlib/Makefile.in: Added new multibyte
13739 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
13740 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
13741 _mbstowcs_r(), and _wcstombs_r().
13742 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
13743 for JIS, SJIS, and EUC-JP characters.
13744 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
17c0c97d 13745 MB_CAPABLE defined.
8a0efa53
CF
13746 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
13747 MB_CAPABLE defined.
13748 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
13749 MB_CAPABLE defined.
13750 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
13751 if MB_CAPABLE defined.
13752 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
13753 if MB_CAPABLE defined.
13754 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
13755 to the format string processing when MB_CAPABLE.
13756 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
13757 call _mbtowc_r().
13758
13759Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
13760
13761 The following modifications are courtesy of Anthony Thompson,
13762 athompson@cambridge.arm.com:
13763 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
13764 boith RDI and RDP monitors.
13765 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
13766 RDI and RDP monitors.
13767
13768Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
13769
13770 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
13771 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
13772 (_swiopen): Fixed open flags to treat write with append as just append.
13773 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
13774 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
13775
13776Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13777
13778 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
13779 When needing to transfer an initial 2-byte-word, store as
13780 two single bytes.
13781
13782Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13783
13784 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
13785 __SH3E__ .
13786 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
13787 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
13788
13789Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
13790
13791 * configure.in (target_cflags): If --enable-target-optspace, use
13792 -Os to compile newlib rather than -O2. Default to using -Os for
13793 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
13794 used.
13795
13796Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
13797
ba3ccd63
EB
13798 * libc/include/machine/setjmp.h: change sigsetjmp and
13799 siglongjmp definitions to use an array instead of a struct
13800 for __CYGWIN32__
8a0efa53
CF
13801
13802Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
13803
13804 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
13805
13806Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
13807
13808 * libc/string/strxfrm.c: fix to get correct return value
13809
13810Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
13811
13812 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
13813 builds. Make mode change labels global so that they will be seen
13814 by the debugger.
13815
13816Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
13817
13818 * configure.in (links): Do not use ARM debiugging protocols for PE
13819 builds.
13820
13821 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
17c0c97d 13822 message.
8a0efa53
CF
13823
13824Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13825
13826 * libc/stdio/findfp.c (__sinit): Made stdout default to
13827 line buffered mode as defined by ANSI.
13828
13829Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
13830
13831 * libc/include/sys/itimer.h: New file.
13832
13833 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
13834
13835Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13836
13837 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
13838 failure.
13839
13840Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
13841
13842 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
13843 insns.
13844
13845Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
13846
13847 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
13848
13849Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
13850
13851 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
13852 support.
13853
13854 * libc/include/machine/setjmp.h: Add D30V support.
13855
13856 * configure.in (d30v-*): Add d30v machine directory.
13857
13858Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
13859
13860 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
13861 been replaced with libgloss/mn10300.
13862
13863Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
13864
13865 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
13866 it is no longer needed.
13867
13868Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
13869
ba3ccd63 13870 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
8a0efa53
CF
13871
13872Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
13873
13874 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
ba3ccd63 13875 the file when O_APPEND is set, wherever the EOF happens to be at
17c0c97d 13876 that time.
8a0efa53
CF
13877
13878Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
17c0c97d 13879
8a0efa53
CF
13880 patch from cgf@bbc.com (Christopher Faylor):
13881 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
13882 convention of closing fp prior to attempting to open the file
13883 argument. This allows correct operation when reopening
13884 stdin/stdout/stderr. Replaces last freopen.c patch.
13885
13886Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
13887
ba3ccd63
EB
13888 patch from cgf@bbc.com (Christopher Faylor):
13889 * libc/stdio/freopen.c: freopen was not preserving the fd
13890 of the stream being operated on. This confuses programs that
13891 expect that the handles for stdout and stderr will be 1 and 2.
8a0efa53
CF
13892
13893Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
13894
13895 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
13896
13897Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
13898
13899 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
13900
13901Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
13902
13903 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
13904 altered to not use a branch. Also added hint that last
13905 bclr in longjmp will likely result in branch.
17c0c97d 13906
8a0efa53
CF
13907
13908Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
13909
ba3ccd63 13910 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
8a0efa53
CF
13911
13912Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
13913
13914 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
13915 v850 builds.
13916
17c0c97d 13917 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
8a0efa53
CF
13918
13919Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
13920
13921 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
13922 that loads FR14 to specify offset of 8 rather than 4
13923 so it loads from offset 96 (where setjmp stored it).
13924
13925Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13926
13927 * libc/machine/sh/memcpy.S: (_memcpy): Update to
13928 latest version supplied by customer.
13929 * libc/machine/sh/memset.S (_memset): Ditto.
13930
13931Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
13932
13933 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
17c0c97d 13934 PR14730).
8a0efa53
CF
13935
13936Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
13937
ba3ccd63 13938 * libc/include/string.h: remove redefinition of ffs
8a0efa53
CF
13939
13940Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
13941
ba3ccd63 13942 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
8a0efa53
CF
13943 defined
13944
13945Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13946
13947 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
17c0c97d
EB
13948 TI Libraries to link to libc.a
13949
8a0efa53
CF
13950Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
13951
13952 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
13953 * libc/include/sys/stat.h (_{,f}stat): Ditto.
13954 * libc/include/sys/wait.h (_wait): Ditto.
13955 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
13956 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
13957
13958Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
13959
13960 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
13961 minded stabs so function name shows up when running the simulator
13962 with -t.
13963 * libc/sys/d10v/{crt0,trap}.S: Ditto.
13964
13965Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
13966
17c0c97d 13967 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
8a0efa53
CF
13968 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
13969 Use R5 where we used to use R3.
17c0c97d 13970
8a0efa53
CF
13971Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
13972
13973 * libc/stdlib/getopt.c (getopt): replaced __progname
13974 with nargv[0] to improve portability to imbedded systems.
13975
13976Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
13977
13978 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
13979 patch supplied by Tont.Thompson@arm.com to fix the creation of the
13980 stdout file.
13981
13982Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
13983
13984 * libc/stdio/tmpnam.c (worker): Generate a different file name
13985 each time.
13986
13987 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
13988 fails, try an execlp for sh.
13989
13990 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
13991 option for the winsup include directory.
13992
13993Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
13994
13995 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
13996 debugging interface from Tony.Thompson@arm.com.
17c0c97d 13997
8a0efa53
CF
13998 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
13999 * libc/sys/arm/swi.h: ditto.
14000
14001Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
14002
14003 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
14004 DIR struct used for readdir hashes.
14005
14006Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
14007
14008 * libc/string/strchr.c: Use "unsigned chars" as necessary.
14009
14010Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
14011
14012 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
14013 integer targets.
14014
14015Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
14016
14017 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
14018 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
14019 * libc/include/malloc.h: Add extern "C" if __cplusplus.
14020 (__malloc_copy): Declare.
14021
14022Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
14023
14024 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
14025 <sys/config.h>.
14026 (POINTER_UINT): Define.
14027 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
14028 (MALLOC_ALIGNMENT): Don't define if already defined.
14029 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
14030 long.
14031
14032Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
14033
14034 * libc/string/memset.c (memset): Fiddle with code so that the long
14035 value being stored is not a stack value. Unroll storing longs 4
14036 times.
14037
14038Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
14039
14040 * Reduce code size for libm modules.
14041 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
14042 and simply move code into sqrt.
14043 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
14044 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
14045 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
14046 * libm/math/wr_gamma.c (gamma_r): Likewise.
14047 * libm/math/wf_sinh.c (sinfh): Likewise.
14048 * libm/math/w_sinh.c (sinh): Likewise.
14049 * libm/math/wf_scalb.c (scalbf): Likewise.
14050 * libm/math/w_scalb.c (scalb): Likewise.
14051 * libm/math/wf_remainder.c (remainderf): Likewise.
14052 * libm/math/w_remainder.c (remainder): Likewise.
14053 * libm/math/wf_pow.c (powf): Likewise.
14054 * libm/math/w_pow.c (pow): Likewise.
14055 * libm/math/wf_log10.c (log10f): Likewise.
14056 * libm/math/w_log10.c (log10): Likewise.
14057 * libm/math/wf_log.c (logf): Likewise.
14058 * libm/math/w_log.c (log): Likewise.
14059 * libm/math/w_lgamma.c (lgamma): Likewise.
14060 * libm/math/wf_lgamma.c (lgammaf): Likewise.
14061 * libm/math/wf_jn.c (jnf): Likewise.
14062 * libm/math/w_jn.c (jn): Likewise.
14063 * libm/math/wf_j1.c (j1f): Likewise.
14064 * libm/math/w_j1.c (j1): Likewise.
14065 * libm/math/wf_j0.c (j0f): Likewise.
14066 * libm/math/w_j0.c (j0): Likewise.
14067 * libm/math/wf_hypot.c (hypotf): Likewise.
14068 * libm/math/w_hypot.c (hypot): Likewise.
14069 * libm/math/wf_gamma.c (gammaf): Likewise.
14070 * libm/math/w_gamma.c (gamma): Likewise.
14071 * libm/math/wf_fmod.c (fmodf): Likewise.
14072 * libm/math/w_fmod.c (fmod): Likewise.
14073 * libm/math/wf_exp.c (expf): Likewise.
14074 * libm/math/w_exp.c (exp): Likewise.
14075 * libm/math/wf_cosh.c (coshf): Likewise.
14076 * libm/math/w_cosh.c (cosh): Likewise.
14077 * libm/math/wf_atanh.c (atanhf): Likewise.
14078 * libm/math/w_atanh.c (atanh): Likewise.
14079 * libm/math/wf_atan2.c (atan2f): Likewise.
14080 * libm/math/w_atan2.c (atan2): Likewise.
14081 * libm/math/wf_asin.c (asinf): Likewise.
14082 * libm/math/w_asin.c (asin): Likewise.
14083 * libm/math/wf_acosh.c (acoshf): Likewise.
14084 * libm/math/w_acosh.c (acosh): Likewise.
14085 * libm/math/wf_acos.c (asocf): Likewise.
14086 * libm/math/w_acos.c (acos): Likewise.
14087 * libm/math/wf_sqrt.c (sqrtf): Likewise.
14088 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
14089 for embedded systems.
14090
14091Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
14092
14093 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
14094 Lea in case of a foreign sbrk.
14095
14096Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
14097
14098 Incorporate Doug Lea's malloc:
14099 * libc/stdlib/mallocr.c: Completely replaced.
14100 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
14101 (realloc): Remove.
14102 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
14103 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
14104 mallopt.
14105 (mallinfo, malloc_stats, mallopt): New functions.
14106 (_mstats_r): Just call _malloc_stats_r.
14107 * libc/stdlib/malign.c: New file.
14108 * libc/stdlib/mlock.c: New file.
14109 * libc/stdlib/msize.c: New file.
14110 * libc/stdlib/mtrim.c: New file.
14111 * libc/stdlib/realloc.c: New file.
14112 * libc/stdlib/valloc.c: New file.
14113 * libc/stdlib/malloc.h: Remove.
14114 * libc/stdlib/callocr.c: Remove.
14115 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
14116 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
14117 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
14118 reallocr.o, valloc.o, vallocr.o.
14119 (CHEWOUT_FILES): Add mlock.def, mstats.def.
14120 (MALLOC_CFLAGS): New variable.
14121 (mallocr.o): New target, build from mallocr.c.
14122 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
14123 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
14124 (msizer.o, malloptr.o): Likewise.
14125 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
14126 (valloc.o): New target.
14127 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
14128 * libc/include/malloc.h: Declare struct mallinfo, and new
14129 routines.
14130 * libc/include/stdlib.h (cfree): Correct declaration.
14131
14132Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
14133
14134 * libc/include/machine/setjmp.h: Add support for Thumb target.
14135
14136 * libc/include/machine/ieeefp.h: Add support for Thumb target.
14137
14138 * configure.in (links): Add support for Thumb target.
14139
14140Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
14141
14142 * libc/sys/arm/setjmp.S: Updated with version from branch.
14143
14144Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
14145
14146 * libc/include/stdio.h: add POSIX-required define L_ctermid
14147 for ctermid
14148
14149Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
14150
14151 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
14152 addition to MISSING_SYSCALL_NAMES.
14153
14154Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
14155
14156 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
14157
14158Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
14159
ba3ccd63
EB
14160 * libc/include/string.h: change strsignal proto to return
14161 a char *. This eliminates compile problems in gdb resulting
14162 from gdb's definition of strsignal in defs.h.
8a0efa53
CF
14163
14164Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
14165
ba3ccd63
EB
14166 * libc/sys/cygwin32/sys/utime.h: new (moved here from
14167 winsup/include) so as not to conflict with the one in
14168 libc/include.
8a0efa53
CF
14169 * libc/include/string.h: add protos for strsignal, strtosigno
14170
14171Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
14172
14173 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
14174
14175 * configure.in (d30v-*-*): Add configuration.
14176
14177Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
14178
14179 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
14180 to select which kind of debug monitor is in use for an ARM target.
14181
14182 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
14183 Angel and Demon debug monitors. Part of this code was supplied by
14184 Tony Thompson at ARM: athompso@arm.com.
14185
14186Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
14187
14188 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
14189 semantics when the count is greater than the length of the second
14190 source string.
14191
14192Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
14193
14194 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
14195 * libc/include/sys/unistd.h: add protos for usleep, truncate,
14196 truncate and ftruncate take off_t, not size_t
14197
14198Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
14199
14200 * libc/string/strcat.c (strcat): Add missing comment end.
14201 * libc/string/strncat.c (strncat): Likewise.
14202
14203Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
14204
14205 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
17c0c97d
EB
14206 targets.
14207 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
8a0efa53 14208 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
17c0c97d 14209 defined.
8a0efa53
CF
14210 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
14211 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
14212 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
14213
14214Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
14215
14216 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
14217 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
14218
14219Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
14220
14221 * libc/machine/i386/setjmp.S: New file.
14222 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
14223 (OFILES): Add setjmp.o.
14224 (setjmp.o): Add rule for.
14225 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
14226
14227Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
14228 Jeffrey A Law (law@cygnus.com)
14229
14230 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
14231 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
14232 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
14233 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
14234
14235Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
14236
14237 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
17c0c97d 14238 rules.
8a0efa53
CF
14239
14240 * libc/include/sys/config.h: Use __v850 to select v850
17c0c97d 14241 endianness.
8a0efa53
CF
14242
14243 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
14244 buffer size.
14245
14246 * libc/include/machine/ieeefp.h: Use __v850 to select v850
17c0c97d 14247 endianness.
8a0efa53
CF
14248
14249Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
14250
14251 * libc/stdlib/setenv.c: change unsetenv definition to match
14252 style of setenv (with _DEFUN). The string should be a const.
14253 * libc/include/stdlib.h: unsetenv proto should return void.
14254
14255Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
14256
14257 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
14258
14259Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
14260
14261 * libc/stdio/glue.h: remove.
14262 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
14263 * libc/stdio/Makefile.in: remove glue.h dependencies
14264
14265Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
14266
14267 * libc/sys/sysnecv850/crt0.S: Created V850e version.
17c0c97d 14268
8a0efa53
CF
14269Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
14270
14271 * configure.in (target_cpu): Add `arc'.
14272
14273Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
14274
17c0c97d 14275 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
8a0efa53
CF
14276 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
14277 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
14278 * newlib/libc/reent/reent.c: Add _wrapup_reent.
14279 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
14280
14281Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
14282
14283 * libc/machine/mips/setjmp.S: Handle mips16 builds.
14284
14285Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
14286
14287 * libc/include/stdio.h (siprintf): Declare.
14288
14289Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
14290
14291 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
14292 TARGET_CFLAGS and NEWLIB_FLAGS.
14293
14294Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
14295
14296 * configure.in (links): Add support for v850ea target.
14297
14298Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
14299
14300 * configure.in (links): Add support for v850e target.
14301
14302Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
14303
14304 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
14305
14306Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
14307
14308 * configure.in (arc-*-*): Add support for.
14309 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
14310
14311Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
14312
14313 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
14314
14315Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
14316
14317 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
14318 comparison which accesses invalid memory when the key is
14319 larger than the last member of the array.
14320 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
14321 for CYGWIN32
14322 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
14323
14324Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
14325
14326 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
14327 not _STRICT_ANSI.
14328
14329Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
14330
14331 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
14332 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
14333
14334Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
14335
14336 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
14337 to load/store memory.
14338
14339Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
14340
14341 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
14342 underscores if _WIN32.
14343
14344Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
14345
14346 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
14347 support ifdef _USE_WRITE missed in last change.
14348 From Anders Blomdell <anders.blomdell@control.lth.se>.
14349
14350Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
14351
14352 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
14353 (_tmpnam_r, _tempnam_r): Update.
14354
14355Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
14356
14357 * libc/machine/sparc/setjmp.S: New file.
14358 * libc/machine/sparc/Makefile.in: Add setjmp.
14359 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
14360
14361Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
14362
14363 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
14364
14365Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
14366
14367 From Joel Sherrill <joel@oarcorp.com>.
14368 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
14369
14370 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
14371 * configure.in: Recognize *-*-rtems*.
14372 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
14373 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
14374 time.h,times.h,types.h}: New files.
14375 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
14376
14377Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
14378
14379 patch from sos@prospect.com.ru (Sergey Okhapkin):
ba3ccd63
EB
14380 * include/sys/wait.h: correct operator precidence bug
14381 in WIFSIGNALED
8a0efa53
CF
14382
14383Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
14384
14385 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
14386 with newlib's unsetenv function
14387 * libc/sys/cygwin32/sys: new directory for includes
14388 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
14389 here from winsup/include/sys
14390
14391Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
14392
14393 * libc/include/sys/unistd.h: _exit should only be
14394 labelled noreturn when not __CYGWIN32__
14395 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
14396 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
14397 increment NSIG
14398
14399Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
14400
14401 * libc/include/sys/time.h: Only define timeval and timezone if
14402 _GNU_H_WINDOWS32_SOCKETS is not defined.
14403 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
14404
14405Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
14406
14407 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
14408 * libc/machine/mn10300/setjmp.S: Likewise.
14409
14410 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
14411 the mn10300 (more relaxing opportunities).
14412
14413Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
14414
14415 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
14416 Build libraries with -mstrict-align.
14417
14418Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
14419
14420 * libc/string/strlwr.c: New file.
14421 * libc/string/strupr.c: New file.
14422 * libc/include/string.h: Declare strlwr and strupr.
14423 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
14424 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
14425 (strlwr.o, strupr.o): New targets.
14426 * libc/string/strings.tex: Include strlwr and strupr docs.
14427
14428 * libc/include/sys/types.h: Don't define u_char, et. al., if
14429 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
14430 et. al. Make FD_SETSIZE default 64 rather than 60. Define
14431 _types_fd_set rather than fd_set, and define fd_set as a macro.
14432
14433 * libc/include/malloc.h: New file.
14434
14435 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
14436 strnicmp if they are not already defined.
14437
14438 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
14439 _timezone, _daylight, and _tzname.
14440
14441Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
14442
14443 * configure.in: Sort all configuration tables.
14444
14445 From Joel Sherrill <joel@oarcorp.com>
14446 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
14447
14448Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
14449
14450 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
14451 use int when declaring kill.
14452
14453 * libc/include/sys/timeb.h: New file.
14454
14455Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
14456
14457 * libc/include/sys/time.h: add itimer support for Cygwin32
14458
14459Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
14460
14461 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
14462 out a message that abort was called to stderr.
14463
14464Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
14465
14466 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
14467 so that libio doesn't freak.
14468
14469 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
14470 int.
14471
14472 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
14473 memory sizes, not int.
14474
14475Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
14476
14477 * libm/math/ef_hypot.c: Use long constants where
17c0c97d 14478 appropriate.
8a0efa53
CF
14479 * libm/math/ef_sqrt.c: Ditto.
14480
14481 * libc/sys/sysmec/times.c(_times): Change to times.
14482
14483 * libc/sys/sysmec/read.c(_read): The third argument is
14484 size_t.
14485 * libc/sys/sysmec/write.c (_write): Ditto.
14486
14487 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
14488 (_lseek): It's off_t for the second argument.
14489
14490Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
14491
14492 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
14493 as well as machine/ieeefp.h.
14494
14495Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
14496
14497 * libc/include/sys/signal.h: add signal protos for winsup
14498 functions (when __CYGWIN32__), include types.h
14499 * libc/include/sys/types.h: Change __go32_types__ internal
14500 define to __MS_types__ since it's used for more than just
14501 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
14502 defined.
14503 * libc/include/sys/unistd.h: add ftruncate proto for
14504 winsup functions (when __CYGWIN32__)
14505
14506Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
14507
14508 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
14509
14510Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
14511
14512 * libc/include/machine/setjmp.h: Add tic80 support.
14513 * libc/machine/tic80/setjmp.S: Likewise.
14514
14515Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
14516
ba3ccd63
EB
14517 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
14518 link programs from libraries only (such as in the X11
14519 distribution)
8a0efa53
CF
14520
14521Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
14522
14523 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
14524 supplied elsewhere in newlib.
14525
14526Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
14527
14528 * Makefile.in (INSTALL): Change install.sh to install-sh.
14529
14530Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
14531
14532 * README: update WWW address for on-line documentation.
14533
14534Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
14535
14536 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
14537 increment NSIG
14538
14539Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
14540
14541 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
14542 mn10300.
14543 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
14544
14545Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
14546
14547 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
14548 * libc/sys/d10v/syscalls.c: Likewise.
14549 * libc/sys/h8300hms/sbrk.c: Likewise.
14550 * libc/sys/h8500hms/syscalls.c: Likewise.
14551 * libc/sys/m88kbug/syscalls.c: Likewise.
14552 * libc/sys/sh/syscalls.c: Likewise.
14553 * libc/sys/sysmec/sbrk.c: Likewise.
14554 * libc/sys/sysnecv850/sbrk.c: Likewise.
14555 * libc/sys/w65/syscalls.c: Likewise.
14556 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
14557
14558Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
14559
14560 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
14561 emulated syscall instead of "trap".
14562
14563Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
14564
14565 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
14566 not trap 0.
14567
14568Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
14569
14570 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
14571
14572Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
14573
14574 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
14575 not "sh".
14576 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
14577 not "d10v".
14578 * libc/sys/tic80/crt0.c: New file for TIc80.
14579 * libc/sys/tic80/Makefile.in: New file for TIc80.
14580 * libc/machine/tic80/Makefile.in: New file for TIc80.
14581
14582Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
14583
14584 * libc/machine/sh/memcpy.S: New file.
14585 * libc/machine/sh/memset.S: New file.
14586 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
14587
14588Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
14589
14590 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
14591 for TIc80.
14592
14593Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
14594
14595 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
14596 the mn10200.
14597
14598Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
14599
14600 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
14601 (patch from andrew@pogo.WV.TEK.COM).
14602
14603Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
14604
14605 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
14606 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
14607
14608Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
14609
14610 * configure.in: Add cases for "tic80" to set machine_dir,
14611 sys_dir, and syscall_dir.
14612
14613Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
14614
14615 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
14616
14617Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
14618
14619 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
14620
14621Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
14622
14623 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
14624 Use proper constant prefix.
14625
14626Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
14627
14628 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
14629 that loses on the mn10200 where ints and pointers are different
14630 sizes.
14631
14632Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
14633
14634 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
14635 target as signal is provided in winsup.
14636
14637Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
14638
14639 * libc/include/sys/process.h: Corrected const definitions
14640 in spawn functions. Added cwait.
14641
14642Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
14643
14644 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
14645 doubles.
14646 * libc/include/sys/config.h: Similarly.
14647
14648Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14649
14650 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
14651 target_cflags.
14652 (i[3456]86-*-sco*): Ditto.
14653
14654 * libc/signal/Makefile.in (OFILES): Add signal.o.
14655 (CFILES): Add signal.c.
14656
14657 * libc/signal/raise.c (_raise_r): Only compile code if
14658 SIGNAL_PROVIDED is defined.
14659
14660 * libc/signal/signal.c: Redo whole file so that it works with
14661 current newlib. Use _kill_r if no signal handler provided.
14662
14663 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
14664 signal stubs.
14665 * libc/sys/sysvnecv70/Makefile.in: Ditto.
14666 * libc/sys/sysnecv850/Makefile.in: Ditto.
14667
14668 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
14669 * libc/sys/sysmec/{raise,signal}.c: Ditto.
14670 * libc/sys/sysvnecv70/signal.s: Ditto.
14671 * libc/sys/sysnecv850/raise.c: Ditto.
14672
14673 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
14674 simulator and debugger can tell the difference between a signal
14675 being raised and an exit system call.
14676
14677 * NEWS: Document software signals being provided.
14678
14679Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14680
14681 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
14682 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
14683 include/sys/config.h.
14684 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
14685 Change from 'inpure_data'.
14686 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
14687 &impure_data, not &inpure_data.
14688
14689 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
14690 and and System V ABI, define so that _impure_ptr lives in the
14691 .sdata section.
14692
14693Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14694
14695 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
14696 nothing if not defined.
14697 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
14698 its attributes.
14699
17c0c97d 14700 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
8a0efa53
CF
14701
14702Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
14703
14704 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
14705 * libc/sys/sysmec/trap.s: Handle mn10200 too.
14706 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
14707
14708Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
14709
14710 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
14711
14712Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
14713
ba3ccd63 14714 * libc/include/sys/errno.h: Added net errno's.
8a0efa53
CF
14715
14716Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14717
14718 * libc/misc/ffs.c: New file to support ffs function for GCC test
14719 gcc.c-torture/execute/960909-1.c.
14720
14721 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
14722
14723Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
14724
14725 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
14726 * libc/sys/sysmec/trap.S: Likewise.
14727
14728Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
14729
14730 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
14731 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
14732
14733Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
14734
14735 * libc/sys/sysmec/signal.c: Dummy file.
14736 * libc/sys/sysmec/Makefile.in: Build it.
14737
14738Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
14739
14740 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
14741 mips16.
14742
14743Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
14744
14745 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
14746 c-startup and simulator traps.
14747
14748
14749 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
14750 * libc/sys/sysmec/trap0.S: Likewise.
14751
14752Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14753
14754 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
14755 round to double word alignment.
14756 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
14757 byte alignment.
14758
14759 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
14760
14761 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
14762 out of memory.
14763
14764Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
14765
14766 * configure.in: Handle mn10200 and mn10300.
14767 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
14768 * libc/include/sys/config.h: Likewise.
14769 * libc/sys/sysmec: New directory for mec stuff.
14770 * libc/machine/mn10300: New directory for mn10300 stuff.
14771 * libc/machine/mn10200: Similarly for mn10200 stuff.
14772
14773Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
14774
14775 * libc/sys/arm/crt0.S: Use .text, not .section .text.
14776 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
14777
14778 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
14779 (nlink_t): Change type from unsigned int to unsigned short.
14780 (mode_t): Ensure size is 32 bits even if int is 16.
14781 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
14782 (st_spare[123]): Change type from int to long.
14783
14784Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14785
14786 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
14787 byte boundary.
14788
14789 * configure.in (d10v*): Define SMALL_MEMORY.
14790
14791Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14792
14793 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
14794 -mrelocatable-lib and -mno-eabi flags.
14795
14796Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
14797
14798 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
14799 Fix handling of mis-aligned source operand when both the
14800 destination & length are properly aligned.
17c0c97d 14801
8a0efa53
CF
14802Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
14803
14804 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
14805 times.o, time.o and gettime.o
14806 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
14807 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
14808 SYS_gettimeofday.
14809
14810Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
14811
14812 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
14813 * libc/sys/sysnecv850/access.c: New file.
14814
14815Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
14816
14817 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
14818
14819 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
14820 long.
14821
14822Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
14823
14824 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
14825
14826Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
14827
14828 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
14829 * libc/include/sys/config.h: Add m32r support.
14830
14831Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
14832
14833 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
14834 here.
14835
14836Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
14837
14838 * libc/include/machine/setjmp.h: Add D10v support.
14839
14840Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
14841
14842 * configure.in: Configure the "libc/syscalls" directory for
14843 the v850.
14844
14845 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
14846 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
14847 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
14848 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
14849 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
14850
14851Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
14852
14853 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
14854 stack for args for main and other routines. Zero out args for
14855 main.
14856
14857 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
14858 correctly.
14859
14860Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14861
14862 * libc/stdio/findfp.c (std): Remove extraneous ';' after
14863 function.
14864
14865 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
14866
14867 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
14868 real system calls now.
14869
14870 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
14871 before casting them to int.
14872 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
14873
14874 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
14875 aligning pointer.
14876 * libc/string/memset.c (memset): Ditto.
17c0c97d 14877
8a0efa53
CF
14878 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
14879 first convert ints to _POINTER_INT to eliminate GCC warning.
14880
14881 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
14882 processing %p.
14883
14884 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
14885 from 65000 if ints are only 16 bits.
14886
14887 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
14888 from 50000 if ints are only 16 bits.
14889
14890 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
14891 int type that is the same size as a pointer.
14892
14893 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
14894 processing %p.
14895 (get_number): Explicitly cast number to long before shifting by 16
14896 or 24, in case ints are short.
14897
14898 * libc/include/sys/config.h (_POINTER_INT): Define as short.
14899
14900Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
14901
14902 * libc/string.h: Added ffs, removed swab.
14903 * libc/sys/errno.h: Added EOPNOTSUPP.
14904 * libc/sys/unistd.h: Added swab.
14905
14906Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
14907
14908 * libc/include/sys/stat.h: Added fchmod.
14909 * libc/include/sys/unistd.h: Added fsync.
14910
14911Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
14912
14913 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
14914 and ECONNRESET (104) for cygwin32.
14915
14916Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
14917
ba3ccd63
EB
14918 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
14919 do the static destructors.
17c0c97d 14920
8a0efa53
CF
14921Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
14922
14923 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
14924
14925Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
14926
14927 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
14928 * configure.in: Recognize m32r-*-*.
14929
14930Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
14931
14932 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
17c0c97d
EB
14933 __rt_stkovf_split_small): Added default software stack overflow
14934 handlers, which just call SWI_Exit.
8a0efa53 14935 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
17c0c97d 14936 limit initialisation.
8a0efa53
CF
14937
14938Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
14939
14940 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
14941
14942Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
14943
14944 * libc/include/sys/types.h: Added ssize_t definition.
17c0c97d 14945
8a0efa53
CF
14946Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14947
14948 * libc/machine/d10v/setjmp.S: Use ';' for comments.
14949 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
14950
14951 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
14952 branch around a single ldi instruction.
14953
14954 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
14955 Call exit, instead of just issuing a stop instruction.
14956
14957Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14958
14959 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
14960
14961Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14962
14963 * libc/stdlib/mprec.h: Explicitly declare all large constants as
14964 longs, and then cast them to __uint32_t.
14965
14966 * libc/include/sys/config.h: Protect against multiple inclusions.
14967
14968Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
14969
14970 * configure.in (d10v*): Set syscall_dir.
14971
14972Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
14973
14974 * libc/sys/d10v/crt0.S: Set stack pointer.
14975
14976Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
14977
14978 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
14979 in assembly for efficiency. Change calling convention to allow
14980 long ints to be returned.
14981
14982Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14983
14984 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
14985
14986Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
14987
14988 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
14989 Handle empty entries in $PATH.
14990
14991Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
14992
14993 * libc/machine/d10v/setjmp.S: Make it really work.
14994
14995Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
14996
14997 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
14998 the .stack section.
14999
15000Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
15001
15002 * sys/sysnecv850/sys/file.h: Remove.
15003 * sys/sysnecv850/sys/syscall.h: New file.
15004 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
15005 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
15006 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
15007 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
15008 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
15009 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
15010 * sys/sysnec850/trap.S: New file.
15011 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
15012 syscalls.
15013 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
15014 * sys/sysnec850/sbrk.c: New version.
15015
15016Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
15017
15018 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
15019 as long as r6 is less than r7.
15020
15021Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
15022
15023 * Makefile.in (mostlyclean): Separate from clean target. Don't
15024 remove *.a or targ-include.
15025 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
15026
15027Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15028
15029 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
15030 d10v.
15031 (__SMALL_BITFIELDS): Ditto.
15032
15033 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
15034
15035Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
15036
15037 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
15038 prefix.
15039
15040 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
15041 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
15042 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
15043 * libc/sys/sysnecv850/write.c (write): Likewise.
15044
15045 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
15046 .bss.
15047
15048Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15049
15050 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
15051 appropriately for D10V, depending on -mint16/-mint32.
15052
15053Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
15054
15055 * configure.in: Add cases for D10V.
15056
15057Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15058
15059 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
15060
15061Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
15062
15063 * libc/include/machine/ieeefp.h: Fix typo.
15064
15065Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
15066
15067 * libc/sys/d10v: New directory for D10V stuff.
15068 * libc/include/machine/ieeefp.h: Add D10V defines.
15069
15070Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
15071
15072 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
15073 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
15074 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
15075 * libc/string/strerror.c (strerror): Add them.
15076
15077Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
15078
15079 * libc/sys/sysnecv850: New directory for v850 stuff.
15080
15081 * libc/machine/v850: New directory for v850 stuff.
15082 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
15083
15084 * configure.in: Add support for the v850.
15085
15086 * libc/include/machine/ieeefp.h: Add v850 defines.
15087 * libc/include/machine/setjmp.h: Likewise.
15088 * libc/include/sys/config.h: Add v850 defines.
15089
15090Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
15091
15092 * libc/include/machine/ieeefp.h
15093 * libc/include/machine/setjmp.h
15094 * libc/include/sys/fcntl.h
15095 * libc/include/sys/signal.h
15096 * libc/include/sys/types.h
15097 * libc/stdlib/system.c:
15098 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
15099 API availability, __CYGWIN32__ for cygwin32 environment specific).
15100
15101Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
15102
ba3ccd63
EB
15103 * libc/include/stdlib.h: add multibyte character functions. Add
15104 __eprintf for assert.
8a0efa53
CF
15105
15106Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15107
15108 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
15109 arithmetic or __alignof__ to properly get the alignment, instead
15110 of hardwiring it to 4.
15111
15112Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
15113
15114 * libc/stdio/fseek.c: add fflush call to adjust seek offset
15115 on append stream (fix from NetBSD sources), adjust curoff offset
15116 for ungetc's benefit.
15117 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
15118 * libc/stdio/rewind.c: replace code with up to date NetBSD
15119 code to undo hacks made to work around above problem of not
15120 having fflush call mentioned above
15121
15122Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15123
15124 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
17c0c97d
EB
15125 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
15126 Partially revert last changes. The thread specific errno is set
15127 iff if the underlying syscall fails and the global errno is not
15128 zero.
8a0efa53
CF
15129
15130Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15131
15132 * libc/reent/filer.c: Removed files, all functions have split out
17c0c97d
EB
15133 into their own files.
15134 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
8a0efa53
CF
15135 New files containing functions formally in filer.c
15136 * libc/reent/Makefile.in: Updated for above change.
15137
15138 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
17c0c97d
EB
15139 syscall fails, not if errno is changed.
15140 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
8a0efa53
CF
15141 _write_r): Likewise.
15142 * libc/reent/fstatr.c (_fstat_r): Likewise.
15143 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
15144 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
15145 * libc/reent/signalr.c (_kill_r): Likewise.
15146 * libc/reent/statr.c (_stat_r): Likewise.
15147 * libc/reent/timer.c (_gettimeofday_r): Likewise.
15148
15149 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
17c0c97d 15150 signalr.c, statr.c, timer.c} (errno): declare extern rather
8a0efa53
CF
15151 than as a common.
15152
15153 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
17c0c97d
EB
15154 instead of calling vfprintf so that i*printf will not require
15155 floating point support code.
15156
8a0efa53
CF
15157Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
15158
15159 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
15160 path delimiter.
15161 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
15162 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
15163
15164Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
15165
15166 * libc/include/signal.h: _sig_func_ptr function takes an int
15167 * libc/include/sys/signal.h: sa_handler function takes an int
15168
15169Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
15170
15171 * libc/include/machine/ieeefp.h: Simplify H8/S support.
15172 * libc/include/sys/config.h: Add missing H8/S conditional.
15173
15174Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
15175
15176 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
15177
15178Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
15179
15180 * libc/include/machine/setjmp.h: Handle H8/S.
15181 * libc/include/machine/ieeefp.h: Likewise.
15182 * libc/include/sys/config.h: Likewise.
15183 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
15184 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
15185 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
15186 * libc/sys/h8300hms/crt0.S: Likewise.
15187
15188Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
15189
ba3ccd63 15190 * Makefile.in (datadir): Set to $(prefix)/share.
8a0efa53 15191 (oldincludedir, docdir): Removed.
ba3ccd63 15192 * doc/Makefile.in (datadir): Set to $(prefix)/share.
8a0efa53 15193 (oldincludedir, docdir): Removed.
ba3ccd63 15194 * libc/Makefile.in (datadir): Set to $(prefix)/share.
8a0efa53 15195 (oldincludedir, docdir): Removed.
ba3ccd63 15196 * libm/Makefile.in (datadir): Set to $(prefix)/share.
8a0efa53
CF
15197 (oldincludedir, docdir): Removed.
15198
15199Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
15200
15201 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
15202 _reent struct.
15203
15204Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
15205
15206 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
15207 fetch current path rules with sysconf and handler posix/win32
15208 appropriately.
15209
15210 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
15211
15212 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
15213 (WAIT_CHILD): Always define.
15214
15215Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
15216
15217 * libc/stdlib/eprintf.c: New file.
15218 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
15219 (eprintf.o): New target.
15220
15221Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
15222
15223 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
15224 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
15225
15226Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
15227
15228 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
15229 NT in PowerPC endianess cases.
15230
15231Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15232
15233 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
15234
15235Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15236
15237 * libc/string/strtok.c: Fix doc typo.
15238
15239Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15240
15241 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
17c0c97d 15242 _next, _scanpoint, _signgam fields.
8a0efa53
CF
15243
15244 * libc/include/stdlib.h (rand_r): Added new declaration.
15245 (_rand_r, _srand_r): Removed declarations.
15246 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
17c0c97d 15247 have been made obsolete by rand_r.
8a0efa53 15248 * libc/stdlib/rand_r.c: New file, rand_r function as specified
17c0c97d
EB
15249 by POSIX.1c.
15250
8a0efa53 15251 * libc/string/strtok.c: Update documentation to describe
17c0c97d 15252 strtok_r().
8a0efa53
CF
15253
15254Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
15255
15256 * libc/include/sys/stat.h (stat structure): Use the expanded stat
15257 structure on Solaris, and PowerPC systems even though __svr4__ is
15258 defined.
15259
15260Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
15261
15262 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
15263
15264Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
15265
15266 * host/any: Use ../.. rather than .. to get to the main build
17c0c97d
EB
15267 directory. This matches the current layout of the build
15268 directory.
8a0efa53
CF
15269
15270Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
15271
15272 * libc/machine/h8300/__main.S: Delete. No longer needed.
15273 * libc/machine/h8300/Makefile.in: Corresponding changes.
15274 * libc/sys/h8300hms/crt1.c: New file.
15275 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
15276 * libc/sys/h8300hms/crt0.s: Call __main.
15277
15278 * libc/sys/h8300hms/crt0.S: Use temporary label names
15279 for branch targets.
15280
15281Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
15282
15283 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
15284
15285Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15286
15287 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
15288 .sdata on the PowerPC so that we can link newlib with code
15289 compiled with -msdata.
15290
15291Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
15292
15293 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
15294
15295Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
15296
15297 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
15298 exception handler to __cygwin_exception_handler.
15299
15300Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
15301
15302 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
15303
15304Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
15305
15306 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
15307 SunOS VPATH.
15308 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
15309 wcstombs.o): Likewise.
15310
15311Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
15312
15313 * libc/stdlib/environ.c (initial_env): New static local.
15314 (environ): Point to `initial_env'.
15315
15316 * libc/include/machine/setjmp.h: Clean up.
15317 (__H8300H__,__PPC__): Define _JBTYPE.
15318 (__arm__): Provide entry for.
15319 (sigjmp_buf): Delete.
15320 (jmp_buf): Use _JBTYPE if defined, otherwise int.
15321
15322Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
15323
15324 * libc/machine/h8300/strcmp.S: Sign extend the result to
15325 32bits so we don't lose with -mint32.
15326
15327Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
15328
15329 * libc/sys/go32/sys/errno.h: New file.
15330 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
15331 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
15332 errno's address (make compatible with rest of newlib).
15333 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
15334 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
15335
15336Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
15337
15338 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
15339 * libc/machine/sparc/Makefile.in: Build them.
15340 * libc/machine/sparc/machine/sparclet.h: New file.
15341
15342Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15343
15344 * libc/machine/sh/asm.h: New file.
15345 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
17c0c97d 15346 support for SH3e's FP registers. Use asm.h.
8a0efa53
CF
15347
15348Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
15349
15350 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
15351 as first argument. Call _dtoa_r and pass the reent structure
15352 instead of calling __dtoa.
15353
15354Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
15355
15356 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
15357 the h8300, h8500, and others. Add comments for some rather
15358 dubious code.
15359
15360Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
15361
15362 * Makefile.in (check): Check that testsuite exists before cd.
15363
15364Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15365
15366 * libc/include/string.h (strsep): Correct prototype.
15367
15368Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
15369
15370 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
15371 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
15372 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
15373
15374Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
15375
15376 * libc/posix/{creat.c,isatty.c}: New files.
15377 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
15378
15379 * libc/sys/sparc64/crt0.S (environ): Delete.
15380 (.LHaveBias): Renamed from HaveBias.
15381
15382Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
15383
15384 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
15385 (_morecore_r): Delete SBRK_IS_ALLOC support.
15386
15387Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15388
15389 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
15390 module rather than touch, so we don't get warning messages when
15391 all of the libraries are combined into libc.a.
15392
15393Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
15394
15395 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
15396 crt0.s replaced by version in libgloss.
15397
15398Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15399
15400 * libc/reent/Makefile.in (OFILES): Add impure.o.
15401 * libc/reent/impure.o: New file, define initial reentrancy struct.
15402 * libc/reent/reent.c: Remove above definition.
15403
15404 * libm/math/sf_asinh.c: Fix typo.
15405
15406 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
17c0c97d
EB
15407 srf_ldexp.o.
15408
8a0efa53
CF
15409 * libm/libm.texinfo: Change documentation to reflect changes
15410 in reentrancy model.
15411 * libm/math/w_gamma.c: Likewise.
15412
15413Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
15414
15415 * configure.in (*-*-cygwin32): New.
15416 (*-*-win32): Deleted.
15417 * libc/sys/win32 renamed libc/sys/cygwin32.
15418
15419Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15420
15421 * libc/include/sys/file.h: New include file.
15422
15423Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
15424
15425 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
15426
15427Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
15428
15429 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
15430
15431Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15432
15433 * doc/makedoc.c (realloc): Declare at file scope.
15434 (catchar): Not here.
15435
15436Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
15437
15438 * Makefile.in (VERSION): Update to 1.7.0.
15439 * {libc,libm}/Makefile.in (VERSION): Likewise.
15440 * configure.in: Minor clean up of multilib stuff.
15441
15442 From David Johnson <davidj@ICSI.Berkeley.EDU>
15443 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
15444
15445 * libc/stdlib/environ.c: New file.
15446 * libc/stdlib/Makefile.in (OFILES): Build it.
15447 * libc/sys/h8500hms/crt0.c (environ): Deleted.
15448 * libc/sys/m88kbug/crt0.c (environ): Deleted.
15449 * libc/sys/z8ksim/crt0.c (environ): Deleted.
15450 * libc/sys/netware/environ.c: Deleted.
15451
15452Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
15453
15454 * configure.in (links): set sys_dir, posix_dir, syscall_dir
15455
15456Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
15457
15458 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
15459 declaration out to external scope and declare it PTR, not char *.
15460
15461Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
15462
15463 * libc/include/sys/unistd.h (getpagesize): New declaration.
15464 (_SC_PAGESIZE): New definition.
15465 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
15466 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
15467
15468Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
15469
15470 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
17c0c97d 15471 addressing. System call returns size, not (last address + 1).
8a0efa53
CF
15472
15473Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15474
15475 * libm/math/*.c: Removed _foo_r() reentrancy API.
15476 * libc/include/math.h: Removed _foo_r prototypes and macros.
15477
17c0c97d 15478 * libm/math/*.c: On systems with IEEE single precision "doubles"
8a0efa53 15479 move foo() -> foof() wrapper code from the files that implement
17c0c97d 15480 the standard IEEE double precision functions to the files that
8a0efa53
CF
15481 implement IEEE single precision functions. (ie. On those systems
15482 sin is moved from s_sin.c to sf_sin.c). There should eventually
15483 be use of a C extension (like gcc's alias attribute) so that the
15484 wrappers are not needed at all.
15485
15486 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
17c0c97d 15487 strict NEC V810 compiler.
8a0efa53 15488 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
17c0c97d 15489 for same reason.
8a0efa53
CF
15490
15491Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15492
15493 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
17c0c97d 15494 from NetBSD C library.
8a0efa53
CF
15495 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
15496
17c0c97d 15497 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
8a0efa53
CF
15498 and adapted from implementation I wrote for NetBSD C library.
15499 The difference is __assert doesn't take a format argument,
15500 so that there won't be multiple copies of the same string
15501 constant in the executable if assertions are enabled in
17c0c97d 15502 more than one source module.
8a0efa53
CF
15503 * libc/include/assert.h (assert): Changed to call __assert.
15504
15505Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15506
15507 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
15508 word1 on systems with 32 bit doubles.
15509 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
15510 so that we can do arithmetic on them.
15511 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
17c0c97d
EB
15512 compilers.
15513
8a0efa53
CF
15514Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
15515
15516 * libc/sys/arm/crt0.S: Zero bss.
15517
15518Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
15519
15520 * libc/include/unctrl.h: New file.
15521 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
15522 * configure.in (subdirs): Add libc/misc.
15523 * libc/Makefile.in (SUBDIRS): Add misc.
15524 (SUBLIBS): Add misc/lib.a.
15525
15526 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
15527
15528Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
15529
15530 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
15531 (_vfprintf_r): Call CHECK_INIT.
15532
15533Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
15534
15535 * Makefile.in (MULTITOP): Delete.
15536 (MULTISRCTOP, MULTIBUILDTOP): Add.
15537 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
15538 instead of cfg-ml-pos.in.
15539
15540Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
15541
15542 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
15543 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
17c0c97d 15544 presence.
8a0efa53
CF
15545
15546Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
15547
15548 * libc/string/strtok.c: Include string.h to pick up strtok_r
15549 prototype.
15550
15551Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15552
15553 * libc/string/strtok.c: include <_ansi.h>.
15554 * libc/time/asctime_r.c: `reresult' -> `result'.
15555
15556Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15557
15558 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
15559 in #ifndef _REENT_ONLY ... #endif conditional.
15560
15561 * libc/include/string.h (_strtok_r): Remove declaration.
15562 * libc/include/time.h (_asctime_r): Remove declaration.
15563 * libc/string/strtok.c (_strtok_r): Removed.
15564 * libc/time/asctime.c (_asctime_r): Removed.
15565
15566 * libc/string/Makefile.in (OFILES): Add new object.
15567 * libc/string/strtok_r.c: New file. strtok_r function as
17c0c97d 15568 specified by POSIX.1c, adapted from strtok implementation
8a0efa53 15569 from NetBSD C library.
17c0c97d 15570 * libc/string/strtok.c (strtok): Reimplemented in terms of
8a0efa53
CF
15571 strtok_r.
15572
15573 * libc/time/Makefile.in (OFILES): Add new objects.
15574 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
15575 New files, reentrant time functions specified by POSIX.1c.
15576 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
17c0c97d 15577 reentrant time functions re-written in terms of reentrant
8a0efa53
CF
15578 functions.
15579 * libc/time/lcltime.c: Renamed from localtime.c
15580
15581 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
15582 gmtime_r, and localtime_r.
15583
15584Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
15585
15586 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
15587 * libc/include/sys/unistd.h (getlogin): Revert change of
15588 Oct 19.
15589 * libc/include/sys/signal.h (sigprocmask): Change prototype
15590 so it compiles with c++.
15591
15592Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
15593
15594 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
15595 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
15596 to give some room in case we need to align the jmp_buf.
17c0c97d 15597
8a0efa53
CF
15598 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
15599 the new ppc-asm.h include file the compiler provides to specify
15600 function prologue/epilogue. Eliminate saves of the xer and ctr
15601 registers, which are volatile. Before starting to save registers,
15602 align to 8 byte boundary.
15603
15604Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
15605
15606 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
17c0c97d 15607 referenced by standard libraries.
8a0efa53
CF
15608
15609Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
17c0c97d 15610
8a0efa53
CF
15611 * libc/unix/Makefile.in, libc/string/Makefile.in,
15612 libc/stdio/Makefile.in, libc/reent/Makefile.in,
15613 libc/posix/Makefile.in:
15614 Remove tabs from otherwise empty line. Confuses some
15615 older non-GNU versions of "make".
15616
15617Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
15618
15619 * libc/sys/unistd.h (getlogin): Returns const char *.
15620
15621Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
15622
15623 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
15624 * libc/include/errno.h: Moved into and include...
15625 * libc/include/sys/errno.h: New file.
15626 * libc/include/sys/wait.h: New file.
15627 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
15628 * libc/sys/win32/*: Moved out.
15629 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
15630 * configure.in (i[345]86-*-win32): HAVE_RENAME
15631
15632Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
15633
15634 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
15635 avoid macro expansion for these two names.
15636
15637Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
15638
15639 * libc/machine/h8500/psi.S: r6 renamed to fp.
15640
15641Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
15642
15643 * configure.in (powerpc*): No longer need to define
15644 NO_LONGLONG_POINTERS to supress warnings.
15645
15646Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
15647
15648 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
15649 through PTR instead of directly.
15650
15651 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
15652 non-standard constructor support.
15653
15654Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15655
15656 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
17c0c97d
EB
15657 address of the Bigint instead of the address of its _x field,
15658 as the size the result buffer was calculated accordingly.
8a0efa53
CF
15659 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
15660
15661 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
17c0c97d 15662 from NetBSD C library. No longer special cases division by
8a0efa53
CF
15663 zero (which needs to be done by the application anyway), but
15664 it doesn't need to call abs() (or labs()) four times either.
17c0c97d
EB
15665
15666 * libc/stdlib/qsort.c: Replaced with implementation from
8a0efa53
CF
15667 NetBSD C library.
15668
15669Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15670
15671 * libc/stdio/vfprintf.c: Replaced with implementation from
ba3ccd63 15672 NetBSD C library (which is derived from the 4.4BSD C library).
8a0efa53
CF
15673 * libc/stdio/cvt.c: Removed.
15674 * libc/stdio/Makefile: Updated.
17c0c97d 15675
8a0efa53
CF
15676Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
15677
15678 * libc/sys/win32/syscalls.c (rename): New.
15679 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
15680
15681Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
15682
15683 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
15684 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
15685
15686 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
15687 (setjmp.o): Delete rule to build setjmp.o.
15688 * libc/sys/sh/setjmp.S: Delete file.
15689
15690Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15691
15692 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
15693 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
15694 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
17c0c97d 15695 pow5mult and s2b to identifiers with leading underscores.
8a0efa53
CF
15696 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
15697 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
15698
15699Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
15700
15701 * libc/sys/posix/popen.c (sys/types.h): Include.
15702
15703Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
15704
15705 * libc/sys/win32/syscalls.h (fhandler): New struct.
15706 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
15707 (__fhandler_normal): Declare.
15708 (hinfo): New member op_handlers.
15709 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
15710 (__write): Likewise.
15711 (_read, _write, _open, _close, _lseek): Validate fd here.
15712 Move file type specific stuff to foo_normal.
15713 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
15714 New functions.
15715 (__lookup_fhandler): New function.
15716 (__lookup_fhandler_hook, __fhandler_normal): New variables.
15717
15718 From anders.blomdell@control.lth.se (Anders Blomdell)
15719 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
15720 Don't touch standard handles.
15721 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
15722 (_execve): Only create __FD_TABLE__ if necessary.
15723 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
15724
15725Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
15726
15727 * libc/sys/win32/sys/termios.h (FLUSHO): New.
15728 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
15729 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
15730 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
15731 without a handler is received.
15732 * libc/sys/win32/Makefile.in: Remove --nodelete.
15733 * libc/sys/win32/resouce.c (gettimeofday): New.
15734 * libc/sys/win32/syscalls.c (path_to_real_path): New.
15735 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
15736
15737Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
15738
15739 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
15740 Don't append "/*" to search pattern if trailing '/' already there,
15741 append "*".
15742 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
15743 like /'s, convert them to \'s. Handle //<drive>/ path names.
15744 Add space for quoted \'s in arg string. Print translated prog name
15745 and original prog name.
15746 (_execve): Handle parent doing exec a teensy bit better.
15747 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
15748 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
15749 path needs conversion, handle both cases. Delete `const' from result.
15750 (hash_path_name): New function.
15751 (_open): Call it.
15752 (_stat): Likewise. Fill in more fields for directories.
15753 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
15754 (wait_for_any): Fix trace message.
15755 (waitpid): Explicitly test for intpid == 0.
15756
15757 From anders.blomdell@control.lth.se (Anders Blomdell)
15758 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
15759 so `next' is valid.
15760
15761Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
15762
15763 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
15764 complicated.
15765
15766Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15767
ba3ccd63
EB
15768 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
15769 at all, not just == 1.
15770 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
8a0efa53
CF
15771
15772Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15773
ba3ccd63
EB
15774 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
15775 * libc/sys/win32/include/wintypes.h: include <winnt.h>
15776 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
15777 file.
8a0efa53
CF
15778
15779Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
15780
15781 * libc/sys/syscalls.c (getcwd): Fix off by one error.
15782
15783 * libc/sys/signal.c (sleep): Fill it in.
15784 * libc/sys/termios.c (tcflush): Use PurgeComm
15785 (tcsetattr): Set some more of the bits.
15786 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
15787
15788Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
15789
15790 * libc/sys/arm/crt0.S (fp): Initialize to 0.
15791 Conditionally include .idata$3 stuff ifdef __pe__.
15792
15793Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
15794
15795 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
15796 * libc/sys/win32/pipe.c (pipe): Ditto.
15797 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
15798 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
15799 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
15800 (tcgetattr): Contents are new.
15801 * libc/sys/win32/include/winkernel.h (DCB): New.
15802 (GetCommState, SetCommState): New.
15803
15804Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
15805
15806 * libc/sys/arm/crt0.S (_start): Define.
15807
15808Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
15809
15810 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
15811 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
15812
15813 * libc/sys/win32/sysconf.c: New
15814 * libc/sys/win32/sys/winadvapi.h: New
15815 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
15816 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
15817 * libc/sys/win32/pipe.c (pipe): Ditto.
15818 * libc/sys/win32/signal.c (_raise): New.
15819 (_kill): Moved from spawn.c
15820 * libc/sys/win32/spawn.c (kill): Moved to signal.c
15821 * libc/sys/win32/syscalls.c (__read): Use new fields.
15822 (_open): Ditto.
15823 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
15824 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
15825 * libc/include/sys/unistd.h (rmdir): Takes const path.
15826 * libc/include/sys/stat.h (mkdir): Takes const path.
15827 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
15828
15829Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
15830
15831 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
15832
15833 Add support for specifying paths as //<drive>/foo/bar.
15834 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
15835 (__path_to_real_path): Declare.
15836 (PATH_TO_REAL_PATH): New macro.
15837 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
15838 (__path_needs_conversion_p, __path_to_real_path): New functions.
15839 (_open): Fix test for error return from CreateFileA.
15840 Handle new path syntax.
15841 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
15842 * libc/sys/win32/dirsearch.c (opendir): Likewise.
15843
15844Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
15845
15846 * libc/sys/win32/include/*.h: Reorganized
15847 * libc/sys/win32/include/WINREADME: New.
15848 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
15849 * libc/sys/win32/*.c: Fix for new include scheme.
15850 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
15851 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
15852 * libc/sys/win32/passwd.c (*): Fix.
15853 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
15854 (_stat): Get directory owner and permissions right.
15855 * libc/sys/win32/syscalls.h (uinfo): New.
15856 * libc/sys/win32/version.def: Remove leading underscores.
15857
15858Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15859
15860 * libc/sys/win32/key.c: include "include/wincon.h".
15861
15862Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
15863
15864 * libc/sys/win32/{key, stubs}.c: New.
15865 * libc/sys/win32/Makefile: Adjust to cope.
15866 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
15867 (environ_init): Change env names to upper case.
15868 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
15869 * libc/sys/win32/passwd.c (*): Fill in the functions.
15870 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
15871 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
15872 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
15873 (_open): Initialze hmap->execable_p too.
15874 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
15875 (_fstat): Fill in permissions.
15876 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
15877
15878Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
15879
15880 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
15881 if defined.
15882 (cfg-ml-pos.in invocation): Likewise.
15883
15884Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15885
15886 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
15887 s_isnan.o and sf_isnan.o.
15888
15889Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
15890
15891 * All Makefile.in files: added maintainer-clean target as a
15892 synonym for realclean.
15893
15894Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
15895
15896 * libc/include/machine/setjmp.h: Add hppa support.
15897 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
15898 support.
15899 * libc/machine/hppa/Makefile.in: Related changes.
15900
15901Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
15902
15903 * configure.in (machine_dir): Don't set for v810-*-*.
15904
15905Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15906
15907 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
15908 conventions correctly.
15909
15910Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
15911
15912 * libc/stdio/puts.c: Update documentation of return value to match
15913 ANSI standard.
15914
15915Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
15916
15917 Fix file descriptor inheritance.
15918 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
15919 (NOT_OPEN_FD): Fix.
15920 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
15921 close-on-exec flag not set. Initialize child's entire fd table.
15922 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
15923 CHILD_P.
15924 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
15925 if CHILD_P. Initialize entire hmap entry.
15926 (dup): Only create new handle as inheritable if CHILD_P.
15927 (dup2): Likewise. Properly initialize hmap entry.
15928
15929 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
15930 _spawn.
15931 (_exit): Use CHILD_P.
15932 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
15933 (_stat): Likewise.
15934
15935Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15936
15937 * libc/sys/win32/crt0.c (passover): fix up the state table.
15938 * libc/posix/popen.c: Added.
15939 * libc/posix/Makefile.in: compile popen.c.
17c0c97d 15940
8a0efa53
CF
15941Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
15942
15943 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
15944 h8/500 define _DOUBLE_IS_32BITS.
15945
15946Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
15947
15948 Get vfork/exec/spawn/cwait/wait working again.
15949 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
15950 (procinfo): New member vfork_level.
15951 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
15952 (vfork_init_first): Use GetCurrentProcessId to get pid.
15953 Initialize vfork_level.
15954 (vfork_init): Delete __PID__.
15955 (environ_init): New function. Undo patch of Aug 19, Posix says
15956 environment variables are case sensitive.
15957 (mainCRTStartup): Call it.
15958 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
15959 (my_longjump: Make static.
15960 (_spawn): New argument `h'. Delete setting of __PID__.
15961 Delete local `idx'. Look for chars that need quotes, rather than
15962 ones that don't. Set handle of created process in `h'.
15963 Result is process id if created task.
15964 (allocate_spawn_entry): New function.
15965 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
15966 (_execve): Set __FD_TABLE__ before spawning child.
15967 Scan our fd table when passing fds, not our parent's.
15968 Store handle and pid in procinfo entry.
15969 (vfork0): Ensure strace message always printed.
15970 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
15971 (vfork): Don't clobber result of vfork0.
15972 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
15973 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
15974
15975 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
15976 and `exit_code'.
15977 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
15978 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
17c0c97d 15979 adding vfork level to pseudo-pid.
8a0efa53
CF
15980 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
15981 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
15982 (_exit): If child, set exit code.
15983 (__vfork_record_death): Only close process handle if valid.
15984 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
15985 didn't exec.
15986 (wait_for_any): Likewise. Start scan after root entry.
15987
15988Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15989
15990 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
15991 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
15992 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
15993 of actual file length.
15994
15995 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
15996 * libc/include/paths.h: _PATH_BSHELL added.
15997 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
15998 and STDERR_FILENO.
15999
16000Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16001
16002 * libc/include/ar.h: Added.
16003 * libc/include/sys/types.h: ino_t goes back to 32-bits.
16004 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
16005 * libc/sys/win32/syscalls.c (_open): compute .namehash based
16006 on filename.
16007 (_fstat): use .namehash for inode number of the fd.
16008
16009Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
16010
16011 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
16012 Change hinfo to __this_procinfo.
16013 * libc/sys/win32/crt0.c: Remove procinfo_list.
16014
16015Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16016
16017 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
16018 win32 environment.
16019
16020Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16021
16022 * libc/sys/win32/include/grp.h: Removed.
16023 * libc/sys/include/grp.h: Added.
16024 * libc/sys/win32/grp.c: Include <grp.h>.
16025
16026Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
16027
16028 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
16029 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
16030 Defined for all but strict ANSI.
16031 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
16032 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
16033 * libc/signal/signal.c (_signal_r): Changed from using
17c0c97d 16034 _MAX_SIGNALS to NSIG.
8a0efa53
CF
16035 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
16036 __hmap): Deleted.
16037 (__strace, __vfork_next_pid): New.
16038 (__exe_suffix): Default to 1.
16039 (passover, table): Understand quoted arguments.
16040 (vfork_init_first): New.
16041 (vfork_init): Initialize new process structure.
16042 (mainCRTStartup): Pass environ to main.
16043 * exceptions.c (__sig_mask): New
16044 (ehandler3): Ignore signals in mask.
16045 (really_exit): Remove CHILD_P test.
16046 * pipe.c (pipe, dup, dup2): Use new process and file structure.
16047 * resource.c (getrusage): Ditto.
16048 * signal.c (sigprocmask): New.
16049 * spawn.c (*): Rewritten.
16050 * syscalls.c (*): Use new process and file structure.
16051 (find_unused_handle): New.
16052 * syscalls.h (MAX_HANDLES): Deleted.
16053 (hinfo): Removed child_created_p.
16054 (MAX_CHILDREN): Deleted.
16055 (vfork_jmp_info, procinfo): New.
16056 * wait.c (*): Mostly new.
16057 * sys/strace.h (_STRACE_PARANOID): New.
16058 * sys/param.h: New file.
16059
16060Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16061
ba3ccd63
EB
16062 * libc/include/sys/stat.h: add S_BLKSIZE.
16063 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
16064 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
16065 types under win32.
16066 (mode_t): add a #else to avoid multiple definitons.
8a0efa53 16067
ba3ccd63
EB
16068 * libc/sys/win32/Makefile.in: add grp.c.
16069 * libc/sys/win32/grp.c: include grp.h correctly.
16070 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
16071 of the st structure with real information.
16072 * libc/sys/win32 (dirent): d_ino is of type ino_t.
8a0efa53
CF
16073
16074Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
16075
16076 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
16077 and (maybe) sparc64.
16078 (nlink_t): Provide typedef.
16079
16080Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16081
16082 * libc/sys/win32/grp.c: New file.
16083 * libc/sys/win32/include/grp.h: New file.
16084
16085Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16086
16087 * libc/include/machine/ieeefp.h: Added whitespace to make this
16088 file easier to maintain.
16089 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
16090 depending on the value of __LITTLE_ENDIAN__.
16091 On the sh3e, define _DOUBLE_IS_32BITS.
17c0c97d 16092
8a0efa53
CF
16093Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
16094
16095 * libc/sys/vr4300/syscalls.c: Added missing support
17c0c97d 16096 routines. _raise() and getpid().
8a0efa53
CF
16097
16098Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
16099
16100 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
16101
16102Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
16103
16104 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
ba3ccd63 16105 and VR4300 processor.
8a0efa53
CF
16106 * libc/sys/vr4300: Add directory.
16107 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
17c0c97d 16108 monitor run-time support.
8a0efa53
CF
16109
16110Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16111
16112 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
16113 * libc/stdlib/stdlib.tex: Don't include atol.def.
16114
16115Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16116
16117 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
16118
16119Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
16120
16121 * libc/ctype/Makefile.in: Fill in _to* dependencies.
16122
16123Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
16124
16125 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
16126 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
16127 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
16128 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
16129 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
16130
16131Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16132
16133 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
16134
16135Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16136
16137 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
16138 * libc/stdlib/atoff.c: New file.
16139 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
16140 * libc/stdlib/atoi.c (atol): Removed.
16141 * libc/stdlib/atol.c: Removed duplicate documentation.
16142
16143 * libc/include/ctype.h (_tolower, _toupper): Moved inside
16144 #ifndef _STRICT_ANSI conditional.
16145 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
16146 * libc/ctype/_tolower.c: New file.
16147 * libc/ctype/_toupper.c: New file.
16148 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
16149 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
16150 * libc/ctype/toascii.c (_toascii): Removed.
16151
16152Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
16153
16154 * libc/sys/sparc64/sys/types.h: Deleted.
16155
16156Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16157
16158 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
16159 and recognize Windows_95 systems.
16160
16161Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16162
16163 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
16164 and passed fds should be opened in text mode.
16165
16166Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16167
16168 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
16169 in __hmap, set to binary mode by default.
16170
16171Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16172
16173 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
16174 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
16175 vector 34.
16176
16177Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
16178
16179 * Makefile.in (install): Install all libraries found in the
16180 top level. If there's a sys/<type>/include directory,
16181 install those headers into include.
16182
16183 * libc/sys/win32/kernel.def351: Delete
16184 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
16185 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
16186 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
16187 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
16188 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
16189 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
16190 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
16191 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
16192
16193 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
16194 * libc/sys/win32/crt0.c: Force all env names to upper case.
16195 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
16196 * libc/sys/win32/*.c: Headers have moved.
16197 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
16198 __vfork_child_idx is now __vfork_child_ptr.
16199
16200 * posix/execvp (execvp): Don't crash if no PATH envname.
16201
16202Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16203
16204 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
16205 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
16206 through the _freelist instead of through the _reclaim list.
16207 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
16208 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
16209 sources.
16210
16211Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16212
16213 * libc/machine/h8500/setjmp.S: New file.
16214 * libc/include/machine/setjmp.h: Updated for H8/500.
16215
16216Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
16217
16218 * libc/sys/win32/syscalls.c (_open): More stracing.
16219 (_stat): Open the file in O_BINARY.
16220
16221Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16222
16223 * libc/machine/h8300/setjmp.S: New file.
16224 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
16225
16226Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
16227
16228 * libc/sys/win32/crt0.c (__exe_suffix): New global.
16229 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
16230 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
16231 __exe_suffix. Free fd_tab after setting env variable.
16232 (spawnv,_execve): Update.
16233 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
16234 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
16235 (__small_vfprintf): New function.
16236 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
16237 * libc/sys/win32/wait.c (cwait): Validate argument.
16238
16239 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
16240 (process_deletion_queue): Likewise.
16241
16242 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
16243
16244Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
16245
16246 * libc/sys/win32: Copyrights and gratuitous indenting.
16247
16248Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
16249
16250 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
16251 (process_deletion_queue): Likewise.
16252 (__close_all_files): New function.
16253 (_close): Only queue file deletion if really a file.
16254 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
16255 _P_APPEND_EXE.
16256 (_exit): Call __close_all_files.
16257
16258 * libc/stdlib/system.c: #include <errno.h>.
16259 (_system_r): Fix results in -DNO_EXEC case.
16260
16261 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
16262 Reorganize structure.
16263 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
16264 if argument is valid. Save directory name in DIR. malloc space
16265 for dirent struct separately.
16266 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
16267
16268 * libc/include/errno.h (ENAMETOOLONG): Define.
16269 * libc/string/strerror.c (strerror): Reword ENFILE.
16270 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
16271
16272Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
16273
16274 * libc/sys/win32/crt0.c (__progname): New global.
16275 (mainCRTStartup): Support strace=bitmask,filename.
16276 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
16277 * libc/sys/win32/syscalls.c (_write): Print parent trace message
16278 if error.
16279 (getcwd): Handle len too small. Convert '\\' to '/'.
16280 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
16281 Add prototypes for open, creat, fcntl.
16282 (O_APPEND): Change value to conform to Microsoft's value.
16283 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
16284
16285 * libc/stdlib/getopt.c: New file.
16286 * libc/stdlib/Makefile.in: Build it.
16287
16288Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
16289
16290 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
16291 Fix scanning of $PATH.
16292 * libc/posix/exec*.c: Call _execve, not execve.
16293 * libc/posix/execve.c: New file.
16294 * libc/posix/Makefile.in (OFILES): Add execve.o.
16295
16296 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
16297 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
16298 (_STRACE): If level==0, always print. Handle new bit mask scheme.
16299 * libc/sys/win32/crt0.c: Update _STRACE calls.
16300 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
16301
16302 * libc/sys/win32/smallprint.c (rn): Fix digit list.
16303
16304 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
16305 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
16306 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
16307 Print __seterrno trace message first.
16308 (_execve): Renamed from execve.
16309 (vfork): Update __strace usage.
16310 (__vfork_child_pid): Deleted.
16311 (__vfork_children, __vfork_child_idx): New globals.
16312 (_spawnvp): New function.
16313 (spawnvp, spawnv, _execve): Call _spawnvp.
16314 (init_child): Record child in __vfork_children.
16315 (__vfork_get_entry, __vfork_record_death): New functions.
16316 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
16317 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
16318 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
16319 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
16320 (children): New typedef.
16321 (__vfork_children,__vfork_child_idx): Declare.
16322 (__vfork_get_entry,__vfork_record_death): Declare.
16323 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
16324 (waitpid): Handle pid == -1.
16325 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
16326 * configure.in (i386-win32): Add -DNO_FORK.
16327 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
16328 * libc/reent/execr.c (_fork_r): Likewise.
16329 * libc/stdlib/system.c (do_system): New function.
16330 If WIN32, try to get shell path from $SH_PATH, use vfork.
16331 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
16332 otherwise return 0.
16333
16334Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
16335
16336 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
16337 * libc/sys/win32/fcntl.h: Don't include self.
16338 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
16339 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
16340 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
16341 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
16342 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
16343 Correct prototypes.
16344 * libc/sys/win32/strace.c: New file.
16345 * libc/sys/win32/smallprint.c: New file.
16346 * libc/sys/win32/crt0.c (func): Delete.
16347 (mainCRTStartup): Fix alloca usage. Set handles explictly.
16348 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
16349 * libc/sys/win32/exceptions.c: Lint.
16350 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
16351 Clean up handle usage.
16352 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
16353 (open.c): Default file type is text.
16354 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
17c0c97d 16355 * libc/sys/win32/advapi32.def: New
8a0efa53
CF
16356
16357Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
16358
16359 * configure.in (posix_dir, libc_posix_lib): New variables.
16360 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
16361 (i[345]86-*-win32): Define posix_dir.
16362 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
16363 (if unix_dir): Fix typo.
16364 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
16365 scandir,seekdir,telldir}: New files.
16366 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
16367 from libc/unix.
16368 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
16369 (SUBDIRS): Add posix.
16370 (SUBLIBS): Add $(LIBC_POSIX_LIB).
16371
16372 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
16373 (NSIG): Increase to 21.
16374 * libc/include/sys/unistd.h (pid_t): Move from here,
16375 * libc/include/sys/types.h (pid_t): to here.
16376
16377 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
16378 (__ptrace): Delete.
16379 (hinfo): New members close_exec_p, child_created_p.
16380 (struct exception_list): Define.
16381 (__hmap): Redefine as pointer to table.
16382 (__parent_hmap, __child_hmap): New globals.
16383 (__set_errno, __really_exit): Declare.
16384 (__vfork_child_pid): Declare.
16385 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
16386 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
16387 (__parent_hmap, __child_hmap): New globals.
16388 (__hmap): Redefine as pointer to active map.
16389 (__get_console): New function.
16390 (mainCRTStartup): Change leading '=' in environ vars to '!'.
16391 (env __FD_TABLE__): Watch for this and initialize our fd/handle
16392 mapping table from it if defined.
16393 (argv, envp): Dump if __strace >= 4.
16394 (main): Call here.
16395 * libc/sys/win32/exceptions.c (myp): Redefine.
16396 (__syscalls_b): Delete.
16397 (__stack_trace): New function.
16398 (ehandler3): Update to use _STRACE. Print stack trace.
16399 Call __really_exit instead of exit.
16400 (init_exceptions): Delete args argc,argv. New arg mine.
16401 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
16402 FindFirstFileA, FindNextFileA, GetComputerNameA,
16403 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
16404 * libc/sys/win32/signal.c (signal): Validate arg.
16405 (alarm, sleep): Define as stubs for now.
16406 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
16407 (__syscalls_b, errno): Delete.
16408 (__vfork_child_pid, __vfork_jmp_buf): New globals.
16409 (__seterrno): Handle more errors.
16410 (__sys_printf): Renamed from _ptrace.
16411 (__really_exit): New function.
16412 (queue_file_deletion, process_deletion_queue): New functions.
16413 (__resume_parent): New function.
16414 (_unlink): Handle trying to delete open file.
16415 (__totime_t): Renamed from totime_t.
16416 (setsid, __read, __write): New functions.
16417 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
16418 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
16419 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
16420 * libc/sys/win32/console.c: Update to new definition of __hmap.
16421 * libc/sys/win32/Makefile.in: Build new files.
16422 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
16423 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
16424 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
16425 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
16426
16427Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
16428
16429 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
16430
16431Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16432
16433 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
16434 have been made to the master dtoa.c sources (from netlib.att.com)
16435 since they were integrated into newlib in early 1992. Fixes
16436 problems with storage leaks and handling of numbers with very
16437 negative exponents.
17c0c97d 16438
8a0efa53
CF
16439Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16440
16441 * Makefile.in (all): set rootpre and srcrootpre before calling
16442 sub-makes.
16443
16444Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
16445
16446 * libc/sys/win32/crt0.c: Change __hmap usage.
16447 * libc/sys/win32/exceptions.c: Use _ptrace call.
16448 * libc/sys/win32/syscalls.c: Use _ptrace call.
16449 (read, write): Cope with DOS style CRLF when in TEXT mode.
16450 * libc/sys/win32/syscalls.h: Declare hinfo struct.
16451 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
16452 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
16453 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
16454 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
16455
16456Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16457
16458 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
16459
16460 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
16461 wrappers for hypot() and remainder() for BSD libm compatibility.
16462 These are public domain implementations written by me for the
16463 NetBSD libm some time ago. Note cabs() is required by ucbtest.
16464 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
16465 (fobj): Added wf_cabs.o and wf_drem.o.
16466
16467Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16468
16469 * libc/sys/h8500hms/misc.c: New file.
16470 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
16471
16472Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16473
16474 * libc/time/localtime.c (localtime): Fix problem with leap year
16475 handling. Stole algorithm from Arthur David Olson's tz code.
17c0c97d 16476
8a0efa53
CF
16477Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
16478
16479 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
16480
16481 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
16482 (_exit): Use argument.
16483
16484Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
16485
16486 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
16487
16488Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
16489
16490 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
16491
16492Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16493
16494 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
16495 target_cflags.
16496
16497Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
16498
16499 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
16500 ptrace with case insensitivity
16501 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
17c0c97d 16502 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
8a0efa53
CF
16503 New files.
16504
16505Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
16506
16507 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
16508 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
16509 (all, install, *clean): Use new multilib support.
16510 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
16511
16512Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
16513
16514 * libc/include/sys/signal.h (__WIN32__): New.
16515
16516 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
16517
16518 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
16519 (ulp, b2d): Handle 32 bit doubles.
16520 * libc/stdlib/mprec.h: Handle 32 bit doubles.
16521 * libc/stdlib/strtod.c (_strtod_r): Ditto.
16522
16523Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
16524
16525 from medp@primag.co.uk:
16526 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
16527 dynamically allocated buffers.
16528
16529Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
16530
16531 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
16532 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
16533
16534Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16535
16536 * configure.in (powerpc): Fix previous fix.
16537
16538Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16539
16540 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
16541 directories for this target.
16542
16543Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
16544
16545 * configure.in (hppa): Add machine_dir definition.
16546 * libc/machine/hppa: New directory with PA specific implementations
16547 of the basic memory/string functions.
16548
16549Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16550
16551 * configure.in: Update current PowerPC multilib directories.
16552 Split big and little endian configurations.
16553
16554Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
16555
16556 * configure.in: Add --enable-single-float option to configure to
16557 control use of MIPS single-float directories. Default to yes.
16558
16559 * Makefile.in (all): Don't recurse into multilib directory if it
16560 does not exist.
16561
16562Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16563
16564 * libc/sys/sh/syscalls.c: Fix typo.
16565
16566Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
16567
16568 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
16569 Pass down DLLTOOL.
16570 * libc/include/process.h: Define WAIT_CHILD.
16571 * libc/include/types.h: Get sizes right for win32.
16572 * configure.in (i386-*-pe): Becomes i386-win32.
16573 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
16574 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
16575 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
16576 is defined.
16577
16578Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
16579
16580 * configure.in (i[345]86-*-pe): New target (NT).
16581 * host/any: DLLTOOL new.
16582 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
16583 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
16584 WIN32 (just enough to cross host the comp-tools).
16585
16586Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
16587
16588 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
16589 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
16590
16591Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
16592
16593 * libc/include/machine/ieeefp.h (arm): Change to always be
16594 __IEEE_BIG_ENDIAN (even on little endian ARM's).
16595
16596Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
16597
16598 * libc/sys/crt0.S: Initialze sp, and call exit after main.
16599 * libc/sys/syscalls.c (abort): New.
16600 * configure.in (arm): Define ABORT_PROVIDED.
16601
16602Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16603
16604 * configure.in (powerpc): Define multidirs.
16605
16606Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
16607
16608 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
16609
16610Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
16611
16612 * configure.in (sparclite): Delete target_cflags. Define multidirs.
16613
16614Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
16615
16616 * configure.in, libc/include/machine/ieeefp.h: Modified
16617 for arm:
16618 libc/machine/arm/*, libc/sys/arm/*: New
16619
16620Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16621
16622 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
16623 __powerpc__ when determining endianness.
16624
16625Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16626
16627 * configure.in (m68*): Add multidir for the m68332.
16628
16629 * host/any (CC): Fix typo in last change.
16630
16631Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
16632
16633 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
16634 when determining endianness.
16635 * libc/include/machine/ieeefp.h: Ditto.
16636 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
16637 operands.
16638
16639Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
16640
16641 * libc/include/errno.h (ENOTEMPTY): Define.
16642
16643Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16644
16645 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
16646 target_cflags.
16647
16648 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
16649 and umultiply.o.
16650
16651 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
16652 instead of only when open succeeds. ANSI requires that multiple
16653 calls to tmpnam() result in different files.
16654
16655 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
16656 objects pulled in from /lib/libc.a that must be renamed before
16657 being pulled into newlib. /lib/libc.a's div.o conflicted with
16658 newlib's file with the same name.
16659
16660 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
16661
16662 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
16663 the build tree will only be used if the executables are present
16664 (instead of just the Makefiles).
16665
16666 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
16667 wcstombs): Define.
16668 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
16669 versions of these functions that I orignally wrote for the
16670 NetBSD C library.
16671 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
16672 versions I wrote for NetBSD.
16673
16674Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
16675
16676 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
16677 * libc/sys/sparclite/crt0.s: ditto.
16678
16679Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
16680
16681 * configure.in: Add soft-float for proelf.
16682
16683Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
16684
16685 * libc/stdlib/mprec.h (Bcopy): Copy the right number
16686 of bytes.
16687
16688Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
16689
16690 * Makefile.in (all): Depend on `force'.
16691 * configure.in (syscall_dir): Renamed from fake_sys_dir.
16692 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
16693 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
16694 * libc/Makefile.in: Likewise.
16695 * libc/include/reent.h: Update syscall references.
16696 (_fcntl_r): Add prototype.
16697 * libc/syscalls/*.c #include <reent.h>.
16698 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
16699
16700Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
16701
16702 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
16703 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
16704 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
16705 (time.h, sys/types.h): Always include (even if MSDOS).
16706 (stat): Fix prototype.
16707
16708Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
16709
16710 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
16711
16712Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
16713
16714 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
16715
16716Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
16717
16718 * libc/include/regdef.h: New file.
16719 * libc/machine/mips/machine/regdef.h: New file.
16720
16721Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
16722
16723 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
16724
16725Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
16726
16727 * libc/sys/sh/crt0.S: Pass main's return to exit.
16728 * libc/sys/sh/trap.S: Put errno in the right place.
16729
16730Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
16731
16732 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
16733 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
16734 * libm/math/ef_rem_pio2.c: Likewise.
16735 * libm/math/e_log10.c: Remove unused static one.
16736 * libm/math/ef_log10.c: Likewise.
16737 * libm/math/s_frexp.c: Likewise.
16738 * libm/math/sf_frexp.c: Likewise.
16739
16740Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
16741
16742 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
16743 longjmp.S: Upgraded.
16744 * libc/sys/go32/sys/setjmp.h: Upgraded.
16745 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
16746
16747Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
16748
16749 * configure.in: Add many entries to multidirs for mips targets.
16750
16751Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16752
16753 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
16754 5.2 which fixes bug where jn(-1,x) is three times larger than
16755 the actual answer.
16756 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
16757
16758Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
16759
16760 * libc/sys/w65/sys/syscalls.h: New file
16761 * libc/include/machine/ieeefp.h: W65 support.
16762 * libc/include/sys/config.h: Ditto.
16763 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
16764 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
16765 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
16766
16767Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
16768
16769 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
16770
16771Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
16772
16773 * Makefile.in, configure.in: Remove any references to the old
16774 "stub" dir.
16775
16776Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
16777
16778 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
16779 uses ... in prototype.
16780
16781
16782Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
16783
16784 * libc/sys/a29khif/sys/libconfig.h: Remove.
16785 * libc/sys/go32/sys/libconfig.h: Remove.
16786 * libc/sys/sun4/sys/libconfig.h: Remove.
16787 * libc/sys/sysvi386/sys/libconfig.h: Remove.
16788 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
16789 * libc/sys/sparc64/sys/libconfig.h: Remove.
16790
16791 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
16792 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
16793 * libc/include/math.h: Change all uses of _FLOAT_RET and
16794 _FLOAT_ARG to float.
16795 * libm/test/math.c: Likewise.
16796 * testsuite/libm.sac/math.c: Likewise.
16797 * testsuite/libm.sac/working/math.c: Likewise.
16798
16799Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
16800
16801 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
16802 gcc calls gas with endian option.
16803 * configure.in (sh): Build little endian version too.
16804
16805Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
16806
16807 * configure.in: Configure big and little endian versions for MIPS
16808 targets.
16809
16810Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
16811
16812 * libc/include/limits.h: Deleted.
16813 * libc/include/machine/limits.h: Deleted.
16814
16815Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
16816
16817 * ChangeLog: Remove stub directory. This has all been rewritten
16818 and moved to devo/libgloss.
16819
16820Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
16821
16822 * Makefile.in (dvi): Add to info target, use $@ in sub make.
16823 (docs): Merge into info target.
16824 * libm/Makefile.in (dvi): Add $(srcdir).
16825 * libm/math/Makefile.in (chobjs): Remove underscores from file
16826 names. Texinfo doesn't like them.
16827 (wacos.def, ...): Add explicit targets for all .def files.
16828 * libm/math/math.tex: Remove underscores from @include file names.
16829 * doc/Makefile.in (dvi): Add dummy target.
16830 * testsuite/Makefile.in (dvi): Add dummy target.
16831
16832Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
16833
16834 * Makefile.in (VERSION): Define. For net newlib releases.
16835
16836Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
16837
16838 * README: New file.
16839
16840Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
16841
16842 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
16843
16844Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16845
16846 * libc/stdlib/setenv.c (_findenv): Declare.
16847
16848 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
16849 fcntl to not use _EXFUN, and change string parameters to open and
16850 creat to be ``const char *''.
16851 * libc/sys/sparc64/sys/fcntl.h: Likewise.
16852 * libc/sys/sparc64/creat.c (creat): Make PATH const.
16853 * libc/syscalls/sysopen.c: Include <fcntl.h>.
16854 (open) Make _FILE const.
16855 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
16856 (_creat): Make PATH const.
16857 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
16858 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
16859 * libc/sys/m88kbug/syscalls.c (open): Likewise.
16860 * libc/sys/sh/syscalls.c (_open): Likewise.
16861 * stub/shared/glue.c (open): Make BUF const.
16862 * stub/ex93x/syscalls.c (open): Make FILENAME const.
16863
16864Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
16865
16866 * libc/include/errno.h: Add ENMFILE
16867 * libc/include/sys/config.h: Support Z8000.
16868 * libc/include/sys/signal.h: New signals for go32.
16869 * libc/machine/h8500/psi.S (__addpsir0r0): New function
16870 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
16871 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
16872 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
16873 size is variable, depending upon CHUNK_POWER.
16874 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
16875
16876Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
16877
16878 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
16879
16880Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16881
16882 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
16883
16884Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16885
16886 * configure.in: Change i[34]86 to i[345]86.
16887
16888 * libc/include/math.h: Don't define HUGE_VAL if it is already
16889 defined.
16890
16891Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16892
16893 * testsuite/libm.sac/test_erfc.c: Correct some result values.
16894 * testsuite/libm.sac/test_gammaf.c: Likewise.
16895 * testsuite/libm.sac/test_sin.c: Likewise.
16896 * testsuite/libm.sac/test_tanh.c: Likewise.
16897
16898Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16899
16900 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
16901 already set. Define typedefs __int32_t and __uint32_t.
16902 * libc/include/math.h: Include <machine/ieeefp.h>.
16903 (union __dmath): Use __uint32_t.
16904 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
16905 instead of int and unsigned int.
16906
16907Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16908
16909 Replace the math library with the SunPRO fdlibm package.
16910 * libm/math: Completely changed all files.
16911 * libm/ieeefp: Remove contents and directory.
16912 * libm/Makefile.in (LIBM_FP_LIB): Remove.
16913 (SUBDIRS): Just set to math/lib.a.
16914 * libm/libm.texinfo: Updated for new library.
16915 * libc/include/math.h: Extensive changes for new math library.
16916 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
16917 from _FLOAT_ARG to float.
16918 (maxpowtwo, maxpowtwof): Don't declare.
16919 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
16920 (libm_fp_lib): Removed.
16921 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
16922 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
16923 argument to ${RUNTEST}.
16924 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
16925 (.c.o): New rule.
16926 (RUNTESTFLAGS): Set CC and CFLAGS.
16927 (TESTS): Remove test_log2 and test_log2f.
16928 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
16929 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
16930 _FLOAT_ARG, for single precision argument type.
16931 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
16932 expected failure. Close the input pipe.
16933 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
16934 Correct misspelling of inaccurate.
16935 (test_mok): Use ``inaccurate'', not ``wrong''.
16936 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
16937 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
16938 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
16939 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
16940 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
16941 test_yn.c): Correct many result values. Many are still wrong.
16942
16943 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
16944 just copy the string.
16945 (_gcvt): Always return the buffer.
16946
16947Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
16948
16949 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
16950
16951Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
16952
16953 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
16954 structure.
16955 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
16956 (_reclaim_reent): declare new entry point.
16957 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
16958 functions.
16959
16960 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
16961 ever allocated, so that we can later reclaim them all.
16962 (pow5mult): make reentrant.
16963
16964 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
16965 so that when given NULL as a buffer, return a pointer to static
16966 space in the rent structure. This is not documented behaviour;
16967 it's only to support ecvt and fcvt, which aren't ANSI anyway.
16968 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
16969 therefore become reentrant).
17c0c97d 16970
8a0efa53
CF
16971 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
16972
16973Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16974
16975 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
16976
16977Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
16978
16979 * Makefile.in: Make link to libg.a after libc.a; this is needed
16980 for the testsuites to build executables when everything comes
16981 from the tree.
16982
16983Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
16984
16985 * libc/Makefile.in: Add a VERSION variable so we can keep track.
16986 * libm/Makefile.in: Add a VERSION variable so we can keep track.
16987
16988Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16989
16990 * libc/include/stdio.h: Use __VALIST, not va_list.
16991
16992Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
16993
16994 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
16995 testsuite/libm.sac/execute.exp:
16996 Replace error proc calls with perror calls.
16997
16998Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
16999
17000 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
17001 * libc/include/time.h: #define NULL as 0L.
17002
17003Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
17004
17005 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
17006 care of it.
17007
17008Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17009
17010 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
17011 not __unix__.
17012
17013Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
17014
17015 * configure.in (TARGET_CFLAGS): Set -O2 as default.
17016 (z8k-*-*): Use syscalls fake sys dir.
17017 * libc/sys/z8k/glue.c: Rename syscalls.
17018 * libc/sys/go32/Makefile.in: Use new routines.
17019 * libc/machine/Makefile.in: Fix typo in ln stuff.
17020
17021Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17022
17023 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
17024 * libc/Makefile.in (crt0.o): Likewise.
17025 * libc/machine/Makefile.in (lib.a): Likewise.
17026 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
17027
17028 All Makefile.in files: Added mostlyclean, realclean and distclean
17029 targets.
17030
17031 * Makefile.in: Don't bother to unexport XTRAFLAGS or
17032 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
17033 the top level Makefile.
17034
17035Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
17036
17037 * libc/sys/sparc64/sys/stat.h: New file.
17038 * libc/sys/sparc64/sys/time.h: New file.
17039 * libc/sys/sparc64/sys/types.h: New file.
17040
17041Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
17042
17043 * stub/ex93x/crt0.s (start): Add code to clear bss.
17044
17045Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
17046
17047 * libc/include/sys/types.h (time_t): Properly protect inside
17048 #ifndef __time_t_defined.
17049
17050 * libc/stdio/fileno.c: New file.
17051 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
17052 (fileno.o): Add dependency.
17053 * libc/include/stdio.h (__sgetc): Rename never to _never.
17054 (fileno macro): Disable, needs to do CHECK_INIT first.
17055
17056Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
17057
17058 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
ba3ccd63 17059 goal.
8a0efa53
CF
17060
17061 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
17062 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
17063 runtest.
17064 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
17065 runtest.
17066
17067Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
17068
17069 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
17070 of the various constants.
17071
17072Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
17073
17074 * libc/include/math.h: #ifndef __math_68881 around things which
17075 conflict with the (gcc-provided) inline functions in
17076 gcc/ginclude/math-68881.h.
17077
17078Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
17079
17080 * libc/include/_syslist.h (_gettimeofday): Define.
17081 (_times): Ditto.
17082 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
17083 (struct tms, timeval, timezone): Declare.
17084 (_gettimeofday_r, _times_r): Declare.
17085 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
17086 #ifdef _CLOCK_T_ surrounding definition of clock_t.
17087 (time_t): Add multiple definition protection, __time_t_defined.
17088 * libc/include/sys/time.h: Don't #include <time.h>.
17089 Always define struct timezone (remove #ifndef _TIME_H_).
17090 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
17091 #ifdef _CLOCK_T_ surrounding definition of clock_t.
17092 * libc/reent/Makefile.in (OFILES): Add timer.o.
17093 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
17094 * libc/reent/timer.c: New file.
17095 * libc/time/clock.c: #include <reent.h>.
17096 (clock): Call _times_r instead of times.
17097 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
17098 HAVE_GET_TIME_OF_DAY.
17099 Add comment regarding supporting OS routine(s) required (for docs).
17100 #include <reent.h>.
17101 (time): Call _gettimeofday_r instead of gettimeofday.
17102 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
17103 * libc/time/ctime.c: Ditto.
17104 * libc/time/strftime.c: Ditto.
17105 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
17106 (TEMPLATE_SFILES_R): Define here. Also define times.
17107 Add times_r.o/times.S dependence.
17108 (time2.c, junk.c): Deleted.
17109 * libc/sys/sparc64/time2.c: Deleted.
17110 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
17111
17112 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
17113 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
17114 * libc/sys/sparc64/junk.c: Deleted.
17115
17116Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
17117
17118 * libc/sys/sparc64/Makefile.in: Add times syscall.
17119 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
17120 be used with and without it. Add comment clarifying Medium/Anywhere
17121 model requirements.
17122 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
17123 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
17124 even if obsolete.
17125
17126Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
17127
17128 * configure.in (target_cflags): Move init.
17129 (sparc64-*-*): Define HAVE_BLKSIZE.
17130
17131Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
17132
17133 * libc/include/sys/_types.h: New file.
17134 * libc/include/reent.h: #include it.
17135 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
17136 MISSING_SYSCALL_NAMES.
17137 Sort syscalls.
17138 * libc/include/_syslist.h: Remove _raise.
17139 * libc/reent/signalr.c: New file.
17140 * libc/reent/Makefile.in: Compile it.
17141 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
17142 Add doc for raise and _raise_r.
17143 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
17144 (raise): Call _raise_r.
17145 (_raise_r): Call _getpid_r and _kill_r.
17146 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
17147 (abort): Loop forever calling raise and _exit.
17148
17149Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17150
17151 * configure.in: Remove extraneous echo.
17152
17153Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
17154
17155 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
17156 collision with unistd.h, and fix for svr4.
17157
17158Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
17159
17160 * libc/stdio/local.h (_llicvt): Declare.
17161 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
17162 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
17163 (_llicvt): Define.
17164 (_sicvt): Fix function header (`value' is short).
17165 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
17166 Add printing of long long's support.
17167 Add printing of 8 byte pointer support.
17168
17169Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
17170
17171 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
17c0c97d 17172 stat, chmod): New hooks.
8a0efa53
CF
17173 (sbrk): Abort if stack and heap collide.
17174 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
17175 shortcut when given small args.
17176 * libc/machine/sh/setjmp.s: Rewritten.
17177 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
17178 of cmp/str instruction.
17179
17180Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17181
17182 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
17183 and machine_dir powerpc.
17184 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
17185 Add cases for __powerpc__.
17186 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
17187 New files.
17188
17189 * libc/include/stdio.h (_iprintf_r): Declare correctly.
17190
17191Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
17192
17193 * libc/stdlib/callocr.c: New file with _calloc_r in it.
17194 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
17195
17196Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
17197
17198 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
17199 (print_e): More comments to describe args, etc.
17200 "type" arg may now be 'g' or 'G' for %g/G format --> remove
17201 trailing blanks.
17202 (_gcvt): Remove locals decpt, sign, end, p, done.
17203 More comments for print_e invocation.
17204 Pass "type" to print_e as is (g/G).
17205
17206Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
17207
17208 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
17c0c97d 17209 stock m68000.
8a0efa53
CF
17210
17211Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
17212
17213 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
17214 works with any sized pointer, including ones bigger than ints and
17215 longs.
17216
17217Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
17218
17219 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
17220
17221Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17222
17223 * libc/include/stdlib.h (_calloc_r): Add prototype.
17224 * libc/machine/h8500/negsi2.c: New file.
17225 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
17226 large unsigned numbers.
17227 * libc/machine/h8500/cmpsi.c: Add cmppsi.
17228 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
17229 works when sizeof(size_t) != sizeof(char *).
17230 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
17231 get play area
17232 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
17233
17234Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
17235
17236 * libc/include/assert.h (assert): Handle -traditional.
17237
17238Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
17239
17240 * Makefile.in: added ; after every "fi" and "done" that wasn't at
17241 the end of a line (ie. anything before a backslash continuation)
17242 so that bash handles them.
17243
17244Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
17245
17246 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
ba3ccd63 17247 stat to lstat
8a0efa53
CF
17248
17249Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
17250
17251 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
17252 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
17253 libc/machine/sh/udivsi3.s: Use new calling convention.
17254
17255Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
17256
17257 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
17258 chmod, access, chdir, chown by making _path const. Also fix _amode
17259 param of access.
17260
17261Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
17262
17263 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
17264 _khif_tmpnam, because it doesn't comply with ANSI but may be
17265 useful anyway. Real tmpnam was already in libc/stdio, and was
17c0c97d 17266 colliding with this one (pr 2176.)
8a0efa53
CF
17267 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
17268 the wrong idea anyhow.
17269
17270Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
17271
17272 * configure.in: Remove h8300h, we have multilib now.
17273
17274Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
17275
17276 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
17277 functions, to get preference over the ones in libiberty (since we
17278 provide correct declarations in <string.h>.
17279 * libc/string/Makefile.in: add support for strncasecmp,
17280 strcasecmp.
17281
17282Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
17283
17284 * Change netware config not to look for cpu explicitly.
17285
17286Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
17287
17288 * libc/sys/sparc64/{creat.c,junk.c}: New files.
17289 * libc/sys/sparc64/Makefile.in: Add dependencies.
17290
17291Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
17292
17293 * configure.in: Clean up v9 a bit, new "os" aoutv8.
17294
17295Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
17296
17297 * libc/include/sys/reent.h: make structure smaller by allocating
17298 some stuff when needed.
17299 * libc/signal/signal.c: allocate as needed
17300 * libc/stdio/findfp.c,stdio/local.h: ditto
17301 * libc/stdlib/mprec.c: ditto
17302
17303 * libc/time/localtime.c: don't return a dangling stack ptr.
17304
17305Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
17306
17307 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
17308
17309Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17310
17311 * libc/include/stdio.h (__sputc): comment out static inline which
17312 confuses coff toolchains.
17313
17314Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
17315
17316 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
17317 _write.s, getpid.c, kill.c, read.s}:
17318 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
17319 through the syscalls directory.
17320
17321Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
17322
17323 * configure.in: fixed double quote gotcha.
17324
17325Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
17326
17327 * stub/ex931: stub library for sparclite board.
17328 * stub/idp: Renamed from mc68ec. Added contructor table
17329 stuff to linker script.
17330 * stub/mvme135: Renamed from m68kmvme. Added contructor table
17331 stuff to linker script.
17332
17333Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17334
17335 * configure.in: Configure testsuites only if they exist.
17336
17337Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17338
17339 * configure.in: Don't set machine_dir for i386 until there is
17340 something in libc/machine/i386 to compile. For i[34]86-*-netware*
17341 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
17342 CLOCK_PROVIDED and MALLOC_PROVIDED.
17343
17344 * libc/sys/netware: New directory. Contains simplistic and
17345 probably incorrect stubs for NetWare. Should be enough to load
17346 the library.
17347 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
17348 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
17349 stub files.
17350
17351 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
17352 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
17353 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
17354 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
17355
17356Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
17357
17358 * testsuite/Makefile.in: add "docs" dummy target for consistency
17359 with rest of newlib; turn "info" and "install-info" into dummy
17360 targets, since they wouldn't have worked. (Depended on
17361 nonexistent "doc" subdir.)
17362
17363Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
17364
17365 * configure.in: handle mips* instead of mips
17366
17367Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
17368
17369 * libc/include/sys/dirent.h: New file. If it is not overridden by
17370 a version of libc/sys/*/sys/dirent.h, it includes the next
17371 <dirent.h> file in case there is one lurking somewhere.
17372
17373Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17374
17375 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
17376 compliance, namely: Accept a minus sign. Consider a single 0 with
17377 a radix of 0 as being a conversion. Determine overflow correctly.
17378 If an overflow occurs, set *ptr to the end of the number, not the
17379 middle.
17380 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
17381
17382Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
17383
17384 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
17385
17386Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
17387
17388 * Makefile.in (INSTALL): Use $srcrootpre.
17389 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
17390 can't handle it.
17391 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
17392 it.
17393 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
17394 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
17395 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
17396 * libm/math/Makefile.in (matherr.o): Ditto.
17397
17398Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
17399
17400 * configure.in: Build multidirs for z8k.
17401 * libc/include/stdlib.h (_strtoul_r): add prototype.
17402 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
17403 * libc/include/machine/setjmp.h: Add for z8k.
17404 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
17405 * libc/sys/z8ksim/glue.c: tidy up.
17406
17407Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
17408
17409 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
17410 New files. Requires execve system call.
17411 * libc/unix/Makefile.in: Use them.
17412 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
17413 Deleted, moved to libc/unix.
17414 * libc/sys/sparc64/Makefile.in: Remove them.
17415
17416Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
17417
17418 * libc/sys/sparc64/{template.S template_r.S}: New files.
17419 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
17420 from templates.
17421 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
17422 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
17423 umask.S unlink.S wait4.S write.S}: Removed, now built from
17424 templates.
17425
17426Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
17427
17428 * libc/time/time.c: #include <_ansi.h>.
17429
17430Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
17431
17432 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
17433
17434Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17435
17436 * configure.in: match m8* rather than m88k so that m88110 is
17437 recognized as well.
17438
17439Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
17440
17441 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
17442 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
17443 misc.c: New file.
17444
17445 * configure.in: Add multilib support to h8300.
17446
17447Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
17448
17449 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
17450 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
17451 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
17452
17453Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17454
17455 * configure.in: Corrected multidirs for sparc target.
17456
17457Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17458
17459 Support for building newlib multiple times with different
17460 compilation flags.
17461 * configure.in: Only configure doc at top level. Set multidirs
17462 when appropriate for target, unless not at top level. If
17463 multidirs is set, independently configure each subdirectory.
17464 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
17465 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
17466 automagically set by configure.in.
17467 (all): If MULTIDIRS is set, build multiple copies of libraries.
17468 (install): If MULTIDIRS is set, install multiple copies of
17469 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
17470 MULTISUBDIR is set, don't bother to install header files.
17471 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
17472 ${srcrootpre}.
17473 * stub/configure.in: Set MULTISUBDIR appropriately.
17474 * stub/Makefile.in (install): Install in
17475 $(tooldir)/lib/$(MULTISUBDIR).
17476 * All Makefile.in files: Define SRCTOP as well as TOP.
17477
17478Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
17479
17480 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
17481 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
17482
17483Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
17484
17485 * libc/sys/h8300hms/exit.c (_exit): New function.
17486
17487Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17488
17489 * configure.in: recognize m88110.
17490
17491Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17492
17493 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
17494 prototype main and call with args.
17495
17496Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
17497
17498 First real try at system traps for m88k-bug.
17499 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
17500 to real trap calls.
17501 * libc/sys/m88kbug/sys/systraps.h: new file.
17502
17503Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17504
17505 Patches to fix info building when target does not use sys
17506 directory.
17507 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
17508 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
17509 libc/sys.tex.
17510 * libc/sys/Makefile.in (doc): do nothing.
17511
17512Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17513
17514 * libc/Makefile.in (CRT0): new macro.
17515 (all): depend on $(CRT0) rather than crt0.o.
17516
17517 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
17518 do not default crt0, instead, set crt0 and crt0_dir based on
17519 sys_dir and stub_dir.
17520
17521 * Makefile.in (CRT0_DIR): new macro.
17522 (all): depend on $(CRT0) rather than crt0.o which may not exist.
17523 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
17524 $(CRT0).
17525 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
17526
17527Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17528
17c0c97d
EB
17529 * testsuite/lib/libm.exp:
17530 added code to support compiling and linking of tests for
17531 libm.sac (paranoia to be added next) and processing the
8a0efa53
CF
17532 pass or failure of the tests.
17533
17534 * testsuite/config/unix-libm.exp:
17535 platform specific proc's for dealing with compiler, linker
17536 and the way we execute and process the test results.
17537
17538 * testsuite/libm.sac/execute.exp:
17c0c97d 17539 generic framework for the sac tests. the config and lib
8a0efa53
CF
17540 expect code for specific platforms tie it all together.
17541
17542 * testsuite/libm.sac/test_is.c:
17543 changed the output of the test to be consistant with the
17544 other tests. parsing of pass nad fail messages is now fixed.
17545
17546Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
17547
17548 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
17549 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
17550 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
17551 #ifdef __cplusplus, surround by extern ""C { ... }.
17552 * libc/include/assert.h: Do *not* protect assert.h against
17553 multiple inclusion! Also, #undef it before #define, to allow
17554 redefinition.
17555 * libc/include/stdio.h (getlogin, cuserid): Removed. These
17556 should be only in unistd.h.
17557
17558 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
17559 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
17560 ... }.
17561
17562Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
17563
17564 * libc/machine/sparc/Makefile.in: Must create a library, even
17565 if empty.
17566
17567Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17568
17569 * configure.in: set machine_dir for m88k. edit crt0 definition
17570 into makefiles.
17571
17572 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
17573
17574 * libc/Makefile.in (all): also build crt0.o.
17575
17576 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
17577 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
17578 to remove CRT0.
17579
17580 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
17581 (all): reworked to build in place.
17582 (clean): remove lib.a
17583 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
17584
17585 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
17586 (_start): key off edata rather than _start_bss.
17587
17588Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
17589
17590 * libc/include/sys/unistd.h, libc/include/reent.h,
17591 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
17592
17593Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17594
17595 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
17596
17597 * Makefile.in (libc.a): break into two rules, one for libc.a and
17598 one for libc/libc.a. Force subdirs current before rebuilding
17599 library.
17600 (libm.a): break into two rules, one for libm.a and one for
17601 libm/libm.a. Force subdirs current before rebuilding library.
17602
17603 * libc/Makefile.in (SUBLIBS): fix typo.
17604
17605 * libc/sys/Makefile.in (all): force descent into subdirs, then
17606 rebuild library iff out of of date.
17607
17608Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17609
17610 Rework so that library is built and then finished rather than
17611 being built on each invocation of make.
17612
17613 * host/any (machine_dir, sys_dir, signal_dir): these are not
17614 shared and have been moved to their associated Makefile.in's.
17615 (AR_FLAGS): switch to qc which is faster.
17616 * configure.in: no longer assign machine_dir for m88k. set
17617 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
17618 stub_dir set, then add to configdirs. add comment about silly
17619 configuration.
17620 (configdirs): drop stub. It will be added only
17621 when needed.
17622 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
17623 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
17624 stub_lib, crt0): new variables for tailoring lower level
17625 makefiles. Assign accordingly and edit into makefiles.
17626 * libm/Makefile.in: updated copyright.
17627 (TARGETLIB): removed.
17628 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
17629 (SUBDIRS): removed TARGETDEP_DIRS.
17630 (LIBM_FP_LIB, SUBLIBS): new macros.
17631 (all): reworked.
17632 (force): new target to force rebuilds.
17633 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17634 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
17635 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
17636 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
17637 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
17638 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
17639 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
17640 stub/m68kmvme/Makefile.in: updated copyright.
17641 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
17642 (all): reworked. made this the default rule.
17643 (clean): also remove lib.a.
17644 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17645 * stub/Makefile.in: updated copyright.
17646 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
17647 (stub_lib): new macro.
17648 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
17649 RANLIB.
17650 (all): reworked.
17651 (clean, install): assume stub_dir exists.
17652 (Makefile): depend on configure.in. call $(SHELL) rather than
17653 sh. drop redundant ./
17654 * stub/configure.in (stublib): new macro, assign it, edit it into
17655 makefiles.
17656 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
17657 updated copyright.
17658 (all): reworked.
17659 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17660 * libc/Makefile.in (TARGETCRT0): removed.
17661 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
17662 TARGETCRT0.
17663 (SUBDIRS): drop TARGETDEP_DIRS.
17664 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
17665 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
17666 (force): new target to force rebuilds.
17667 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
17668 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
17669 removed.
17670 (clean): assume sys_dir always exists.
17671 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
17672 drop redundant ./
17673 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
17674 libc/locale/Makefile.in, libc/machine/Makefile.in,
17675 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
17676 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
17677 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
17678 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
17679 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
17680 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
17681 libc/signal/Makefile.in, libc/stdio/Makefile.in,
17682 libc/stdlib/Makefile.in, libc/string/Makefile.in,
17683 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
17684 libc/time/Makefile.in, libc/unix/Makefile.in,
17685 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
17686 (TARGETLIB): removed.
17687 (all): reworked.
17688 (clean): also remove lib.a.
17689 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17690 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
17691 new macros.
17692 (SUBDIRS): moved to follow frag inclusion, change stub to
17693 stub_dir.
17694 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
17695 are now set in the libc Makefile.
17696 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
17697 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
17698 TARGETCRT0.
17699 (force): new target to force rebuilds.
17700 * stub/configure.in: determine and set stub_lib for for Makefile.
17701
17702Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
17703
17704 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
17705 crt0.s renamed to crt0.S.
17706 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
17707
17708 * libc/machine/h8300/Makefile.in: Make `all' the default target.
17709 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
17710 h8300h.
17711 * libc/machine/h8300/defines.h: Add macros to handle pointers for
17712 h8300 (16 bits) and h8300h (32 bits).
17713 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
17714 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
17715
17716Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
17717
17718 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
17719 implementation of setjmp and longjmp for the m88k.
17720 * libc/include/machine/setjmp.h: Added __m88000__ case.
17721
17722Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
17723
17724 * configure.in: Recognize h8300h as variant of h8300.
17725
17726Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
17727
17728 * libc/include/sys/unistd.h (read, write): get prototypes right.
17729 (sbrk): New prototype.
17730 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
17731 * libc/stdio/local.h: Include unistd.h.
17732 * libc/machine/h8300/syscalls.c: Names have changed.
17733
17734Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
17735
17736 * configure.in: add sys_dir assignment for m88k-bug.
17737
17738Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
17739
17740 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
17741 a.out or elf.
17742 * libc/sys/sparc64: all *.S files: Use new macros.
17743 * libc/sys/sparc64/isatty.c: New file.
17744 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
17745 functions beyond what newlib provides.
17746
17747Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
17748
17749 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
17750 svr4.
17751
17752Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
17753
17754 * libc/include/machine/ieeefp.h: Add support for h8/300h.
17755
17756Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
17757
17758 * configure.in: add m88k.
17759 * libc/include/machine/ieeefp.h: add case for m88k. Also add
17760 sanity check so no one else need ever chase what I did to find
17761 this.
17762
17763 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
17764
17765Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
17766
17767 * doc/makedoc.c: Include <ctype.h>.
17768
17769Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
17770
17771 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
17772 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
17773 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
17774
17775 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
17776
17777Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
17778
17779 * libc/include/errno.h (ENOSYS): Added.
17780
17781 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
17782
17783Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
17784
17785 * libc/stdio/fflush.c (fflush): Check for reent struct
17786 initialization.
17787 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
17788
17789Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
17790
17791 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
17792 out of dtoa.c so it doesn't pollute the namespace.
17793 * libc/include/_syslist.h: new file -- mappings from _function to
17794 function, for systems where we can't win (by default, all of them,
17795 until we start updating system calls.)
17796 * libc/syscalls: new directory -- stubs for exporting _function
17797 names as unmodified function names.
17798 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
17799 _syslist.h on all platforms by default, but put hooks in for
17800 fake_sys_dir so we can include it when we've renamed the system
17801 calls.
17802 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
17803 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
17804 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
17805 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
17806 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
17807 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
17808 non ANSI functions to call _function.
17809
17810Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
17811
17812 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
17813 when base 16 is specified. Don't accept non-digits if radix > 10.
17814
17815Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
17816
17817 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
17818
17819Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
17820
17821 * libc/include/sys/stat.h: Surround text after #endif with
17822 comments.
17823
17824Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
17825
17826 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
17827 _malloc_r, _realloc_r, and free_r call the corresponding
17828 non-reentrant functions.
17829
17830 * libm/math/modf.c (modf): We now take the address of ipart, so
17831 don't make it a register variable.
17832
17833Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
17834
17835 * libm/math/*: Rename all xxx_r fns to _xxx_r.
17836
17837Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
17838
17839 * libc/libc.texinfo and embedded docn throughout: formatting
17840 improvements, minor rephrasing for clarity, and improved
17841 reentrancy docn.
17842
17843Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17844
17845 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
17846
17847 * libc/stdio/cvt.c (_licvt): Print the right value on machines
17848 where sizeof(int) != sizeof(long).
17849
17850Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
17851
17852 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
17853 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
17854 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
17855 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
17856 libm/math/matherr.c: changes for better docn formatting (info).
17857
17858 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
17859 libc/reent/reent.tex, libc/signal/signal.tex,
17860 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
17861 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
17862 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
17863 makeinfo node defaulting to get better Info file node structure.
17864 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
17865 Also include a few formerly missing sections (subroutines).
17866
17867 * doc/doc.str: delete fossil expansion for "func"
17868
17869 * default.menu, no-signal.menu: delete.
17870
17871 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
17c0c97d 17872 method used to adjust doc for missing "signals" chapter when
8a0efa53
CF
17873 signal_dir is empty.
17874
17875Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17876
17877 * configure.in: added testsuite/libm.sac
17878
17879Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
17880
17881 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
17882 code model).
17883
17884Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
17885
17886 * libm/Makefile.in: Use $(MAKE) rather than make, and define
17887 MAKEOVERRIDES to be empty.
17888
17889Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
17890
17891 * configure.in: Don't build mips-*-* with -msoft-float, since that
17892 makes it incompatible with hard floating point.
17893
17894Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17895
17896 * Makefile.in: added recursive 'make check'
17897
17898Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17899
17900 * configure.in: added ./testsuite ./testsuite/libm.paranoia
17901 * ./testsuite/Makefile.in: created
17902 * ./testsuite/libm.paranoia: paranoia tests added
17903
17904Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
17905
17906 * configure.in: For mips-*-* set machine_dir to mips.
17907
17908 * libc/machine/mips: New directory.
17909 * libc/machine/mips/Makefile.in: New file.
17910 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
17911 setjmp and longjmp.
17912 * libc/include/machine/setjmp.h: Added __mips__ case.
17913
17914 * libc/machine/lmips: Removed unused and useless directory.
17915
17916Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
17917
17918 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
17919
17920Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
17921
17922 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
17923 start up).
17924
17925Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
17926
17927 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
17928 SETJMP_H.
17929
17930Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
17931
17932 * libm/test/convert.c: structure member errno -> errno_val.
17933 Must include <errno.h> to use errno, it's a macro now.
17934 * libm/test/math.c: Ditto.
17935 * libm/test/math2.c: Include errno.h.
17936 * libm/test/string.c: Ditto.
17937 * libm/test/test.h: structure member errno -> errno_val.
17938 Remove extern int errno decl.
17939
17940Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
17941
17942 * libc/stdio/Makefile.in: Added dependencies on local header
17943 files.
17944 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
17945 files.
17946
17947Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
17948
17949 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
17950
17951Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
17952
17953 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
17954 Initialize _data.
17955
17956 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
17957 * libc/stdio/local.h: Add prototype for _licvt.
17958
17959 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
17960 instead of malloc,reealloc.
17961
17962 * libc/stdlib/local.h: New file.
17963 * libc/stdlib/efgcvt.c: #include local.h.
17964 (gcvt): Fix call to _gcvt.
17965 * libc/stdlib/ecvtbuf.c: #include local.h.
17966
17967 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
17968 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
17969 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
17970
17971 * libc/stdlib/atexit.c: moved global data to struct _reent.
17972 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
17973
17974 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
17975
17976Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
17977
17978 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
17979 here from ../reent.h.
17980
17981Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
17982
17983 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
17984 should be provided in both libc.a and libm.a.
17985 (libc.a): Depend on targ-include and libm.a. Copy
17986 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
17987 (libm.a): Depend on targ-include.
17988 * configure.in (subdirs): Removed libc/math.
17989
17990Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17991
17992 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
17993
17994Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
17995
17996 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
17997 sys/reent.h instead of reent.h.
17998 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
17c0c97d 17999 headers moved to sys/reent.h.
8a0efa53
CF
18000 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
18001 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
18002 __need__MAX_SIGNALS defined.
18003 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
18004 std{in,out,err} refer to new _std{in,out,err} members.
18005
18006Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
18007
18008 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
18009 case.
18010
18011Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
18012
18013 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
18014 rather than whatever macro seterrno() has.
18015
18016Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
18017
18018 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
18019 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
18020
18021 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
18022 __STDC__.
18023
18024 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
18025 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
18026 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
18027
18028 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
18029 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
18030
18031 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
18032 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
18033 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
18034 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
18035 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
18036 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
18037 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
18038 renamed to _xxx_r. struct reent_struct renamed to struct _reent
18039 for ANSI. structure members given leading "_" for ANSI. Use
18040 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
18041
18042 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
18043 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
18044 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
18045 reent_struct renamed to struct _reent for ANSI.
18046 Structure members given leading "_" for ANSI.
18047 _CONST --> const in prototypes.
18048 Use _HAVE_STDC instead of __STDC__.
18049
18050 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
18051 _xxx_r.
18052 struct reent_struct renamed to struct _reent for ANSI.
18053 Structure members given leading "_" for ANSI.
18054
18055 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
18056 _xxx_r.
18057 struct reent_struct renamed to struct _reent for ANSI.
18058
18059 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
18060 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
18061 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
18062 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
18063 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
18064
18065 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
18066 signal.h, stdio.h, stdlib.h, string.h, time.h}:
18067 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
18068 #ifndef _STRICT_ANSI non-ANSI routines.
18069 Reentrant routines renamed from _r_xxx to _xxx_r.
18070 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
18071 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
18072 Clean up namespace (structure members have leading "_").
18073 struct reent_struct renamed to struct _reent for ANSI compliance.
18074 _CONST --> const in function prototypes.
18075
18076 * libc/include/string.h: Add NULL and size_t.
18077
18078 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
18079 unlink, wait, wait4. Reentrant syscall routines close, fork,
18080 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
18081 write.
18082 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
18083 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
18084 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
18085 write.S}: Define reentrant versions.
18086 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
18087 reentrant syscalls.
18088
18089 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
18090
18091 * libc/include/stdlib.h (RAND_MAX): Fix value.
18092
18093Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
18094
18095 * libc/sys/a29khif/_main.c: Removed unnecessary file.
18096 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
18097 VPATH support targets after all: target.
18098
18099 * stub/mvme135/mvme.S: Renamed exceptionhandler to
18100 exceptionHandler, which is what mvme135-stub.c expects.
18101
18102Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
18103
18104 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
18105
18106 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
18107 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
18108 compliant).
18109
18110Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
18111
18112 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
18113 first.
18114 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
18115 _r_write): Ditto.
18116 libc/reent/fstatr.c (_r_fstat): Ditto.
18117 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
18118 libc/reent/sbrkr.c (_r_sbrk): Ditto.
18119 libc/reent/statr.c (_r_stat): Ditto.
18120
18121 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
18122 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
18123 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
18124 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
18125 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
18126 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
18127 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
18128 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
18129 (__swrite): Ditto for _r_lseek, _r_write.
18130 (__sseek): Ditto for _r_lseek.
18131 (__close): Ditto for _r_close.
18132 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
18133
18134 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
18135 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
18136
18137 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
18138 to make reent_struct the first argument (and thus consistent with
18139 the rest of newlib).
18140
18141 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
18142 reference to __STDC__.
18143
18144Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
18145
18146 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
ba3ccd63 18147 global __cleanup.
8a0efa53
CF
18148
18149Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
18150
18151 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
18152 first.
18153 libc/stdio/fclose.c (fclose): Ditto.
18154
18155Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
18156
18157 * Run through indent and rename reentrant routines for ANSI.
18158 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
18159 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
18160 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
18161 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
18162 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
18163 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
18164 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
18165 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
18166 vsprintf.c wbuf.c wsetup.c local.h}
18167
18168 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
18169
18170 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
18171 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
18172 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
18173 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
18174 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
18175 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
18176
18177 * Run through indent.
18178 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
18179 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
18180 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
18181 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
18182 strxfrm.c}
18183
18184 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
18185 localtime.c mktime.c strftime.c time.c}:
18186 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
18187
18188 * Reformatting + renaming (for ANSI, GNU style, consistency).
18189 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
18190 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
18191 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
18192
18193Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
18194
18195 * libc/include/stdio.h (stdin_r): Fix.
18196
18197Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
18198
18199 * Makefile.in: Unexport some variables to keep GNU make from
18200 putting them in the environment and using up needed ARG_MAX space
18201 (a hack is used to let this work with older makes as well).
18202
18203Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
18204
18205 * Makefile.in: Use $(MAKE) rather than make.
18206 (MAKEOVERRIDES): Define to be empty.
18207 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
18208 (libc.a, libm.a): Depend on targ-include.
18209 * host/any (LD): Don't define.
17c0c97d 18210 (INCLUDES): Use targ-include.
8a0efa53
CF
18211 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
18212 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
18213 * libc/Makefile.in: Use $(MAKE) rather than make.
18214 (MAKEOVERRIDES): Define to be empty.
18215 (FLAGS_TO_PASS): Don't pass LD (it's not used).
18216 (all): Rewrote to be slightly smaller.
18217 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
18218 Define to be empty.
18219 (FLAGS_TO_PASS): Don't pass LD (it's not used).
18220 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
18221
18222Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
18223
18224 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
18225 with errno/errno.c.
18226
18227Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
18228
18229 * Changes for reentrancy.
18230 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
18231 Use ptr->_errno, not errno.
18232 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
18233 libc/stdio/remove.c (remove_r): New function.
18234 libc/stdio/rename.c (rename_r): New function.
18235 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
18236 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
18237 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
18238 reentrant versions of system calls.
18239 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
18240 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
18241 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
18242 libc/stdio/findfp.c: Include <string.h>.
18243 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
18244 "local.h".
18245 libc/stdio/wbuf.c: Include "fvwrite.h"
18246
18247 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
18248 <string.h>.
18249 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
18250 (NULL): Don't define if already defined.
18251 libc/stdlib/system.c: Call reentrant versions of system calls.
18252 (system_r): New function.
18253
18254 * Changes for reentrancy.
18255 libc/include/_ansi.h (_PARAMS): New macro.
18256 libc/include/errno.h: Define errno as a macro that calls __errno.
18257 (__errno_r): New macro for reentrant code.
18258 libc/include/math.h: Include reent.h. Declare many reentrant
18259 functions.
18260 (signgam): Now a macro, not a variable.
18261 (struct exception): Added err field.
18262 libc/include/reent.h: Don't declare __sglue. Added function
18263 declarations.
18264 (struct reent_struct): Moved errno to beginning. Added _signgam.
18265 libc/include/stdio.h, libc/include/stdlib.h: Added function
18266 declarations.
18267
18268 * More reentrancy hacking.
18269 libc/errno/errno.c (__errno): New function.
18270 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
18271 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
18272 files.
17c0c97d 18273
8a0efa53
CF
18274 * Added many new reentrant functions to libm/math/*.
18275 libm/math/error.c (__matherror): Added reent_struct pointer
18276 argument. Changed all callers.
18277 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
18278 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
18279 libm/math/tan.h: Removed obsolete unused header files.
18280
18281 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
18282
18283 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
18284
18285Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
18286
18287 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
18288 delay slots.
18289
18290Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
18291
ba3ccd63 18292 * libc/libc.texinfo: comment out reentrancy chapter (duh)
8a0efa53
CF
18293
18294Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
18295
ba3ccd63 18296 * libc/reent/reent.tex: New file. (text from
8a0efa53
CF
18297 newlib/libc/libc.texinfo)
18298 * libc/stdio/tmpnam.c: fixed doc typo
18299 * libc/stdlib/rand.c: fixed doc typo
18300
18301Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
18302
ba3ccd63 18303 * libc/reent/reent.tex: New file. (text from
8a0efa53
CF
18304 newlib/libc/libc.texinfo)
18305
18306Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
18307
18308 support for reentrancy
18309 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
18310 new files
18311 * libc/errno/errno.c, libc/include/ieeefp.h,
18312 libc/include/locale.h, libc/include/reent.h,
18313 libc/include/signal.h, libc/include/stdio.h,
18314 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
18315 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
18316 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
18317 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
18318 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
18319 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
18320 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
18321 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
18322 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
18323 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
18324 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
18325 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
18326 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
18327 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
18328 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
18329 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
18330 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
18331 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
18332 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
18333 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
18334 libc/time/strftime.c: modify to provide reentracy.
18335
18336 new routines:
18337 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
18338 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
18339 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
18340 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
18341 mstats_r, realloc_r, localeconv_r, setlocale_r
18342
18343Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
18344
18345 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
18346 libc/include/sys/config.h, libc/include/sys/signal.h,
18347 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
18348 provided macros (such as m68000), use the ansi version
18349 (__m68000__) so that the library can be used with code compiled
18350 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
18351 and sparc.
18352
18353Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
18354
18355 * configure.in (sparc*): Don't set -fsoft-float for sparc
18356 configurations. Do set -fsoft-float for sparclite configurations.
18357
18358Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
18359
18360 * default.menu, no-signal.menu: alternate forms of libc main menu
ba3ccd63 18361 (in newlib rather than newlib/libc due to configuration restrictions)
8a0efa53
CF
18362
18363 * configure.in: select one of the two menus above, link to
18364 libc.menu
18365
ba3ccd63 18366 * libc/libc.texinfo: include menu from separate file
8a0efa53
CF
18367
18368Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
18369
18370 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
18371 (info): Split long shell command in half.
17c0c97d
EB
18372 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
18373 sub-makes, just CHEW and TARGETDOC.
8a0efa53
CF
18374 (targetdep.tex): Removed now special handling of sys and machine
18375 subdirectories, made obsolete some time ago.
18376 * libc/machine/Makefile.in (doc): Don't pass everything to
18377 sub-make, just CHEW and TARGETDOC.
18378 (Makefile): New target.
18379 * libc/sys/Makefile.in (Makefile): New target.
18380
18381Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
18382
18383 * Makefile.in (here and most subdirectories): Only pass down CHEW
18384 and TARGETDOC when making info, not for other targets.
18385
18386 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
18387 $(AR_FLAGS) rather than $(ARUPDATE).
18388
18389Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
18390
18391 * Try to reduce command line length:
18392 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
18393 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
18394 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
18395 (info): Pass CHEW to other subdirs.
18396
18397Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
18398
18399 * configure.in: add signal_dir, like unix_dir, but by default it
18400 is set to "signal" so that a29khif can turn it off (since a29khif
18401 has raise() as part of machine-specific signal.s.)
18402
18403Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
18404
18405 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
18406 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
18407 correctly.
18408 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
18409 libc/stdio/vfprintf: type lint.
18410 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
18411 initialzation code.
18412 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
18413
18414Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
18415
18416 * stub/mvme135/mvme135-asm.S: new file.
18417 stub/mvme135mvme135-stub.c: moved all assembler routines into
18418 mvme135-asm.S.
18419 stub/mvme135/Makefile.in: build mvme135-stub.o.
18420
18421Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
18422
18423 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
18424 sub-Makefiles instead, to try to avoid line length limitations.
18425
18426Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
18427
18428 * libc/include/unistd.h (read, write): Use void* instead of
18429 char*.
18430
18431Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
18432
18433 * stub/go32/resetpc: sample script to send a reset packet to the
18434 stub
18435
18436 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
18437 DOS environment, which compiles with Turbo C.
18438
18439 * stub/go32/DSER32.LNK: new file, linker commands for serial
ba3ccd63 18440 remote stub.
8a0efa53
CF
18441
18442 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
18443 start up message to identify version; call set_debug_traps.
18444
18445 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
18446 keyboard interaction); call handle_exception() in go_til_stop,
18447 rather than return, so that the remote stub gets control.
18448
18449 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
18450 rename, rather than mv), set flags that work with current Turbo C,
18451 including using the /3 flag; also, add commands to build dser32.
18452
18453 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
18454 default Turbo C installation (\tc rather than \usr)
18455
18456 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
ba3ccd63 18457 "&..."
8a0efa53
CF
18458
18459Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18460
18461 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
18462
18463Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18464
18465 * libc/stdio/cvt.c (licvt): new function to convert ints when
18466 sizeof(int) != sizeof(long).
18467
18468 * libc/include/stdio.h: added prototype for iprintf.
18469 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
18470
18471Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
18472
18473 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
18474 __REGISTER_PREFIX__.
18475
18476Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
18477
18478 * libc/sys/m68kbare: moved into stub directory.
18479
18480Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
18481
18482 * configure.in, Makefile.in: created new directory stub, to hold
18483 sample code for specific targets.
18484
18485Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
18486
18487 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
18488 in the unified libc/include/sys/fcntl.h.
18489
18490Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
18491
18492 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
18493 printed .01, not 0.01.
18494
18495Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
18496
18497 * configure.in: compile with -m68000 for m68* targets.
18498
18499Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
18500
18501 * libm/math/remainder.c (remainder): document the svr4 and sunos
18502 references used to construct the function.
18503
18504Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
18505
18506 * libm/math/remainder.c (rint, remainder): fix old typos.
18507 * libm/math/Makefile.in: actually build remainder.c (functions
18508 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
18509 page.)
18510
18511Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
18512
18513 * libc/string/bcopy.c: BSD version works on overlapping strings,
18514 so ours should too.
18515
18516 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
18517 ("SHELL").
18518
18519Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
18520
18521 * Makefile.in (docs): new target.
18522
18523Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
18524
18525 * libc/include/sys/times.h: define clock_t as required by POSIX.
18526 libc/include/time.h: protect clock_t from multiple definitions.
18527
18528Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18529
18530 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
18531 does not need more than the original three iterations to get
18532 within 1 ulp. (Paranoia tests for rounding to better than that,
18533 but further iterations *don't* help, only more subtle changes
18534 can.)
18535
18536Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
18537
18538 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
18539 were doing nothing useful.
18540
18541Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
18542
18543 * configure.in: define MALLOC_PROVIDED for vxworks targets;
18544 removed sys_dir settings of vxworks68 and vxworks960.
18545 host/any: don't pass -nostdinc to gcc, since newlib no longer
18546 provides all required header files.
18547
18548 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
18549 is not defined; this provides a hook for VxWorks.
18550
18551Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18552
18553 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
18554 buffer if buf is NULL, don't do it here -- it is already being
18555 done by makebuf elsewhere in stdio.
18556
18557Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
18558
18559 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
18560 that C programs can call functions without using initial
18561 underscores.
18562
18563Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
18564
18565 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
18566
18567Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
18568
18569 * configure.in: set TARGET_CFLAGS for certain CPU types to
18570 -msoft-float.
18571
18572Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
18573
18574 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
18575
18576Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
18577
18578 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
18579 m68k*-unknown-coff.
18580
18581Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
18582
18583 * libc/include/stdio.h: define __need___va_list before including
18584 <stdarg.h>, to avoid defining va_arg, et. al.
18585
18586Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
18587
18588 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
18589 (don't cd to the user's home directory).
18590
18591 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
18592 In general this is the wrong thing to do, but I can't get around
18593 GNU make's insistence on passing command line arguments any other
18594 way.
18595
18596Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
18597
18598 * configure.in: always configure the libc/sys directory, since it
18599 now provides a required documentation file.
18600
18601 * Makefile.in: replaced all instances of $(MAKE) with make. In
18602 general this is the wrong thing to do, but I can't get around GNU
18603 make's insistence on passing command line arguments any other way.
18604
18605Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
18606
18607 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
18608 terminated.
18609
18610 * libc/stdio/local.h: include <stdarg.h> to define va_list.
18611 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
18612
18613 * libc/include/float.h, libc/include/stdarg.h,
18614 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
18615 versions instead.
18616 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
18617 <stdarg.h>, not from <machine/types.h>. Protect definition of
18618 NULL.
18619 libc/include/time.h: get size_t from stddef.h. Protect definition
18620 of NULL.
18621 libc/include/machine/limits.h: override gcc <limits.h> by defining
18622 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
18623 get correct INT_MIN and LONG_LONG values.
18624 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
18625 size_t or va_list at all; they're now gotten from stddef.h
18626 instead.
18627 libc/include/machine/varargs.h: removed; use gcc version instead.
18628 libc/include/sys/types.h: explicitly include <machine/types.h>.
18629
18630 * libm/math/sqrt.h: using the fp-bit routines appears to require
18631 more iterations.
18632
18633 * Makefile.in, host/any: let system include files override machine
18634 include files.
18635
18636Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18637
18638 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
18639 override _*_T_ definitions defaulted here.
18640
18641Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
18642
18643 * Makefile.in (install): install the include files in
18644 $(tooldir)/include, not $(exec_prefix)/include.
18645
18646Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
18647
18648 * Makefile.in (install): fixed typo, and changed install to not
18649 force rebuild of libc.a and libm.a.
18650
18651Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
18652
18653 * libc/sys/a29khif/*: Changed all .include's to include
18654 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
18655 that they will be installed for the user.
18656
18657 * Makefile.in (all): create targ-include, a directory holding the
18658 machine and system specific header files during the build.
18659 (install): fixed installation of machine and system specific
18660 header files.
18661
18662 * Makefile.in: fixed comment.
18663 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
18664 we can pass $(INCLUDES) to it.
18665
18666Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
18667
18668 * libc/include/sys/param.h: new generic file, which may be
18669 overridden for specific systems.
18670
18671 * libc/include/sys/signal.h: define all ANSI signal names, and
18672 NSIG (which is not ANSI) for a29k.
18673
18674Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
18675
18676 * Makefile.in: don't pass down arguments the lower level makes
18677 will not need.
18678 * libc/Makefile.in: recurse directly, rather than using subdir_do,
18679 in hopes of avoiding argument length limits.
18680 * libm/Makefile.in: recurse directly, rather using subdir_do, in
18681 hopes of avoiding argument length limits.
18682
18683Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
18684
18685 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
18686 mode_t is defined.
18687
18688Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
18689
18690 * Fixed make info and make install-info for newlib, changing most
18691 Makefile.in and several *.tex files. Moved doc directory from
18692 libc to top level.
18693
18694 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
18695 Should be rewritten.
18696
18697 * libc/string/strings.tex: renamed node index to node index
18698 function, so that it does not conflict with the top level index
18699 node.
18700
18701 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
18702
18703Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
18704
18705 * Overhauled general configuration for newlib. Eliminated all
18706 target dependent Makefile fragments. Create libraries in newlib
18707 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
18708 than CROSS_CC, et. al. Broke make docs; will fix later.
18709
18710 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
18711 Should be rewritten.
18712
18713Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
18714
18715 * libc/configure.in: cleaned up somewhat; switch on ${target}
18716 rather than ${target_alias}.
17c0c97d 18717 * libm/configure.in: cleaned up somewhat; switch on ${target}
8a0efa53
CF
18718 rather than ${target_alias}.
18719
18720 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
18721 * libc/include/ctype.h: marked _ctype_ as _CONST.
18722
18723 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
18724 _CONST.
18725
18726 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
18727 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
18728 libc/stdio/gets.c (gets): removed non-ANSI warning message.
18729 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
18730
18731 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
18732 bigtens, tinytens): marked arrays _CONST.
18733 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
18734 rather than a static variable.
18735
18736 * libc/time/asctime.c (asctime), libc/time/localtime.c
18737 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
18738 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
18739 mname_len, mname): Marked static arrays _CONST.
18740
18741 * libm/math/gamma.h: made local variables non-static.
18742
18743 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
18744 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
18745 _CONST.
18746
18747 * libm/math/constants.c: removed file, because the constants it
18748 defined were never referenced.
18749 libm/math/Makefile.in: removed references to constants.c.
18750 libm/math/mathimpl.h: removed declarations of constants.
18751
18752Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
18753
18754 * libc/include/machine/varargs.h: only call __builtin_saveregs if
18755 it is sensibly defined in libgcc2. Checks preprocessor defines,
18756 which is not a good solution.
18757
18758 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
18759
18760 * libm/frexp.c: handle denormalized numbers as arguments.
18761
18762 * libm/math/Makefile.in: added some dependencies for .c files
18763 which include local .h files.
18764
18765Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
18766
18767 * libc/configure.in: set target_alias for OSE*. Replace
18768 target_makefile_frag if it is blank.
18769
18770 * libc/Makefile.in: make sure everything is passed to subsidiary
18771 makes; create all directories when installing.
18772
18773 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
18774 CROSS_ARUPDATE instead of AR.
18775
18776 * libm/configure.in: set target_alias for OSE*. Replace
18777 target_makefile_frag if it is blank.
18778
18779 * libm/Makefile.in: make sure everything is passed to subsidiary
18780 makes; create all directories when installing.
18781
18782Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
18783
ba3ccd63 18784 * add following change from libc copy.
8a0efa53
CF
18785
18786Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18787
18788 * libc/libc.texinfo: make copyright disclaimers appear on back of
18789 title page; make format of same slightly less ugly; avoid using
18790 underbars in section headings (avoids nasty texinfo bug in table
18791 of contents).
18792
18793 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
18794 comments only) avoid using underbars in section headings
18795
18796 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
18797 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
18798 changes in comments only): shorten headings ieeefp/infinity.c,
18799 ieeefp/isnan.c: (doc, comments only) more informative headings
18800
18801 * libc/math/bessel.c: (doc, comments only) shorten heading
18802
18803 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
18804 (doc, comments only) shorten headings
18805
18806 * libc/time/localtime.c (doc, comments only): shorten headings
18807
18808 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
18809 isnan
18810 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
18811 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
18812 headings
18813 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
18814 only) more informative headings
18815 * libm/math/bessel.c: (doc, comments only) shorten heading
18816
18817Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18818
18819 * .../Makefile.in: use CROSS_ARUPDATE consistently.
18820 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
18821 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
18822 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
18823 defined, the one from the .mt file will be correct.
18824 * libc/include/machine, libc/include/sys: created, and populated
18825 with common files from machine/*/machine. ifdefs were used for
18826 most, typically by handling exceptions first and then filling in
18827 defaults. Files with D.J. Delorie copyright #included rather than
18828 copied. Most files in include/sys really were the same in the
18829 original.
18830 * libc/include/...: cleaned up use of _EXFUN.
18831 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
18832 it with double quotes, not angles.
18833
18834Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
18835
18836 * libc/Makefile.in: always create installation directories.
18837
18838Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
18839
18840 * libc/configure.in: handle host properly (using canonical
18841 triples), better error message for the case of target not found
18842
18843Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
18844
18845 * libc/Makefile.in (insincdir): Ensure this directory exists
18846 before attempting installation.
18847
18848Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18849
18850 * libc/stdlib/assert.c: now calls abort like it should
18851 * libc/sys/a29khif: many many patches for 29khif work
18852 * libc/machine/i386: gnulib2 expanded there.
18853
18854Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18855
ba3ccd63 18856 Added accurate fp conversion routines to stdlib, moved dcvt from
8a0efa53
CF
18857 stdio to stdlib and called it ecvtbuf:
18858 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
18859 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
18860 routines
18861 * libc/libc.texinfo: Modifed to include the copyright info from
18862 the mprec files
18863 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
18864 * libc/test/ : many vector which tested for the implementation
18865 defined returns of strange conversion requests have been updated
18866 to relflect the new implementation
18867
18868Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18869
18870 * libc/libc.texinfo: new chapter on variable arg lists
18871 (stdarg.h/varargs.h)
18872 * libc/libc.texinfo: new title
18873 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
18874 (doc only) shorter headings for better formatting.
18875
18876Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18877
18878 * libc/libc.texinfo: three more info menu entries
18879 * libc/locale/locale.tex: new chapter
18880 * libc/locale/locale.c: new doc for setlocale, localeconv
18881 * libc/locale/Makefile.in: use new locale doc
18882 * libc/signal/signal.tex: new chapter
18883 * libc/signal/raise.c, libc/signal/signal.c: new doc
18884 * libc/signal/Makefile.in: use new doc
18885 * libc/time/time.tex: new chapter
18886 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
18887 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
18888 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
18889 * libc/time/Makefile.in: use new doc
18890
18891Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18892
18893 * libm/math/log1p.c: split to use the new function way of float
18894 function definition. math/log1p.h deleted
18895 * libm/math/scalb.c: obsolete and deleted
18896 * libm/math/scalbn.c: created from part log1p.c
18897 * libm/math/Makefile.in: know about log1p and scalbn
18898
18899Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18900
18901 * libc/ctype/isupper.c: revise doc;
18902 libc/ctype/ctype.tex: use doc from isupper.c
18903
18904 * libc/string/bzero.c: new doc
18905
18906Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18907
18908 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
18909 new doc
18910 * libc/stdlib/Makefile.in: extract new doc
18911 * libc/stdlib/stdlib.tex: use new doc
18912
18913 * libc/string/strerror.c: expanded doc.
18914
18915 * libc/stdio/Makefile.in: extract doc from more files
18916 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
18917 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
18918 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
18919 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
18920 libc/stdio/vsprintf.c: new doc
18921 * libc/stdio/stdio.tex: use new doc
18922
18923Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18924
18925 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
18926 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
18927 finitef functions.
18928 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
18929 time ago.
18930
18931 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
18932 * libc/stdio/setbuf.c: added ansi style definition.
18933 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
18934 buffer if none provided.
18935 * libc/stdio/tmpfile.c: lint
18936 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
18937 rather than using static, also make sure file isn't already
18938 present. Uses P_tmpdir. (tempnam): rewritten to use new
18939 subroutine, and uses P_tmpdir.
18940 * libc/stdio/siprintf.c: created
18941
18942Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18943
18944 Release 1.03 for NEC, major mods. Main differences from release
18945 1.02::
18946
18947 More tests in test/:
18948 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
18949 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
18950 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
18951 get/set mask, get/set sticky and get/set roundtoi. Tests
18952 that setting the bits changes the way arithmetic is done.
18953 * string.c: added test to make sure memcmp does it with unsigned
18954 chars.
18955 * test.c: cleaned up and removed lint.
18956 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
18957 dvec.c: tests for string to value conversions, sprintf, scanf,
18958 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
18959 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
18960 rounding in sprintf too.
18961 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
18962 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
18963 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
18964 and function form.
18965 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
18966 powf
18967
18968 In the library:
18969 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
18970 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
18971 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
18972 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
18973 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
18974 than sprintf.
17c0c97d 18975 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
8a0efa53
CF
18976 * Method of producting float versions of double functions has
18977 changed, functions will be modified gradually. So far:
18978 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
18979 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
18980 altered
18981 * libc/string/memcmp.c: now uses unsigned chars
18982 * libc/string/bcmp.c, libc/string/strcpy.c,
18983 libc/stsring/strxfrm.c: fixed doc
18984 * libc/sys/sysvnecv70.tex: fix example of sbrk code
18985\f
18986Local Variables:
18987version-control: never
18988End:
This page took 2.391775 seconds and 5 git commands to generate.