]> sourceware.org Git - newlib-cygwin.git/blame - newlib/ChangeLog
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Disable calling
[newlib-cygwin.git] / newlib / ChangeLog
CommitLineData
51bef6a9
NC
12008-04-24 Nick Clifton <nickc@redhat.com>
2
3 * libc/include/machine/ieeefp.h: Fix typo: _DOUBLE_IS_32_BITS
4 should be _DOUBLE_IS_32BITS.
5
0d02384a
CV
62008-04-24 Corinna Vinschen <corinna@vinschen.de>
7
8 * libc/include/sys/stat.h (UTIME_NOW): Define for Cygwin.
9 (UTIME_OMIT): Ditto.
10 (utimensat): Declare for Cygwin.
11 (futimens): Ditto.
12
e2af45bf
JJ
132008-04-23 Ken Werner <ken.werner@de.ibm.com>
14
15 * libc/include/_ansi.h: _LONG_LONG renamed to _LONG_LONG_TYPE.
16 * libc/include/math.h: Likewise.
17
ca48eb65
CV
182008-04-23 Corinna Vinschen <corinna@vinschen.de>
19
20 * libc/include/stdio.h (renameat): Declare for Cygwin.
21 (symlinkat): Ditto.
22 * libc/include/sys/unistd.h (readlink): Align declaration to POSIX.
23 (faccessat): Declare for Cygwin.
24 (fchownat): Ditto.
25 (linkat): Ditto.
26 (readlinkat): Ditto.
27 * libc/include/sys/_default_fcntl.h (AT_FDCWD): Define for Cygwin.
28 (AT_EACCESS): Ditto.
29 (AT_SYMLINK_NOFOLLOW): Ditto.
30 (AT_SYMLINK_FOLLOW): Ditto.
31 (AT_REMOVEDIR): Ditto.
32 (futimesat): Declare for Cygwin.
33 (openat): Ditto.
34 (unlinkat): Ditto.
35 * libc/include/sys/stat.h (fchmodat): Ditto.
36 (fstatat): Ditto.
37 (mkdirat): Ditto.
38 (mkfifoat): Ditto.
39 (mknodat): Ditto.
40
51bef6a9
NC
412008-04-22 Nick Clifton <nickc@redhat.com>
42
43 * libc/machine/arm/setjmp.S: Add support for thumb2 multiple
44 register load/store instructions.
45
e9505050
JJ
462008-04-16 Patrick Mansfield <patmans@us.ibm.com>
47
48 * libc/machine/spu/sys/errno.h: Use _impure_data, not _reent_data.
49
c2bd84bc
JJ
502008-04-16 Patrick Mansfield <patmans@us.ibm.com>
51
52 * libc/machine/spu/impure.c: Add missing underscore to impure_data.
53
45b14289
JJ
542008-04-14 Patrick Mansfield <patmans@us.ibm.com>
55
56 * libc/machine/spu/impure.c: New file, supply a non-static _impure_data.
57 * libc/machine/spu/Makefile.am: Add new file impure.c.
58 * libc/machine/spu/Makefile.in: Regenerate.
59 * libc/machine/spu/sys/errno.h: Define errno to be _reent_data._errno.
60
eabd7de0
JJ
612008-04-14 Jeff Johnston <jjohnstn@redhat.com>
62
63 * libc/stdio/Makefile.am: Build vfprintf.c and vfscanf.c with
64 -DSTRING_ONLY defined with and without -DINTEGER_ONLY defined
65 to build special versions for sprintf/sscanf family functions.
66 * libc/stdio/Makefile.in: Regenerated.
67 * libc/stdio/vfprintf.c[STRING_ONLY][INTEGER_ONLY](_VFPRINTF_R):
68 Redefine to be _svfiprintf_r which is optimized to work with siprintf
69 family of functions (i.e. no I/O) and does not support floating-point.
70 [STRING_ONLY][!INTEGER_ONLY](_VFPRINTF_R): Redefine to be
71 _svfprintf_r which is optimized to work with sprintf family of
72 functions and not use I/O.
73 [STRING_ONLY](__sprint_r): New string only version of static function.
74 designed to work with sprintf family of functions.
75 * libc/stdio/vfscanf.c[STRING_ONLY][INTEGER_ONLY](_SVFSCANF_R):
76 Redefine to be _ssvfiscanf_r which is optimized to work with siscanf
77 family of functions (i.e. no I/O) and no float-point support.
78 [STRING_ONLY][!INTEGER_ONLY](_SVFSCANF_R): Redefine to be
79 __ssvfscanf_r which is optimized to work with sscanf family of
80 functions and does not require I/O functions.
81 * libc/stdio/asprintf.c: Call _svfprintf_r instead of _vfprintf_r.
82 * libc/stdio/snprintf.c: Ditto.
83 * libc/stdio/sprintf.c: Ditto.
84 * libc/stdio/vasnprintf.c: Ditto.
85 * libc/stdio/vasprintf.c: Ditto.
86 * libc/stdio/siprintf.c: Call _svfiprintf_r instead of _vfiprintf_r.
87 * libc/stdio/sniprintf.c: Ditto.
88 * libc/stdio/vasiprintf.c: Ditto.
89 * libc/stdio/vsiprintf.c: Ditto.
90 * libc/stdio/vsniprintf.c: Ditto.
91 * libc/stdio/vsprintf.c: Ditto.
92 * libc/stdio/local.h: Add prototypes for _svfprintf_r, _svfiprintf_r,
93 _ssvfscanf_r, and _ssvfiscanf_r.
94 * libc/stdio/sscanf.c: Call _ssvfscanf_r instead of _svfscanf_r.
95 * libc/stdio/vsscanf.c: Ditto.
96 * libc/stdio/siscanf.c: Call _ssvfiscanf_r instead of _svfiscanf_r.
97 * libc/stdio/vsiscanf.c: Ditto.
98
6f810581
DD
992008-04-04 DJ Delorie <dj@redhat.com>
100
101 * libm/machine/spu/configure: Regenerate with autoconf 2.61.
102 * libc/sys/configure: Regenerate with autoconf 2.61.
103 * libc/machine/configure: Regenerate with autoconf 2.61.
104
bd6e30d5
JJ
1052008-04-01 Patrick Mansfield <patmans@us.ibm.com>
106
107 * libc/machine/spu/memcmp.c: New file for SPU optimized memcmp.
108 * libc/machine/spu/strncmp.h: New file supply _strncmp_internal.
109 * libc/machine/spu/Makefile.am: Add memcmp.c.
110 * libc/machine/spu/Makefile.in: Rebuild.
111 * libc/machine/spu/strncmp.c: Use _strncmp_internal.
112
71f3a8f5
JJ
1132008-04-01 Patrick Mansfield <patmans@us.ibm.com>
114
115 * configure.host: Build SPU with -DREENTRANT_SYSCALLS_PROVIDED and
116 -DMISSING_SYSCALL_NAMES.
117
1d4a4944
JJ
1182008-04-01 Patrick Mansfield <patmans@us.ibm.com>
119
120 * libc/machine/spu/Makefile.am: Add assert.c.
121 * libc/machine/spu/Makefile.in: Regenerate.
122 * libc/machine/spu/assert.c: New file.
123
3ab380aa
JJ
1242008-03-27 Patrick Mansfield <patmans@us.ibm.com>
125
126 * libc/include/reent.h: Define _func_r functions in this file to
127 func if REENTRANT_SYSCALLS_PROVIDED and MISSING_SYSCALL_NAMES are
128 defined.
129
4af0c5e8
CV
1302008-03-27 Corinna Vinschen <corinna@vinschen.de>
131
132 * libc/include/sys/unistd.h: Declare lockf(2) and define lockf
133 constants when building for Cygwin.
134
88348faf
JJ
1352008-03-11 Jeff Johnston <jjohnstn@redhat.com>
136
d84985f7 137 * libc/stdio/rgetc.c (__srget_r): Invoke CHECK_INIT to ensure
88348faf
JJ
138 stdin gets resolved properly before refilling.
139
c6228428
JJ
1402008-03-07 Jeff Johnston <jjohnstn@redhat.com>
141
142 * libc/include/getopt.h: Hide newlib extensions under
143 the __need_getopt_newlib flag.
144 * libc/stdlib/getopt.c: #define __need_getopt_newlib before including
145 getopt.h. Put entire code under !HAVE_GETOPT to support platforms
146 with their own getopt implementation.
147 * configure.host: Specify HAVE_GETOPT for x86-linux.
148
0382d267
JJ
1492008-03-07 Jeff Johnston <jjohnstn@redhat.com>
150
151 * libc/include/sys/reent.h(_REENT_SMALL_CHECK_INIT): Specify
152 this macro completely instead of referring to CHECK_STD_INIT which
153 is only found in libc/stdio/local.h.
154 * libc/stdio/dprintf.c: Add include of local.h.
155 * libc/stdio/vdprintf.c: Ditto.
156 * libc/stdio/vdiprintf.c: Ditto.
157
beb0ab64
EB
1582008-03-04 Eric Blake <ebb9@byu.net>
159
160 Fix strtod("nan()", ptr).
161 * libc/stdlib/gdtoa-hexnan.c (hexnan): When the optional
162 n-char-sequence is omitted, still parse the ().
163
9ae00e9e
EB
1642008-03-03 Eric Blake <ebb9@byu.net>
165
166 Fix ftell bug after ungetc.
167 * libc/stdio/ftell.c (_ftell_r): Don't flush ungetc buffer on
168 ftell.
169 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
170 * libc/stdio/fflush.c (_fflush_r): Clear unget buffer when
171 repositioning underlying fd offset.
172
be62101c
JJ
1732008-03-02 Jeff Johnston <jjohnstn@redhat.com>
174
175 * libc/include/getopt.h (no_argument): Added for glibc compatibility.
176 (required_argument, optional_argument): Ditto.
177
76ff710c
JJ
1782008-02-29 Gregory Pietsch <gpietsch@comcast.net>
179
180 * libc/stdlib/getopt.c (getopt_internal): Rewrite to accept
181 data area so as to support reentrant calls. Change all callers
182 to fill in data area with global values and restore any changes
183 to the global values after call.
184 (__getopt_r, __getopt_long_r, __getopt_long_only_r): New routines
185 to support reentrancy that add a data area argument.
186 * libc/include/getopt.h: Add new _r routines and provide macros
187 so they can be called with using double-underscores.
188
7a44c13e
EB
1892008-02-21 Eric Blake <ebb9@byu.net>
190
191 Fix strtod("-0x", NULL).
192 * libc/stdlib/strtod.c (_strtod_r): Fall back to 0 if hex parse
193 fails.
194
de20111e
JJ
1952008-02-12 Jeff Johnston <jjohnstn@redhat.com>
196
197 * libc/machine/powerpc/vfprintf.c (_VFPRINTF_R): Prepare
198 for user specifying --disable-newlib-io-long-long on configure.
199 Call _fflush_r instead of fflush. For _mbtowc_r, pass the
200 reentrant pointer passed in rather than _REENT.
201
f46f40b5
JJ
2022008-02-12 Peter Rosin <peda@lysator.liu.se>
203
204 * libc/stdlib/getopt.c (getopt_internal): Handle optional
205 arguments better for long options and short options not
206 appearing as the first option in a sequence.
207
74d928bf
JJ
2082008-02-11 Patrick Mansfield <patmans@us.ibm.com>
209
210 * libc/machine/spu/straddr.h: New file, supplies _straddr.
211 * libc/machine/spu/strcat.c: Use _straddr and _strcpy.
212 * libc/machine/spu/strcpy.c: Use _strcpy.
213 * libc/machine/spu/strcpy.h: Supply _strcpy for optimized SPU
214 str[n]cpy and str[n]cat.
215 * libc/machine/spu/strncat.c: Use _straddr and _strcpy.
216 * libc/machine/spu/strncpy.c: Use _strcpy.
7a44c13e 217
9b924fc3
JJ
2182008-02-11 Patrick Mansfield <patmans@us.ibm.com>
219
220 * libc/machine/spu/strlen.c: Remove the len variable and unneeded
221 calculation of its value.
7a44c13e 222
77ec26b0
HPN
2232008-01-25 Hans-Peter Nilsson <hp@bitrange.com>
224
225 * libc/sys/mmixware/isatty.c (_isatty): Renamed from isatty.
226 Make ISO C.
227
226f5a32
DD
2282008-01-21 DJ Delorie <dj@redhat.com>
229
230 * libc/sys/sh/syscalls.c (_isatty): New.
231
cece11c5
JJ
2322008-01-21 Neal H. Walfield <neal@gnu.org>
233
234 * Makefile.am (crt1.o): Use correct source.
235 * Makefile.in: Regenerated.
236
dc26a86f
EB
2372008-01-15 Eric Blake <ebb9@byu.net>
238
239 * libc/string/Makefile.am (ELIX_2_SOURCES): Fix definition.
240 * libc/string/Makefile: Regenerate.
241
12df8a5b
CV
2422008-01-15 Corinna Vinschen <corinna@vinschen.de>
243
244 * libc/include/machine/setjmp.h (__SIGMASK_FUNC): Define as
245 pthread_sigmask or sigprocmask depending on _POSIX_THREADS.
246 (sigsetjmp): Use __SIGMASK_FUNC.
247 (siglongjmp): Ditto.
248 (_setjmp): Define as macro.
249 (_longjmp): Ditto.
250
40617efc
EB
2512008-01-11 Eric Blake <ebb9@byu.net>
252
253 Make strstr and strcasestr O(n), not O(n^2); add memmem.
254 * libc/string/str-two-way.h: New file.
255 * libc/string/memmem.c (memmem): New file.
256 * libc/include/string.h (memmem): Declare for all platforms.
257 * libc/string/strstr.c (strstr): Provide O(n) implementation when
258 not optimizing for space.
259 * libc/string/strcasestr.c (strcasestr): Likewise.
260 * libc/string/Makefile.am (ELIX_SOURCES): Rename to...
261 (ELIX_2_SOURCES): ...this.
262 (ELIX_4_SOURCES): New category, for memmem.
263 (lib_a_SOURCES, libstring_la_SOURCES): Build new file.
264 (CHEWOUT_FILES): Build documentation for memmem.
265 * libc/string/strings.tex: Include new docs.
266
ceb32a18
JJ
2672008-01-08 Jeff Johnston <jjohnstn@redhat.com>
268
269 * libc/machine/m68k/memcpy.S: Remove % from register references
270 as this is already handled by m68kasm.h.
271 * libc/machine/m68k/memset.S: Ditto.
272
a3211370
JJ
2732008-01-07 Jeff Johnston <jjohnstn@redhat.com>
274
275 * libc/machine/m68k/m68kasm.h: New file.
276 * libc/machine/m68k/setjmp.S: Remove common definitions and
277 place in m68kasm.h. Include "m68kasm.h".
278 * libc/machine/m68k/memcpy.S: Include "m68kasm.h" and use
279 SYM() macro when referencing function name.
280 * libc/machine/m68k/memset.S: Ditto.
281
a639937a
JJ
2822008-01-03 Jeff Johnston <jjohnstn@redhat.com>
283
284 Make isatty syscall handling consistent with other newlib syscalls.
285
286 * libc/include/_syslist.h: Add _isatty.
287 * libc/include/reent.h: Add _isatty_r.
288 * libc/include/sys/unistd.h: Add _isatty.
289 * libc/posix/Makefile.am: Add new _isatty.c file.
290 * libc/posix/Makefile.in: Regenerated.
291 * libc/posix/_isatty.c: New file.
292 * libc/posix/isatty.c: Changed to call _isatty().
293 * libc/reent/Makefile.am: Add new isattyr.c file.
294 * libc/reent/Makefile.in: Regenerated.
295 * libc/reent/isattyr.c: New file.
296 * libc/stdio/freopen.c: Changed to call _isatty_r().
297 * libc/stdio/makebuf.c: Ditto.
298 * libc/sys/a29khif/_isatty.S: Change isatty to _isatty.
299 * libc/sys/arc/isatty.c: Ditto.
300 * libc/sys/arm/syscalls.c: Ditto.
301 * libc/sys/d10v/syscalls.c: Ditto.
302 * libc/sys/h8300hms/syscalls.c: Ditto.
303 * libc/sys/h8500hms/syscalls.c: Ditto.
304 * libc/sys/linux/Makefile.am: Add new isatty.c file.
305 * libc/sys/linux/Makefile.in: Regenerated.
306 * libc/sys/linux/isatty.c: New file.
307 * libc/syscalls/Makefile.am: Add new sysisatty.c file.
308 * libc/syscalls/Makefile.in: Regenerated.
309 * libc/syscalls/sysisatty.c: New file.
310
7c8bd7a0
JJ
3112008-01-02 Jeff Johnston <jjohnstn@redhat.com>
312
313 * libc/syscalls/sysclose.c: Always call reentrant version of the
314 underlying syscall since one is guaranteed to exist in libc/reent.
315 * libc/syscalls/sysexecve.c: Ditto.
316 * libc/syscalls/sysfcntl.c: Ditto.
317 * libc/syscalls/sysfork.c: Ditto.
318 * libc/syscalls/sysfstat.c: Ditto.
319 * libc/syscalls/sysgetpid.c: Ditto.
320 * libc/syscalls/sysgettod.c: Ditto.
321 * libc/syscalls/syskill.c: Ditto.
322 * libc/syscalls/syslink.c: Ditto.
323 * libc/syscalls/syslseek.c: Ditto.
324 * libc/syscalls/sysopen.c: Ditto.
325 * libc/syscalls/sysread.c: Ditto.
326 * libc/syscalls/syssbrk.c: Ditto.
327 * libc/syscalls/sysstat.c: Ditto.
328 * libc/syscalls/systimes.c: Ditto.
329 * libc/syscalls/sysunlink.c: Ditto.
330 * libc/syscalls/syswait.c: Ditto.
331 * libc/syscalls/syswrite.c: Ditto.
332
26b84293
JJ
3332007-12-19 Jeff Johnston <jjohnstn@redhat.com>
334
7a44c13e
EB
335 * NEWS: Update with 1.16.0 info.
336 * README: Ditto.
337 * acinclude.m4: Change version number to 1.16.0.
338 * aclocal.m4: Regenerated.
339 * configure: Ditto.
340 * doc/aclocal.m4: Ditto.
341 * doc/configure: Ditto.
342 * libc/*/aclocal.m4: Ditto.
343 * libc/*/configure: Ditto.
344 * libc/libc.texinfo: Ditto.
345 * libm/*/aclocal.m4: Ditto.
346 * libm/*/configure: Ditto.
347 * libm/libm.texinfo: Ditto.
348 * libc/sys/linux/shared.ld: Add VERS_1.16.
26b84293 349
6af69de3
JJ
3502007-12-19 Jeff Johnston <jjohnstn@redhat.com>
351
352 * libc/string/strcasestr.c: Remove id macro.
353 * libc/sys/linux/linuxthreads/attr.c: Fix up sched_priority
354 field reference to be __sched_priority.
355 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
356 * libc/sys/linux/linuxthreads/manager.c: Ditto.
357 * libc/sys/linux/stdlib/collate.c: Remove id macro.
358 * libc/sys/linux/stdlib/collcmp.c: Ditto.
359 * libc/sys/linux/stdlib/engine.c: Ditto.
360 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
361 * libc/sys/linux/stdlib/glob.c: Ditto.
362 * libc/sys/linux/stdlib/reallocf.c: Ditto.
363 * libc/sys/linux/stdlib/regcomp.c: Ditto.
364 * libc/sys/linux/stdlib/regerror.c: Ditto.
365 * libc/sys/linux/stdlib/regexec.c: Ditto.
366 * libc/sys/linux/stdlib/regfree.c: Ditto.
367 * libc/sys/linux/sys/cdefs.h: Replace with latest version.
368 * libc/sys/linux/include/argp.h: Ditto.
369 * libc/sys/linux/sys/libc-lock.h: New file.
370 * libc/sys/linux/sys/stdint.h: Ditto.
371 * libc/sys/linux/include/sched.h: New file.
372
3cc8a378
JJ
3732007-12-19 Dave Korn <dave.korn@artimi.com>
374 Jeff Johnston <jjohnstn@redhhat.com>
375
376 * libc/include/_ansi.h: Add _LONG_LONG definition.
377 * libc/include/math.h (llrint, llrintf, rintl, lrintl, llrintl): Add
378 prototypes.
379 * libc/machine/i386/machine/fastmath.h: Add support for new i386
380 fast math versions of rint, lrint, and llrint family functions.
381 * libm/machine/i386/Makefile.am: Add new files.
382 * libm/machine/i386/Makefile.in: Regenerated.
383 * libm/machine/i386/f_llrint.c, libm/machine/i386/f_lrint.c,
384 libm/machine/i386/f_rint.c, libm/machine/i386/f_llrintf.c,
385 libm/machine/i386/f_lrintf.c, libm/machine/i386/f_rintf.c,
386 libm/machine/i386/f_llrintl.c, libm/machine/i386/f_lrintl.c,
387 libm/machine/i386/f_rintl.c: New files with fast math implementations.
388
41e94f24
JJ
3892007-12-19 Jeff Johnston <jjohnstn@redhat.com>
390
391 * libc/include/sys/features.h: Add checks for C90 compilers using
392 -ansi.
393
ac26b727
CV
3942007-12-19 Corinna Vinschen <corinna@vinschen.de>
395
396 * libc/include/wchar.h: Add prototypes for wcpcpy and wcpncpy.
397 * libc/string/Makefile.am (ELIX_SOURCES): Add wcpcpy.c and
398 wcpncpy.c.
399 (CHEWOUT_FILES): Add wcpcpy.def and wcpncpy.def.
400 * libc/string/Makefile.in: Regenerate.
401 * libc/string/wcpcpy.c: New file.
402 * libc/string/wcpncpy.c: New file.
403 * libc/string/wcstrings.tex: Add wcpcpy and wcpncpy.
404
478df8bb
CV
4052007-12-19 Corinna Vinschen <corinna@vinschen.de>
406
407 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use correct pointer in call to
408 _wcsrtombs_r.
409
60bef55d
JJ
4102007-11-19 Nick Clifton <nickc@redhat.com>
411
412 * libc/machine/mn10300/Makefile.am (CCASFLAGS): Add -Wa,--gdwarf-2.
413 * libc/machine/mn10300/Makefile.in: Regenerate.
414 * libc/machine/mn10300/memchar.S: Remove redundant labels. Add
415 .debug_frame section.
416 * libc/machine/mn10300/memcmp.S: Likewise.
417 * libc/machine/mn10300/memcpy.S: Likewise.
418 * libc/machine/mn10300/memset.S: Likewise.
419 * libc/machine/mn10300/strchr.S: Likewise.
420 * libc/machine/mn10300/strcmp.S: Likewise.
421 * libc/machine/mn10300/strcpy.S: Likewise.
422 * libc/machine/mn10300/strlen.S: Likewise.
423
4242007-11-15 Jeff Johnston <jjohnstn@redhat.com>
425
426 * libc/include/sys/_default_fcntl.h: New header file that
427 is the default version of sys/fcntl.h.
428 * libc/include/sys/fcntl.h: Changed to simply include
429 sys/_default_fcntl.h.
430 * libc/sys/arm/sys/fcntl.h: New file that includes
431 sys/_default_fcntl.h and defines O_BINARY.
432
478df8bb 4332007-11-08 Corinna Vinschen <corinna@vinschen.de>
815774e8
CV
434
435 * libc/include/sys/unistd.h: Remove Cygwin definition of MAXPATHLEN.
436
7b4cad4a
DB
4372007-11-07 Dave Brolley <brolley@redhat.com>
438
439 * libc/machine/configure: Regenerated to pick up mep-elf changes.
40617efc 440
7b4cad4a
DB
441 * Contribute mep-elf from Red Hat
442 2006-10-27 DJ Delorie <dj@redhat.com>
443
444 * libc/include/machine/setjmp.h: Add MeP support.
445
446 2003-04-17 DJ Delorie <dj@redhat.com>
447
448 * configure.host (mep-*-*): Support "long long" type.
449
450 2001-06-06 DJ Delorie <dj@redhat.com>
451
452 * libc/include/machine/ieeefp.h (mep): Support little endian too.
453
454 2001-05-14 DJ Delorie <dj@redhat.com>
455
456 * configure.host: Add mep's machine_dir.
457 * libc/include/setjmp.h: Add mep support.
458 * libc/machine/mep: New.
459 * libc/machine/mep/setjmp.S: New, support mep's setjmp/longjmp.
460
461 2001-05-04 DJ Delorie <dj@redhat.com>
462
463 * configure.host: Add mep.
464 * libc/include/machine/ieeefp.h: Ditto.
465
69bfb481
DD
4662007-10-31 DJ Delorie <dj@redhat.com>
467
468 * libc/signal/signal.c (_raise_r): Don't attempt to initialize the
469 signal table, just use a default, in case initialization cause
470 recursion.
471
2a3a02a6
JJ
4722007-10-23 Jeff Johnston <jjohnstn@redhat.com>
473
474 * libc/stdlib/wcstombs_r.c: Add SUSV2 support for calculating
475 size if output buffer is NULL.
476
70317d85
JJ
4772007-10-17 Jeff Johnston <jjohnstn@redhat.com>
478
479 * libm/mathfp/s_logarithm.c: Fix error introduced by previous
480 fix when handling negative input values. Make function
481 consistent with math directory and glibc version such that
482 inf and nan values return inf and nan respectively with no
483 errno setting.
484 * libm/mathfp/sf_logarithm.c: Ditto.
485 * libm/math/w_log.c: Set errno to ERANGE when input is 0.0.
486 * libm/math/wf_log.c: Ditto.
487 * libm/math/w_log10.c: Ditto.
488 * libm/math/wf_log10.c: Ditto.
489
923f9573
JJ
4902007-10-17 Jeff Johnston <jjohnstn@redhat.com>
491
492 * libm/mathfp/s_logarithm.c: Fix case where input is 0 to
493 return -inf.
494 * libm/mathfp/sf_logarithm.c: Ditto.
495
8b630840
JJ
4962007-10-17 Jeff Johnston <jjohnstn@redhat.com>
497
498 * libc/machine/i386/machine/fastmath.h: New file.
499
c99e78b8
EB
5002007-10-13 Eric Blake <ebb9@byu.net>
501
502 * libc/stdio/vfprintf.c (_VFPRINTF_R) [__OPTIMIZE_SIZE__]:
503 Correctly nest else within conditionals.
504 Reported by Artur Lipowski.
505
97f0a0ec
NC
5062007-10-09 Nick Clifton <nickc@redhat.com>
507
508 * libc/sys/linux/dl/do-lookup.h (FCT): Support symbols with
509 the STT_COMMON type.
510
b7bc4ccc
BE
5112007-10-09 Ben Elliston <bje@au.ibm.com>
512
513 * libm/machine/spu/headers/acosd2.h: Include spu_intrinsics.h
514 before simdmath.h to get a definition for `vector'.
515 * libm/machine/spu/headers/asind2.h: Likewise.
516
1671fbe1
JJ
5172007-09-28 Patrick Mansfield <patmans@us.ibm.com>
518
519 * libm/machine/spu/headers/dom_chkd_less_than.h: New file.
520 * libm/machine/spu/headers/dom_chkd_negone_one.h: Ditto.
521 * libm/machine/spu/headers/dom_chkf_less_than.h: Ditto.
522 * libm/machine/spu/headers/dom_chkf_negone_one.h: Ditto.
523 * libm/machine/spu/headers/acos.h: Add domain check.
524 * libm/machine/spu/headers/acosf.h: Ditto.
525 * libm/machine/spu/headers/acosh.h: Ditto.
526 * libm/machine/spu/headers/acoshf.h: Ditto.
527 * libm/machine/spu/headers/asin.h: Ditto.
528 * libm/machine/spu/headers/asinf.h: Ditto.
529 * libm/machine/spu/headers/atanh.h: Ditto.
530 * libm/machine/spu/headers/atanhf.h: Ditto.
531 * libm/machine/spu/headers/fmod.h: Ditto.
532 * libm/machine/spu/headers/fmodf.h: Ditto.
533 * libm/machine/spu/headers/log.h: Ditto.
534 * libm/machine/spu/headers/log10.h: Ditto.
535 * libm/machine/spu/headers/log1p.h: Ditto.
536 * libm/machine/spu/headers/log1pf.h: Ditto.
537 * libm/machine/spu/headers/log2.h: Ditto.
538 * libm/machine/spu/headers/log2f.h: Ditto.
539 * libm/machine/spu/headers/sqrt.h: Ditto.
540 * libm/machine/spu/headers/sqrtf.h: Ditto.
541 * libm/machine/spu/headers/tgamma.h: Ditto.
542 * libm/machine/spu/headers/tgammaf.h: Ditto.
543
e30a7b84
JJ
5442007-09-28 Patrick Mansfield <patmans@us.ibm.com>
545
546 * libm/machine/spu/Makefile.am: Add new C files.
547 * libm/machine/spu/Makefile.in: Regenerate.
548 * libm/machine/spu/headers/acos.h: New file.
549 * libm/machine/spu/headers/acosd2.h: Ditto.
550 * libm/machine/spu/headers/acosf.h: Ditto.
551 * libm/machine/spu/headers/acosf4.h: Ditto.
552 * libm/machine/spu/headers/acosh.h: Ditto.
553 * libm/machine/spu/headers/acoshd2.h: Ditto.
554 * libm/machine/spu/headers/acoshf.h: Ditto.
555 * libm/machine/spu/headers/acoshf4.h: Ditto.
556 * libm/machine/spu/headers/asin.h: Ditto.
557 * libm/machine/spu/headers/asind2.h: Ditto.
558 * libm/machine/spu/headers/asinf.h: Ditto.
559 * libm/machine/spu/headers/asinf4.h: Ditto.
560 * libm/machine/spu/headers/asinh.h: Ditto.
561 * libm/machine/spu/headers/asinhd2.h: Ditto.
562 * libm/machine/spu/headers/asinhf.h: Ditto.
563 * libm/machine/spu/headers/asinhf4.h: Ditto.
564 * libm/machine/spu/headers/atan.h: Ditto.
565 * libm/machine/spu/headers/atan2.h: Ditto.
566 * libm/machine/spu/headers/atan2d2.h: Ditto.
567 * libm/machine/spu/headers/atan2f.h: Ditto.
568 * libm/machine/spu/headers/atan2f4.h: Ditto.
569 * libm/machine/spu/headers/atand2.h: Ditto.
570 * libm/machine/spu/headers/atanf4.h: Ditto.
571 * libm/machine/spu/headers/atanh.h: Ditto.
572 * libm/machine/spu/headers/atanhd2.h: Ditto.
573 * libm/machine/spu/headers/atanhf.h: Ditto.
574 * libm/machine/spu/headers/atanhf4.h: Ditto.
575 * libm/machine/spu/headers/cos.h: Ditto.
576 * libm/machine/spu/headers/cos_sin.h: Ditto.
577 * libm/machine/spu/headers/cosd2.h: Ditto.
578 * libm/machine/spu/headers/cosf.h: Ditto.
579 * libm/machine/spu/headers/cosf4.h: Ditto.
580 * libm/machine/spu/headers/cosh.h: Ditto.
581 * libm/machine/spu/headers/coshd2.h: Ditto.
582 * libm/machine/spu/headers/coshf.h: Ditto.
583 * libm/machine/spu/headers/coshf4.h: Ditto.
584 * libm/machine/spu/headers/divd2.h: Ditto.
585 * libm/machine/spu/headers/divf4.h: Ditto.
586 * libm/machine/spu/headers/erf.h: Ditto.
587 * libm/machine/spu/headers/erf_utils.h: Ditto.
588 * libm/machine/spu/headers/erfc.h: Ditto.
589 * libm/machine/spu/headers/erfcd2.h: Ditto.
590 * libm/machine/spu/headers/erfcf.h: Ditto.
591 * libm/machine/spu/headers/erfcf4.h: Ditto.
592 * libm/machine/spu/headers/erfd2.h: Ditto.
593 * libm/machine/spu/headers/erff.h: Ditto.
594 * libm/machine/spu/headers/erff4.h: Ditto.
595 * libm/machine/spu/headers/exp.h: Ditto.
596 * libm/machine/spu/headers/exp2.h: Ditto.
597 * libm/machine/spu/headers/exp2d2.h: Ditto.
598 * libm/machine/spu/headers/exp2f4.h: Ditto.
599 * libm/machine/spu/headers/expd2.h: Ditto.
600 * libm/machine/spu/headers/expf4.h: Ditto.
601 * libm/machine/spu/headers/expm1.h: Ditto.
602 * libm/machine/spu/headers/expm1d2.h: Ditto.
603 * libm/machine/spu/headers/expm1f.h: Ditto.
604 * libm/machine/spu/headers/expm1f4.h: Ditto.
605 * libm/machine/spu/headers/floord2.h: Ditto.
606 * libm/machine/spu/headers/floorf4.h: Ditto.
607 * libm/machine/spu/headers/hypot.h: Ditto.
608 * libm/machine/spu/headers/hypotd2.h: Ditto.
609 * libm/machine/spu/headers/hypotf.h: Ditto.
610 * libm/machine/spu/headers/hypotf4.h: Ditto.
611 * libm/machine/spu/headers/isnan.h: Ditto.
612 * libm/machine/spu/headers/isnand2.h: Ditto.
613 * libm/machine/spu/headers/isnanf.h: Ditto.
614 * libm/machine/spu/headers/isnanf4.h: Ditto.
615 * libm/machine/spu/headers/ldexpd2.h: Ditto.
616 * libm/machine/spu/headers/ldexpf4.h: Ditto.
617 * libm/machine/spu/headers/lgamma.h: Ditto.
618 * libm/machine/spu/headers/lgammad2.h: Ditto.
619 * libm/machine/spu/headers/lgammaf.h: Ditto.
620 * libm/machine/spu/headers/lgammaf4.h: Ditto.
621 * libm/machine/spu/headers/log.h: Ditto.
622 * libm/machine/spu/headers/log10.h: Ditto.
623 * libm/machine/spu/headers/log10d2.h: Ditto.
624 * libm/machine/spu/headers/log1p.h: Ditto.
625 * libm/machine/spu/headers/log1pd2.h: Ditto.
626 * libm/machine/spu/headers/log1pf.h: Ditto.
627 * libm/machine/spu/headers/log1pf4.h: Ditto.
628 * libm/machine/spu/headers/log2.h: Ditto.
629 * libm/machine/spu/headers/log2d2.h: Ditto.
630 * libm/machine/spu/headers/log2f4.h: Ditto.
631 * libm/machine/spu/headers/logbf.h: Ditto.
632 * libm/machine/spu/headers/logbf4.h: Ditto.
633 * libm/machine/spu/headers/logd2.h: Ditto.
634 * libm/machine/spu/headers/logf4.h: Ditto.
635 * libm/machine/spu/headers/nearbyintf.h: Ditto.
636 * libm/machine/spu/headers/nearbyintf4.h: Ditto.
637 * libm/machine/spu/headers/nextafter.h: Ditto.
638 * libm/machine/spu/headers/nextafterd2.h: Ditto.
639 * libm/machine/spu/headers/nextafterf.h: Ditto.
640 * libm/machine/spu/headers/nextafterf4.h: Ditto.
641 * libm/machine/spu/headers/pow.h: Ditto.
642 * libm/machine/spu/headers/powd2.h: Ditto.
643 * libm/machine/spu/headers/powf.h: Ditto.
644 * libm/machine/spu/headers/powf4.h: Ditto.
645 * libm/machine/spu/headers/recipd2.h: Ditto.
646 * libm/machine/spu/headers/recipf4.h: Ditto.
647 * libm/machine/spu/headers/rintf.h: Ditto.
648 * libm/machine/spu/headers/rintf4.h: Ditto.
649 * libm/machine/spu/headers/scalbnf4.h: Ditto.
650 * libm/machine/spu/headers/signbit.h: Ditto.
651 * libm/machine/spu/headers/signbitd2.h: Ditto.
652 * libm/machine/spu/headers/simdmath.h: Ditto.
653 * libm/machine/spu/headers/sin.h: Ditto.
654 * libm/machine/spu/headers/sincos.h: Ditto.
655 * libm/machine/spu/headers/sincosd2.h: Ditto.
656 * libm/machine/spu/headers/sincosf.h: Ditto.
657 * libm/machine/spu/headers/sincosf4.h: Ditto.
658 * libm/machine/spu/headers/sind2.h: Ditto.
659 * libm/machine/spu/headers/sinf.h: Ditto.
660 * libm/machine/spu/headers/sinf4.h: Ditto.
661 * libm/machine/spu/headers/sinh.h: Ditto.
662 * libm/machine/spu/headers/sinhd2.h: Ditto.
663 * libm/machine/spu/headers/sinhf.h: Ditto.
664 * libm/machine/spu/headers/sinhf4.h: Ditto.
665 * libm/machine/spu/headers/sqrtd2.h: Ditto.
666 * libm/machine/spu/headers/sqrtf.h: Ditto.
667 * libm/machine/spu/headers/sqrtf4.h: Ditto.
668 * libm/machine/spu/headers/tan.h: Ditto.
669 * libm/machine/spu/headers/tand2.h: Ditto.
670 * libm/machine/spu/headers/tanf.h: Ditto.
671 * libm/machine/spu/headers/tanf4.h: Ditto.
672 * libm/machine/spu/headers/tanh.h: Ditto.
673 * libm/machine/spu/headers/tanhd2.h: Ditto.
674 * libm/machine/spu/headers/tanhf.h: Ditto.
675 * libm/machine/spu/headers/tanhf4.h: Ditto.
676 * libm/machine/spu/headers/tgamma.h: Ditto.
677 * libm/machine/spu/headers/tgammad2.h: Ditto.
678 * libm/machine/spu/headers/tgammaf.h: Ditto.
679 * libm/machine/spu/headers/tgammaf4.h: Ditto.
680 * libm/machine/spu/headers/truncd2.h: Ditto.
681 * libm/machine/spu/headers/truncf4.h: Ditto.
682 * libm/machine/spu/log2.c: Ditto.
683 * libm/machine/spu/s_asinh.c: Ditto.
684 * libm/machine/spu/s_atan.c: Ditto.
685 * libm/machine/spu/s_cos.c: Ditto.
686 * libm/machine/spu/s_erf.c: Ditto.
687 * libm/machine/spu/s_expm1.c: Ditto.
688 * libm/machine/spu/s_isnan.c: Ditto.
689 * libm/machine/spu/s_log1p.c: Ditto.
690 * libm/machine/spu/s_nextafter.c: Ditto.
691 * libm/machine/spu/s_sin.c: Ditto.
692 * libm/machine/spu/s_tan.c: Ditto.
693 * libm/machine/spu/s_tanh.c: Ditto.
694 * libm/machine/spu/sf_asinh.c: Ditto.
695 * libm/machine/spu/sf_cos.c: Ditto.
696 * libm/machine/spu/sf_erf.c: Ditto.
697 * libm/machine/spu/sf_expm1.c: Ditto.
698 * libm/machine/spu/sf_log1p.c: Ditto.
699 * libm/machine/spu/sf_logb.c: Ditto.
700 * libm/machine/spu/sf_nearbyint.c: Ditto.
701 * libm/machine/spu/sf_nextafter.c: Ditto.
702 * libm/machine/spu/sf_rint.c: Ditto.
703 * libm/machine/spu/sf_sin.c: Ditto.
704 * libm/machine/spu/sf_tan.c: Ditto.
705 * libm/machine/spu/sf_tanh.c: Ditto.
706 * libm/machine/spu/w_acos.c: Ditto.
707 * libm/machine/spu/w_acosh.c: Ditto.
708 * libm/machine/spu/w_asin.c: Ditto.
709 * libm/machine/spu/w_atan2.c: Ditto.
710 * libm/machine/spu/w_atanh.c: Ditto.
711 * libm/machine/spu/w_cosh.c: Ditto.
712 * libm/machine/spu/w_exp.c: Ditto.
713 * libm/machine/spu/w_exp2.c: Ditto.
714 * libm/machine/spu/w_hypot.c: Ditto.
715 * libm/machine/spu/w_lgamma.c: Ditto.
716 * libm/machine/spu/w_log.c: Ditto.
717 * libm/machine/spu/w_log10.c: Ditto.
718 * libm/machine/spu/w_pow.c: Ditto.
719 * libm/machine/spu/w_sincos.c: Ditto.
720 * libm/machine/spu/w_sinh.c: Ditto.
721 * libm/machine/spu/w_tgamma.c: Ditto.
722 * libm/machine/spu/wf_acos.c: Ditto.
723 * libm/machine/spu/wf_acosh.c: Ditto.
724 * libm/machine/spu/wf_asin.c: Ditto.
725 * libm/machine/spu/wf_atan2.c: Ditto.
726 * libm/machine/spu/wf_atanh.c: Ditto.
727 * libm/machine/spu/wf_cosh.c: Ditto.
728 * libm/machine/spu/wf_hypot.c: Ditto.
729 * libm/machine/spu/wf_lgamma.c: Ditto.
730 * libm/machine/spu/wf_pow.c: Ditto.
731 * libm/machine/spu/wf_sincos.c: Ditto.
732 * libm/machine/spu/wf_sinh.c: Ditto.
733 * libm/machine/spu/wf_sqrt.c: Ditto.
734 * libm/machine/spu/wf_tgamma.c: Ditto.
735
505ea714
JJ
7362007-09-28 Patrick Mansfield <patmans@us.ibm.com>
737
738 * configure.host: Define _POSIX_MODE to match the existing vector
739 math code, as we don't support the matherr callout.
740 * libm/machine/spu/Makefile.am: New file.
741 * libm/machine/spu/Makefile.in: Auto-generated.
742 * libm/machine/spu/headers/atanf.h: New file.
743 * libm/machine/spu/headers/cbrt.h: Ditto.
744 * libm/machine/spu/headers/cbrtf.h: Ditto.
745 * libm/machine/spu/headers/ceil.h: Ditto.
746 * libm/machine/spu/headers/ceilf.h: Ditto.
747 * libm/machine/spu/headers/copysign.h: Ditto.
748 * libm/machine/spu/headers/copysignf.h: Ditto.
749 * libm/machine/spu/headers/exp2f.h: Ditto.
750 * libm/machine/spu/headers/expf.h: Ditto.
751 * libm/machine/spu/headers/fabs.h: Ditto.
752 * libm/machine/spu/headers/fabsf.h: Ditto.
753 * libm/machine/spu/headers/fdim.h: Ditto.
754 * libm/machine/spu/headers/fdimf.h: Ditto.
755 * libm/machine/spu/headers/floor.h: Ditto.
756 * libm/machine/spu/headers/floorf.h: Ditto.
757 * libm/machine/spu/headers/fma.h: Ditto.
758 * libm/machine/spu/headers/fmaf.h: Ditto.
759 * libm/machine/spu/headers/fmax.h: Ditto.
760 * libm/machine/spu/headers/fmaxf.h: Ditto.
761 * libm/machine/spu/headers/fmin.h: Ditto.
762 * libm/machine/spu/headers/fminf.h: Ditto.
763 * libm/machine/spu/headers/fmod.h: Ditto.
764 * libm/machine/spu/headers/fmodf.h: Ditto.
765 * libm/machine/spu/headers/frexp.h: Ditto.
766 * libm/machine/spu/headers/frexpf.h: Ditto.
767 * libm/machine/spu/headers/ilogb.h: Ditto.
768 * libm/machine/spu/headers/ilogbf.h: Ditto.
769 * libm/machine/spu/headers/ldexp.h: Ditto.
770 * libm/machine/spu/headers/ldexpf.h: Ditto.
771 * libm/machine/spu/headers/llrint.h: Ditto.
772 * libm/machine/spu/headers/llrintf.h: Ditto.
773 * libm/machine/spu/headers/llround.h: Ditto.
774 * libm/machine/spu/headers/llroundf.h: Ditto.
775 * libm/machine/spu/headers/log10f.h: Ditto.
776 * libm/machine/spu/headers/log2f.h: Ditto.
777 * libm/machine/spu/headers/logf.h: Ditto.
778 * libm/machine/spu/headers/lrint.h: Ditto.
779 * libm/machine/spu/headers/lrintf.h: Ditto.
780 * libm/machine/spu/headers/lround.h: Ditto.
781 * libm/machine/spu/headers/lroundf.h: Ditto.
782 * libm/machine/spu/headers/nearbyint.h: Ditto.
783 * libm/machine/spu/headers/remainder.h: Ditto.
784 * libm/machine/spu/headers/remainderf.h: Ditto.
785 * libm/machine/spu/headers/remquo.h: Ditto.
786 * libm/machine/spu/headers/remquof.h: Ditto.
787 * libm/machine/spu/headers/rint.h: Ditto.
788 * libm/machine/spu/headers/round.h: Ditto.
789 * libm/machine/spu/headers/roundf.h: Ditto.
790 * libm/machine/spu/headers/scalbn.h: Ditto.
791 * libm/machine/spu/headers/scalbnf.h: Ditto.
792 * libm/machine/spu/headers/sqrt.h: Ditto.
793 * libm/machine/spu/headers/trunc.h: Ditto.
794 * libm/machine/spu/headers/truncf.h: Ditto.
795 * libm/machine/spu/headers/vec_literal.h: Ditto.
796 * libm/machine/spu/llrint.c: Ditto.
797 * libm/machine/spu/llrintf.c: Ditto.
798 * libm/machine/spu/llround.c: Ditto.
799 * libm/machine/spu/llroundf.c: Ditto.
800 * libm/machine/spu/log2f.c: Ditto.
801 * libm/machine/spu/s_cbrt.c: Ditto.
802 * libm/machine/spu/s_ceil.c: Ditto.
803 * libm/machine/spu/s_copysign.c: Ditto.
804 * libm/machine/spu/s_fabs.c: Ditto.
805 * libm/machine/spu/s_fdim.c: Ditto.
806 * libm/machine/spu/s_floor.c: Ditto.
807 * libm/machine/spu/s_fma.c: Ditto.
808 * libm/machine/spu/s_fmax.c: Ditto.
809 * libm/machine/spu/s_fmin.c: Ditto.
810 * libm/machine/spu/s_frexp.c: Ditto.
811 * libm/machine/spu/s_ilogb.c: Ditto.
812 * libm/machine/spu/s_ldexp.c: Ditto.
813 * libm/machine/spu/s_lrint.c: Ditto.
814 * libm/machine/spu/s_lround.c: Ditto.
815 * libm/machine/spu/s_nearbyint.c: Ditto.
816 * libm/machine/spu/s_remquo.c: Ditto.
817 * libm/machine/spu/s_rint.c: Ditto.
818 * libm/machine/spu/s_round.c: Ditto.
819 * libm/machine/spu/s_scalbn.c: Ditto.
820 * libm/machine/spu/s_trunc.c: Ditto.
821 * libm/machine/spu/sf_atan.c: Ditto.
822 * libm/machine/spu/sf_cbrt.c: Ditto.
823 * libm/machine/spu/sf_ceil.c: Ditto.
824 * libm/machine/spu/sf_copysign.c: Ditto.
825 * libm/machine/spu/sf_fabs.c: Ditto.
826 * libm/machine/spu/sf_fdim.c: Ditto.
827 * libm/machine/spu/sf_floor.c: Ditto.
828 * libm/machine/spu/sf_fma.c: Ditto.
829 * libm/machine/spu/sf_fmax.c: Ditto.
830 * libm/machine/spu/sf_fmin.c: Ditto.
831 * libm/machine/spu/sf_frexp.c: Ditto.
832 * libm/machine/spu/sf_ilogb.c: Ditto.
833 * libm/machine/spu/sf_ldexp.c: Ditto.
834 * libm/machine/spu/sf_lrint.c: Ditto.
835 * libm/machine/spu/sf_lround.c: Ditto.
836 * libm/machine/spu/sf_remquo.c: Ditto.
837 * libm/machine/spu/sf_round.c: Ditto.
838 * libm/machine/spu/sf_scalbn.c: Ditto.
839 * libm/machine/spu/sf_trunc.c: Ditto.
840 * libm/machine/spu/w_fmod.c: Ditto.
841 * libm/machine/spu/w_remainder.c: Ditto.
842 * libm/machine/spu/w_sqrt.c: Ditto.
843 * libm/machine/spu/wf_exp.c: Ditto.
844 * libm/machine/spu/wf_exp2.c: Ditto.
845 * libm/machine/spu/wf_fmod.c: Ditto.
846 * libm/machine/spu/wf_log.c: Ditto.
847 * libm/machine/spu/wf_log10.c: Ditto.
848 * libm/machine/spu/wf_remainder.c: Ditto.
c99e78b8 849
364faf91
JJ
8502007-09-21 Patrick Mansfield <patmans@us.ibm.com>
851
852 * libc/machine/spu/sys/uio.h: New file for readv and writev use.
853
2f3d28fc
JJ
8542007-09-21 Patrick Mansfield <patmans@us.ibm.com>
855
856 * libc/include/sched.h: New file, just include sys/sched.h.
857 * libc/machine/spu/sys/sched.h: New file, has just sched_yield
858 prototype.
859 * libc/machine/spu/sys/utime.h: New file, has utime prototype and
860 struct utimbuf definition.
861
63fbe1fd
JJ
8622007-09-21 Patrick Mansfield <patmans@us.ibm.com>
863
864 * libc/machine/spu/sys/dirent.h: New file, add prototypes and SPU
865 specific struct and typedef.
866
8672007-09-18 Patrick Mansfield <patmans@us.ibm.com>
cebf33e4
JJ
868
869 * libc/include/sys/types.h: Use __dev_t, __uid_t, and __gid_t to
870 typedef dev_t, gid_t, and uid_t.
871 * libc/include/sys/_types.h: Move previous dev_t, uid_t and gid_t
872 types.h code to here, but typedef __dev_t, __uid_t, and __gid_t instead.
873 Change to lower case for all __foo_t_defined names.
874 * libc/machine/spu/machine/_types.h: Add SPU specific __dev_t,
875 __uid_t, and __gid_t making them all four bytes. Change to lower case
876 for all __foo_t_defined names.
877
3908c985
JJ
8782007-09-18 Jeff Johnston <jjohnstn@redhat.com>
879
880 * libc/reent/renamer.c: New file.
881 * libc/reent/Makefile.am: Add new file.
882 * libc/reent/Makefile.in: Regenerated.
883 * libc/stdio/rename.c: Break out _rename_r code into reent/renamer.c
884 and add check for rename syscall.
885
ba21046d
EB
8862007-09-17 Eric Blake <ebb9@byu.net>
887
888 Obey POSIX on printf("%.s", (char*)NULL).
889 * libc/stdio/vfprintf.c (_VFPRINTF_R): Take precision into account
890 for %s on NULL. Skip NULL check when optimizing for size.
891
e5ae7230
JJ
8922007-09-07 Jeff Johnston <jjohnstn@redhat.com>
893
894 * libc/include/sys/_types.h: Protect all types with flag
895 checks to allow definition in machine/_types.h.
896
36fe6da6
JJ
8972007-09-07 Jeff Johnston <jjohnstn@redhat.com>
898
899 * libc/sys/linux/sys/_types.h: Add _fpos_t and _fpos64_t
900 definitions in light of the previous change.
901
9022007-09-07 Patrick Mansfield <patmans@us.ibm.com>
dde22334
JJ
903
904 * libc/include/machine/_default_types.h: New file, contains what
905 was previously in libc/include/machine/_types.h.
906 * libc/include/machine/_types.h: Now only includes
907 machine/_default_types.h.
908 * libc/include/sys/reent.h: Remove _fpos_t and _fpos64_t.
909 * libc/include/sys/_types.h: Move _fpos_t and _fpos64_t to here,
910 with conditional declarations.
911 * libc/machine/spu/machine/_types.h: New file, add SPU specific
912 typedefs for _fpos_t and _fpos64_t.
913
78e66fb9
JJ
9142007-09-07 Jeff Johnston <jjohnstn@redhat.com>
915
916 * libc/include/math.h (_M_LOG2E): Replace with..
917 (_M_LOG2_E): New macro.
918 (log2, log2f, M_LOG2_E): Use _M_LOG2_E.
919
345c1595
BD
9202007-09-06 Brian Dessent <brian@dessent.net>
921
922 * libc/reent/getreent.c: Allow for case where __getreent is
923 defined as a macro.
924
6494ee83
JJ
9252007-09-06 Jeff Johnston <jjohnstn@redhat.com>
926
927 * libc/include/math.h (_M_LOG2E): New log2 of e macro.
928 (log2): Use _M_LOG2E instead of M_LOG2E.
929 (log2f): Ditto.
930 (M_LOG2E): Define to be _M_LOG2E.
931
86a934d2
JJ
9322007-09-04 Kazunori Asayama <asayama@sm.sony.co.jp>
933
934 * libm/math/wf_tgamma.c: Add missing include.
935
6ddf8bef
JJ
9362007-08-31 Antony King <antony.king@st.com>
937
ba21046d 938 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS}: Define IEEE_Arith
6ddf8bef
JJ
939 bits and redefine associated dword0 macro (rvalue issue).
940 * libc/stdio/vfieeefp.h: Ditto.
ba21046d
EB
941 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
942 to prevent setting dword1 which is an rvalue only.
6ddf8bef 943
d4a27886
JJ
9442007-08-28 Hans Kester <hans.kester@ellips.nl>
945
946 * configure.host: Added support for x86_64.
947 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for x86_64.
948 * libc/include/machine/setjmp.h: Define _JBTYPE and _JBLEN for x86_64.
949 * libc/machine/x86_64/aclocal.m4: Generated.
950 * libc/machine/x86_64/configure.in: New.
951 * libc/machine/x86_64/configure: Generated.
952 * libc/machine/x86_64/Makefile.am: New.
953 * libc/machine/x86_64/Makefile.in: Generated.
954 * libc/machine/x86_64/setjmp.S: New.
955 * libc/machine/x86_64/memcpy.S: New.
956 * libc/machine/x86_64/memset.S: New.
957 * libc/machine/configure.in: Added support for x86_64.
958 * libc/machine/configure: Regenerated.
959
309faeb5
JJ
9602007-08-24 Jeff Johnston <jjohnstn@redhat.com>
961
962 * libm/common/sf_lround.c (lroundf): Cast sizeof calculation
963 to int before comparing it to a signed int value.
964
8d44415e
HPN
9652007-08-24 Hans-Peter Nilsson <hp@axis.com>
966
967 * libc/machine/cris/sys/errno.h (ECANCELED, ENOKEY, EKEYEXPIRED)
968 (EKEYREVOKED, EKEYREJECTED, EOWNERDEAD, ENOTRECOVERABLE, ENOTSUP):
969 Define.
970
e6e56f7c
JJ
9712007-08-23 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp>
972
973 Reduce the memory consumption of variable argument functions
974 for SPU (cell):
975 * libc/machine/spu/Makefile.am: Replace printf/scanf family C sources
976 to assembler sources.
977 * libc/machine/spu/Makefile.in: Regenerated.
978 * libc/machine/spu/stdio.c: Add __check_init function wrapping
979 CHECK_INIT macro to use from assembler routines.
980 * libc/machine/spu/c99ppe.h: Add definitions for assembler code.
981 * libc/machine/spu/fiprintf.S: New file.
982 * libc/machine/spu/fiscanf.S: Ditto.
983 * libc/machine/spu/fprintf.S: Ditto.
984 * libc/machine/spu/fscanf.S: Ditto.
985 * libc/machine/spu/iprintf.S: Ditto.
986 * libc/machine/spu/iscanf.S: Ditto.
987 * libc/machine/spu/printf.S: Ditto.
988 * libc/machine/spu/scanf.S: Ditto.
989 * libc/machine/spu/siprintf.S: Ditto.
990 * libc/machine/spu/siscanf.S: Ditto.
991 * libc/machine/spu/sniprintf.S: Ditto.
992 * libc/machine/spu/snprintf.S: Ditto.
993 * libc/machine/spu/sprintf.S: Ditto.
994 * libc/machine/spu/sscanf.S: Ditto.
995 * libc/machine/spu/stack_reg_va.S: Ditto.
996 * libc/machine/spu/syscall.def: Ditto. (for maintenance)
997 * libc/machine/spu/mk_syscalls: Ditto. (for maintenance)
998 * libc/machine/spu/fiprintf.c: Removed. (Replaced by .S)
999 * libc/machine/spu/fiscanf.c: Ditto.
1000 * libc/machine/spu/fprintf.c: Ditto.
1001 * libc/machine/spu/fscanf.c: Ditto.
1002 * libc/machine/spu/iprintf.c: Ditto.
1003 * libc/machine/spu/iscanf.c: Ditto.
1004 * libc/machine/spu/printf.c: Ditto.
1005 * libc/machine/spu/scanf.c: Ditto.
1006 * libc/machine/spu/siprintf.c: Ditto.
1007 * libc/machine/spu/siscanf.c: Ditto.
1008 * libc/machine/spu/sniprintf.c: Ditto.
1009 * libc/machine/spu/snprintf.c: Ditto.
1010 * libc/machine/spu/sprintf.c: Ditto.
1011 * libc/machine/spu/sscanf.c: Ditto.
1012
90c6084b
JJ
10132007-08-03 Ralf Corsepius <ralf.corsepius@rtems.org>
1014
1015 * libc/include/tar.h: New.
1016
8fb88162
JJ
10172007-08-03 Jeff Johnston <jjohnstn@redhat.com>
1018
1019 * libc/sys/linux/intl/Makefile.am: Change stpcpy reference to
1020 lcl_stpcpy to avoid conflict with new stpcpy.c in libc/string.
1021 * libc/sys/linux/intl/Makefile.in: Regenerated.
1022 * libc/sys/linux/intl/stpcpy.c: Renamed to...
1023 * libc/sys/linux/intl/lcl_stpcpy.c: ..this.
1024
6ddcdb9d
EB
10252007-08-02 Eric Blake <ebb9@byu.net>
1026
1027 Implement fmemopen and open_memstream.
1028 * libc/stdio/fmemopen.c (_fmemopen_r, fmemopen): New file.
1029 * libc/stdio/open_memstream.c (_open_memstream_r, open_memstream):
1030 New file.
1031 * libc/stdio/fopencookie.c (fcwriter): Minor optimization.
1032 * libc/include/stdio.h (dprintf, vdprintf): Group all POSIX 200x
1033 functions together.
1034 (fmemopen, open_memstream): Declare new functions.
1035 * libc/stdio/stdio.tex: Document them.
1036 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Add
1037 fmemopen and open_memstream.
1038 * libc/stdio/Makefile.in: Regenerate.
1039
f7c978d5
EB
10402007-07-31 Eric Blake <ebb9@byu.net>
1041
1042 More POSIX stream corner cases.
1043 * libc/stdio/findfp.c (__sinit): Open stderr read/write.
1044 * libc/stdio/fdopen.c (_fdopen_r): Set O_APPEND on fd when
1045 requested.
1046 * libc/stdio64/fdopen64.c (_fdopen64_r): Likewise.
1047
391b530a
EB
10482007-07-18 Eric Blake <ebb9@byu.net>
1049
1050 Fix 'make info'.
1051 * libc/stdio/stdio.tex: Add missing include.
1052 * libc/stdio/vfprintf.c: Use expected node name.
1053 * libc/stdio/vfscanf.c: Likewise.
1054 * libc/stdio/sscanf.c: Likewise.
1055 * libc/stdio/sprintf.c: Likewise.
1056 * libc/stdio/siscanf.c: Likewise.
1057 * libc/stdio/siprintf.c: Likewise.
1058 * libc/stdio/fopencookie.c: Quote raw {}.
1059 Reported by DJ Delorie.
1060
88c88881
EB
10612007-07-13 Eric Blake <ebb9@byu.net>
1062
08146e5a
EB
1063 Fix fflush issues.
1064 * libc/stdio/fflush.c (_fflush_r): New function.
1065 (fflush): Fix reentrancy and large offset behavior.
1066 * libc/include/stdio.h (_fflush_r): Add prototype.
1067 * libc/stdio/fclose.c (_fclose_r): All fflush callers changed.
1068 * libc/stdio/freopen.c (_freopen_r): Likewise.
1069 * libc/stdio/fseek.c (_fseek_r): Likewise.
1070 * libc/stdio/ftell.c (_ftell_r): Likewise.
1071 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
1072 * libc/stdio/refill.c (__srefill_r): Likewise.
1073 * libc/stdio/setvbuf.c (setvbuf): Likewise.
1074 * libc/stdio/ungetc.c (_ungetc_r): Likewise.
1075 * libc/stdio/vfprintf.c (__sbprintf): Likewise.
1076 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
1077 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
1078 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise. Defer to
1079 32-bit version if not large file.
1080 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
1081 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Avoid compile warning.
1082
88c88881
EB
1083 Documentation updates.
1084 * libc/stdio/ungetc.c: Document ungetc.
1085 * libc/stdio/Makefile.am (CHEWOUT_FILES): Sort, match current list
1086 of files with documentation.
1087 * libc/stdio/Makefile.in: Regenerate.
1088 * libc/stdio/stdio.tex: Sort and update stdio documentation index.
1089
c4ccbcce
JJ
10902007-07-11 Jeff Johnston <jjohnstn@redhat.com>
1091
1092 * libc/include/math.h: Fix so C99 functions/macros are accessible
1093 when -std=c99 is used when compiling and not when using C89.
1094
dec27025
CV
10952007-07-06 Corinna Vinschen <corinna@vinschen.de>
1096
1097 * libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul,
1098 wcstoull, _wcstol_r, _wcstoll_r, _wcstoul_r and _wcstoull_r.
1099 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add wcstol.c and wcstoul.c.
1100 (EXTENDED_SOURCES): Add wcstoll.c, wcstoll_r.c, wcstoull.c and
1101 wcstoull_r.c.
1102 (CHEWOUT_FILES): Add .def files accordingly.
1103 * libc/stdlib/Makefile.in: Regenerate.
1104 * libc/stdlib/stdlib.tex: Add documentation links for above functions.
1105 * libc/stdlib/strtoll.c: Fix portability note.
1106 * libc/stdlib/strtoull.c: Ditto.
1107 * libc/stdlib/wcstol.c: New file.
1108 * libc/stdlib/wcstoll.c: New file.
1109 * libc/stdlib/wcstoll_r.c: New file.
1110 * libc/stdlib/wcstoul.c: New file.
1111 * libc/stdlib/wcstoull.c: New file.
1112 * libc/stdlib/wcstoull_r.c: New file.
1113
0be2bc94
JJ
11142007-07-06 Jeff Johnston <jjohnstn@redhat.com>
1115
1116 * libc/include/sys/time.h (gettimeofday): Change to proper
1117 prototype where second parameter is void *.
1118 * libc/reent/gettimeofdayr.c (_gettimeofday_r): Change prototype
1119 accordingly.
1120 * libc/include/reent.h: Fix prototype for _gettimeofday_r.
1121 * libc/sys/arm/syscalls.c: Fix gettimeofday function signature.
1122 * libc/sys/rdos/gettod.c: Ditto.
1123 * libc/sys/sh/syscalls.c: Ditto.
1124 * libc/time/time.c (time): Change call to _gettimeofday_r
1125 to pass NULL as 2nd argument.
1126
ba9af2d7
JJ
11272007-07-06 Jeff Johnston <jjohnstn@redhat.com>
1128
1129 * libc/sys/linux/intl/dcigettext.c: Define HAVE_STPCPY.
1130 * libc/sys/linux/intl/l10nflist.c: Ditto.
1131
a3721512
CV
11322007-07-04 Corinna Vinschen <corinna@vinschen.de>
1133
1134 * libc/include/wchar.h: Add prototype for wcsxfrm.
1135 * libc/string/Makefile.am (GENERAL_SOURCES): Add wcsxfrm.c.
1136 (CHEWOUT_FILES): Add wcsxfrm.def.
1137 * libc/string/Makefile.in: Regenerate.
1138 * libc/string/wcsxfrm.c: New file.
1139 * libc/string/wcstrings.tex: Add wcsxfrm.
1140
5d8b97a6
CV
11412007-06-28 Corinna Vinschen <corinna@vinschen.de>
1142
1143 * libc/include/string.h: Add prototypes for stpcpy and stpncpy.
1144 * libc/string/Makefile.am (ELIX_SOURCES): Add stpcpy.c and
1145 stpncpy.c.
1146 (CHEWOUT_FILES): Add stpcpy.def and stpncpy.def.
1147 * libc/string/Makefile.in: Regenerate.
1148 * libc/string/stpcpy.c: New file.
1149 * libc/string/stpncpy.c: New file.
1150 * libc/string/strings.tex: Add stpcpy and stpncpy.
1151
3473e6bd
EB
11522007-06-27 Eric Blake <ebb9@byu.net>
1153
1154 Support __func__ in assert, as required by C99.
1155 * libc/stdlib/assert.c (__assert_func): New function.
1156 (__assert): Use __assert_func.
1157 * libc/include/assert.h (assert) [!NDEBUG]: Use __assert_func when
1158 possible.
1159
be977229
JJ
11602007-06-20 Patrick Mansfield <patmans@us.ibm.com>
1161
1162 * libc/machine/spu/perror.c: Pass errno as the second argument to
1163 the assist call.
1164
d360ef18
JJ
11652007-06-20 Patrick Mansfield <patmans@us.ibm.com>
1166
1167 * libc/include/sys/unistd.h[__SPU__]: Add lockf prototype and related
1168 defines; expose ftruncate, truncate and sync prototypes.
1169
f75c7518
JJ
11702007-06-20 Patrick Mansfield <patmans@us.ibm.com>
1171
1172 * libc/include/sys/unistd.h[__SPU__]: Make fchdir prototype visible.
3473e6bd 1173 * libc/include/sys/stat.h[__SPU__]: Make mknod and lstat prototypes
f75c7518
JJ
1174 visible.
1175
438b07b0
JJ
11762007-06-15 Patrick Mansfield <patmans@us.ibm.com>
1177
1178 * libc/machine/spu/Makefile.am: Remove mktemp.c, it was left in
1179 from a dropped patch.
1180 * libc/machine/spu/Makefile.in: Regenerate.
1181
c33ff785
JJ
11822007-06-13 Patrick Mansfield <patmans@us.ibm.com>
1183
1184 * libc/machine/spu/creat.c: New file copied from libc/posix/creat.c,
3473e6bd 1185 it just calls open with appropriate arguments.
c33ff785
JJ
1186 * libc/machine/spu/Makefile.am: Add creat.c.
1187 * libc/machine/spu/Makefile.in: Regenerate.
1188
ae473bdc
JJ
11892007-06-13 Jeff Johnston <jjohnstn@redhat.com>
1190
1191 * libc/machine/spu/Makefile.am: Re-add back setjmp.S which
1192 I accidentally dropped.
1193 * libc/machine/spu/Makefile.in: Regenerated.
1194
a8b08518
JJ
11952007-06-13 Patrick Mansfield <patmans@us.ibm.com>
1196
1197 * libc/include/sys/features.h: Define _POSIX_TIMERS for spu.
1198 * libc/include/sys/unistd.h: Change usleep prototype to Posix
1199 form and move outside of OS flag checks.
1200 * libc/machine/spu/Makefile.am: Add sleep and usleep.
1201 * libc/machine/spu/Makefile.in: Regenerate.
1202 * libc/machine/spu/sleep.c: Copy libc/posix/sleep.c.
1203 * libc/machine/spu/usleep.c: Copy libc/posix/usleep.c.
1204
f4cd2a1d
CV
12052007-06-11 Corinna Vinschen <corinna@vinschen.de>
1206
1207 * libc/include/sys/unistd.h: Declare confstr for Cygwin.
1208 Define confstr constants for Cygwin. Add comment.
1209
32f67ec6
HPN
12102007-06-10 Hans-Peter Nilsson <hp@bitrange.com>
1211
1212 * libc/sys/mmixware/access.c (access): Do not try to use a magic
1213 file-handle and a direct syscall, just use _open.
1214 * libc/sys/mmixware/sys/syscall.h (TMPFNO): Remove this magic
1215 file-handle.
1216
1217 * libc/sys/mmixware/_exit.c (_exit): Update comment about
1218 passing on the exit value.
1219
6fb37475
JJ
12202007-06-08 Jeff Johnston <jjohnstn@redhat.com>
1221
1222 * libc/string/strcasestr.c: New file.
1223 * libc/include/string.h: Add strcasestr.
1224 * libc/string/strings.tex: Add strcasestr.
1225 * libc/string/Makefile.am: Ditto.
1226 * libc/string/Makefile.in: Regenerated.
1227
1eeaeab8
JJ
12282007-06-06 Christian Groessler <chris@groessler.org>
1229
1230 * libc/stdlib/ldtoa (_ldcheck): Make sure the setting of
1231 rnd is done after the last local variable declaration.
1232
12332007-06-06 Jeff Johnston <jjohnstn@redhat.com>
1234
1235 * libc/stdlib/mprec.h[Just_16]: Make sure that Pack_16 is defined.
1236
a5da131d
JJ
12372007-06-05 Christian Groessler <chris@groessler.org>
1238
3473e6bd 1239 * libc/argz/argz_insert.c (argz_insert): Move delta variable
a874abaf 1240 declaration to top of function in keeping with C89 standard.
a5da131d 1241
17c61d6a
EB
12422007-06-04 Eric Blake <ebb9@byu.net>
1243
1244 Implement funopen, fopencookie.
1245 * libc/include/sys/reent.h (struct __sFILE, struct __sFILE64):
1246 Switch to reentrant callbacks.
1247 * libc/include/stdio.h (funopen): Fix declaration.
1248 (fopencookie): Declare.
1249 * libc/stdio/local.h (__sread, __swrite, __sseek, __sclose)
1250 (__sseek64, __swrite64): Fix prototypes.
1251 [__SCLE]: Pull in setmode declaration.
1252 * libc/stdio/stdio.c (__sread, __swrite, __sseek, __sclose): Fix
1253 reentrancy.
1254 * libc/stdio64/stdio64.c (__sseek64_r, __swrite64_r): Delete.
1255 (__sseek64, __swrite64): Fix reentrancy.
1256 * libc/stdio/fseek.c (_fseek_r): Account for overflow, and fix
1257 reentrancy.
1258 * libc/stdio/ftell.c (_ftell_r): Likewise.
1259 * libc/stdio/flags.c (__sflags): Don't lose __SAPP on "a+".
1260 * libc/stdio/fclose.c (_fclose_r): Fix reentrancy.
1261 * libc/stdio/freopen.c (_freopen_r): Likewise.
1262 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
1263 * libc/stdio/refill.c (__srefill_r): Likewise.
1264 * libc/stdio/siscanf.c (eofread): Likewise.
1265 * libc/stdio/sscanf.c (eofread): Likewise.
1266 * libc/stdio/vsiscanf.c (eofread1): Likewise.
1267 * libc/stdio/vsscanf.c (eofread1): Likewise.
1268 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
1269 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
1270 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
1271 * libc/stdio/fflush.c (fflush): Improve reentrancy, although more
1272 could be fixed.
1273 * libc/stdio/fopencookie.c (_fopencookie_r, fopencookie): New file.
1274 * libc/stdio/funopen.c (_funopen_r, funopen): New file.
1275 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Build
1276 new files.
1277 * libc/stdio/Makefile.in: Regenerate.
1278
b2064783
EB
12792007-05-29 Eric Blake <ebb9@byu.net>
1280
1281 Avoid more compiler warnings.
1282 * libc/stdlib/btowc.c: Add missing header.
1283 * libc/stdlib/getopt.c (getopt_internal): Initialize variable.
1284 * libc/stdlib/system.c (do_system) [__CYGWIN__]: Add declaration.
1285 * libc/stdlib/wctob.c: Add missing header.
1286 * libc/string/strcpy.c (strcpy): Avoid warnings.
1287 * libc/string/strrchr.c (strrchr): Likewise.
1288
76a2ee78
CV
12892007-05-29 Corinna Vinschen <corinna@vinschen.de>
1290
1291 * libc/argz/argz_add_sep.c (argz_add_sep): Handle empty string
1292 argument.
1293 * libc/argz/argz_append.c (argz_append): Handle empty buf argument.
1294 * libc/argz/argz_create_sep.c (argz_create_sep): Return (NULL, 0)
1295 on empty input strings.
1296 * libc/argz/argz_extract.c (argz_extract): Check argz_len before
1297 looping through argz.
1298 * libc/argz/argz_stringify.c (argz_stringify): Ditto.
1299
75acf0bb
EB
13002007-05-27 Brian Dessent <brian@dessent.net>
1301
1302 * libc/stdio/vfprintf.c (_VFPRINTF_R): Populate 'ox' when
1303 handling %p.
1304
f5c58e9a
EB
13052007-05-25 Eric Blake <ebb9@byu.net>
1306
1307 * libc/stdio/rewind.c (rewind): Fix regression of 2003-08-22.
1308
d9a1ecc0 13092007-05-24 Steve Ellcey <sje@cup.hp.com>
f5c58e9a 1310 Charles Wilson <libtool@cwilson.fastmail.fm>
d9a1ecc0
SE
1311
1312 * libtool.m4: removed
1313 * configure.in: invoke _LD_DECL_SED before conditionally initializing
1314 libtool. Move AC_PROG_AWK outside conditional.
1315 * libc/sys/linux/configure.in: Ditto.
1316 * libc/sys/linux/linuxthreads/configure.in: Ditto.
1317 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
1318 * libc/sys/linux/machine/i386/configure.in: Ditto.
1319
1320 * iconvdata/configure.in: invoke _LD_DECL_SED before conditionally
1321 initializing libtool.
1322 * libc/configure.in: Ditto.
1323 * libc/machine/configure.in: Ditto.
1324 * libc/machine/i386/configure.in: Ditto.
1325 * libc/sys/configure.in: Ditto.
1326 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
1327 * libc/sys/linux/machine/configure.in: Ditto.
1328 * libm/configure.in: Ditto.
1329 * libm/machine/configure.in: Ditto.
1330
1331 * Makefile.am: Ensure toplevel is included in ACLOCAL_AMFLAGS.
1332 * doc/Makefile.am: Ditto.
1333 * iconvdata/Makefile.am: Ditto.
1334 * libc/Makefile.am: Ditto.
1335 * libc/machine/Makefile.am: Ditto.
1336 * libc/machine/a29k/Makefile.am: Ditto.
1337 * libc/machine/arm/Makefile.am: Ditto.
1338 * libc/machine/bfin/Makefile.am: Ditto.
1339 * libc/machine/cris/Makefile.am: Ditto.
1340 * libc/machine/crx/Makefile.am: Ditto.
1341 * libc/machine/d10v/Makefile.am: Ditto.
1342 * libc/machine/d30v/Makefile.am: Ditto.
1343 * libc/machine/fr30/Makefile.am: Ditto.
1344 * libc/machine/frv/Makefile.am: Ditto.
1345 * libc/machine/h8300/Makefile.am: Ditto.
1346 * libc/machine/h8500/Makefile.am: Ditto.
1347 * libc/machine/hppa/Makefile.am: Ditto.
1348 * libc/machine/i386/Makefile.am: Ditto.
1349 * libc/machine/i960/Makefile.am: Ditto.
1350 * libc/machine/iq2000/Makefile.am: Ditto.
1351 * libc/machine/m32c/Makefile.am: Ditto.
1352 * libc/machine/m32r/Makefile.am: Ditto.
1353 * libc/machine/m68hc11/Makefile.am: Ditto.
1354 * libc/machine/m68k/Makefile.am: Ditto.
1355 * libc/machine/m88k/Makefile.am: Ditto.
1356 * libc/machine/mips/Makefile.am: Ditto.
1357 * libc/machine/mn10200/Makefile.am: Ditto.
1358 * libc/machine/mn10300/Makefile.am: Ditto.
1359 * libc/machine/mt/Makefile.am: Ditto.
1360 * libc/machine/necv70/Makefile.am: Ditto.
1361 * libc/machine/powerpc/Makefile.am: Ditto.
1362 * libc/machine/sh/Makefile.am: Ditto.
1363 * libc/machine/sparc/Makefile.am: Ditto.
1364 * libc/machine/spu/Makefile.am: Ditto.
1365 * libc/machine/tic4x/Makefile.am: Ditto.
1366 * libc/machine/tic80/Makefile.am: Ditto.
1367 * libc/machine/v850/Makefile.am: Ditto.
1368 * libc/machine/w65/Makefile.am: Ditto.
1369 * libc/machine/xscale/Makefile.am: Ditto.
1370 * libc/machine/xstormy16/Makefile.am: Ditto.
1371 * libc/machine/z8k/Makefile.am: Ditto.
1372 * libc/sys/Makefile.am: Ditto.
1373 * libc/sys/a29khif/Makefile.am: Ditto.
1374 * libc/sys/arc/Makefile.am: Ditto.
1375 * libc/sys/arm/Makefile.am: Ditto.
1376 * libc/sys/d10v/Makefile.am: Ditto.
1377 * libc/sys/decstation/Makefile.am: Ditto.
1378 * libc/sys/h8300hms/Makefile.am: Ditto.
1379 * libc/sys/h8500hms/Makefile.am: Ditto.
1380 * libc/sys/linux/Makefile.am: Ditto.
1381 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
1382 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
1383 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
1384 * libc/sys/linux/machine/Makefile.am: Ditto.
1385 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
1386 * libc/sys/m88kbug/Makefile.am: Ditto.
1387 * libc/sys/mmixware/Makefile.am: Ditto.
1388 * libc/sys/netware/Makefile.am: Ditto.
1389 * libc/sys/rdos/Makefile.am: Ditto.
1390 * libc/sys/rtems/Makefile.am: Ditto.
1391 * libc/sys/sh/Makefile.am: Ditto.
1392 * libc/sys/sparc64/Makefile.am: Ditto.
1393 * libc/sys/sun4/Makefile.am: Ditto.
1394 * libc/sys/sysmec/Makefile.am: Ditto.
1395 * libc/sys/sysnec810/Makefile.am: Ditto.
1396 * libc/sys/sysnecv850/Makefile.am: Ditto.
1397 * libc/sys/sysvi386/Makefile.am: Ditto.
1398 * libc/sys/sysvnecv70/Makefile.am: Ditto.
1399 * libc/sys/tic80/Makefile.am: Ditto.
1400 * libc/sys/w65/Makefile.am: Ditto.
1401 * libc/sys/z8ksim/Makefile.am: Ditto.
1402 * libm/Makefile.am: Ditto.
1403 * libm/machine/Makefile.am: Ditto.
1404 * libm/machine/i386/Makefile.am: Ditto.
1405 * libm/machine/spu/Makefile.am: Ditto.
1406
1407 * aclocal.m4: Regenerate.
1408 * iconvdata/aclocal.m4: Regenerate.
1409 * libc/aclocal.m4: Regenerate.
1410 * libc/machine/aclocal.m4: Regenerate.
1411 * libc/machine/i386/aclocal.m4: Regenerate.
1412 * libc/sys/aclocal.m4: Regenerate.
1413 * libc/sys/linux/aclocal.m4: Regenerate.
1414 * libc/sys/linux/linuxthreads/aclocal.m4: Regenerate.
1415 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Regenerate.
1416 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Regenerate.
1417 * libc/sys/linux/machine/aclocal.m4: Regenerate.
1418 * libc/sys/linux/machine/i386/aclocal.m4: Regenerate.
1419 * libm/aclocal.m4: Regenerate.
1420 * libm/machine/aclocal.m4: Regenerate.
1421 * libm/machine/i386/aclocal.m4: Regenerate.
1422
1423 * Makefile.in: Regenerate.
1424 * doc/Makefile.in: Regenerate.
1425 * iconvdata/Makefile.in: Regenerate.
1426 * libc/Makefile.in: Regenerate.
1427 * libc/argz/Makefile.in: Regenerate.
1428 * libc/ctype/Makefile.in: Regenerate.
1429 * libc/errno/Makefile.in: Regenerate.
1430 * libc/iconv/Makefile.in: Regenerate.
1431 * libc/iconv/ccs/Makefile.in: Regenerate.
1432 * libc/iconv/ccs/binary/Makefile.in: Regenerate.
1433 * libc/iconv/ces/Makefile.in: Regenerate.
1434 * libc/iconv/lib/Makefile.in: Regenerate.
1435 * libc/locale/Makefile.in: Regenerate.
1436 * libc/machine/Makefile.in: Regenerate.
1437 * libc/machine/a29k/Makefile.in: Regenerate.
1438 * libc/machine/arm/Makefile.in: Regenerate.
1439 * libc/machine/bfin/Makefile.in: Regenerate.
1440 * libc/machine/cris/Makefile.in: Regenerate.
1441 * libc/machine/crx/Makefile.in: Regenerate.
1442 * libc/machine/d10v/Makefile.in: Regenerate.
1443 * libc/machine/d30v/Makefile.in: Regenerate.
1444 * libc/machine/fr30/Makefile.in: Regenerate.
1445 * libc/machine/frv/Makefile.in: Regenerate.
1446 * libc/machine/h8300/Makefile.in: Regenerate.
1447 * libc/machine/h8500/Makefile.in: Regenerate.
1448 * libc/machine/hppa/Makefile.in: Regenerate.
1449 * libc/machine/i386/Makefile.in: Regenerate.
1450 * libc/machine/i960/Makefile.in: Regenerate.
1451 * libc/machine/iq2000/Makefile.in: Regenerate.
1452 * libc/machine/m32c/Makefile.in: Regenerate.
1453 * libc/machine/m32r/Makefile.in: Regenerate.
1454 * libc/machine/m68hc11/Makefile.in: Regenerate.
1455 * libc/machine/m68k/Makefile.in: Regenerate.
1456 * libc/machine/m88k/Makefile.in: Regenerate.
1457 * libc/machine/mips/Makefile.in: Regenerate.
1458 * libc/machine/mn10200/Makefile.in: Regenerate.
1459 * libc/machine/mn10300/Makefile.in: Regenerate.
1460 * libc/machine/mt/Makefile.in: Regenerate.
1461 * libc/machine/necv70/Makefile.in: Regenerate.
1462 * libc/machine/powerpc/Makefile.in: Regenerate.
1463 * libc/machine/sh/Makefile.in: Regenerate.
1464 * libc/machine/sparc/Makefile.in: Regenerate.
1465 * libc/machine/spu/Makefile.in: Regenerate.
1466 * libc/machine/tic4x/Makefile.in: Regenerate.
1467 * libc/machine/tic80/Makefile.in: Regenerate.
1468 * libc/machine/v850/Makefile.in: Regenerate.
1469 * libc/machine/w65/Makefile.in: Regenerate.
1470 * libc/machine/xscale/Makefile.in: Regenerate.
1471 * libc/machine/xstormy16/Makefile.in: Regenerate.
1472 * libc/machine/z8k/Makefile.in: Regenerate.
1473 * libc/misc/Makefile.in: Regenerate.
1474 * libc/posix/Makefile.in: Regenerate.
1475 * libc/reent/Makefile.in: Regenerate.
1476 * libc/search/Makefile.in: Regenerate.
1477 * libc/signal/Makefile.in: Regenerate.
1478 * libc/stdio/Makefile.in: Regenerate.
1479 * libc/stdio64/Makefile.in: Regenerate.
1480 * libc/stdlib/Makefile.in: Regenerate.
1481 * libc/string/Makefile.in: Regenerate.
1482 * libc/sys/Makefile.in: Regenerate.
1483 * libc/sys/a29khif/Makefile.in: Regenerate.
1484 * libc/sys/arc/Makefile.in: Regenerate.
1485 * libc/sys/arm/Makefile.in: Regenerate.
1486 * libc/sys/d10v/Makefile.in: Regenerate.
1487 * libc/sys/decstation/Makefile.in: Regenerate.
1488 * libc/sys/h8300hms/Makefile.in: Regenerate.
1489 * libc/sys/h8500hms/Makefile.in: Regenerate.
1490 * libc/sys/linux/Makefile.in: Regenerate.
1491 * libc/sys/linux/argp/Makefile.in: Regenerate.
1492 * libc/sys/linux/cmath/Makefile.in: Regenerate.
1493 * libc/sys/linux/dl/Makefile.in: Regenerate.
1494 * libc/sys/linux/iconv/Makefile.in: Regenerate.
1495 * libc/sys/linux/intl/Makefile.in: Regenerate.
1496 * libc/sys/linux/linuxthreads/Makefile.in: Regenerate.
1497 * libc/sys/linux/linuxthreads/machine/Makefile.in: Regenerate.
1498 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerate.
1499 * libc/sys/linux/machine/Makefile.in: Regenerate.
1500 * libc/sys/linux/machine/i386/Makefile.in: Regenerate.
1501 * libc/sys/linux/net/Makefile.in: Regenerate.
1502 * libc/sys/linux/stdlib/Makefile.in: Regenerate.
1503 * libc/sys/m88kbug/Makefile.in: Regenerate.
1504 * libc/sys/mmixware/Makefile.in: Regenerate.
1505 * libc/sys/netware/Makefile.in: Regenerate.
1506 * libc/sys/rdos/Makefile.in: Regenerate.
1507 * libc/sys/rtems/Makefile.in: Regenerate.
1508 * libc/sys/sh/Makefile.in: Regenerate.
1509 * libc/sys/sparc64/Makefile.in: Regenerate.
1510 * libc/sys/sun4/Makefile.in: Regenerate.
1511 * libc/sys/sysmec/Makefile.in: Regenerate.
1512 * libc/sys/sysnec810/Makefile.in: Regenerate.
1513 * libc/sys/sysnecv850/Makefile.in: Regenerate.
1514 * libc/sys/sysvi386/Makefile.in: Regenerate.
1515 * libc/sys/sysvnecv70/Makefile.in: Regenerate.
1516 * libc/sys/tic80/Makefile.in: Regenerate.
1517 * libc/sys/w65/Makefile.in: Regenerate.
1518 * libc/sys/z8ksim/Makefile.in: Regenerate.
1519 * libc/syscalls/Makefile.in: Regenerate.
1520 * libc/time/Makefile.in: Regenerate.
1521 * libc/unix/Makefile.in: Regenerate.
1522 * libm/Makefile.in: Regenerate.
1523 * libm/common/Makefile.in: Regenerate.
1524 * libm/machine/Makefile.in: Regenerate.
1525 * libm/machine/i386/Makefile.in: Regenerate.
1526 * libm/machine/spu/Makefile.in: Regenerate.
1527 * libm/math/Makefile.in: Regenerate.
1528 * libm/mathfp/Makefile.in: Regenerate.
1529
1530 * configure: Regenerate.
1531 * iconvdata/configure: Regenerate.
1532 * libc/configure: Regenerate.
1533 * libc/machine/configure: Regenerate.
1534 * libc/machine/i386/configure: Regenerate.
1535 * libc/sys/configure: Regenerate.
1536 * libc/sys/linux/configure: Regenerate.
1537 * libc/sys/linux/linuxthreads/configure: Regenerate.
1538 * libc/sys/linux/linuxthreads/machine/configure: Regenerate.
1539 * libc/sys/linux/linuxthreads/machine/i386/configure: Regenerate.
1540 * libc/sys/linux/machine/configure: Regenerate.
1541 * libc/sys/linux/machine/i386/configure: Regenerate.
1542 * libm/configure: Regenerate.
1543 * libm/machine/configure: Regenerate.
1544 * libm/machine/i386/configure: Regenerate.
1545
aa5341f9
EB
15462007-05-23 Eric Blake <ebb9@byu.net>
1547
1548 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't truncate %p when
1549 sizeof(void*) is 8 but sizeof(long) is 4.
1550 * libc/stdio/vfscanf.c (__SVFSCANF_R): Likewise. Fix %i scanning
1551 of "-0x". Support "-nan" and "inf" for %e. Audit usage of ungetc
1552 to fix reentrancy and bug on encoding error in multibyte locales.
1553 Always return EOF on read error.
1554
4a9880e0
JJ
15552007-05-23 Patrick Mansfield <patmans@us.ibm.com>
1556
1557 * libc/machine/spu/sys/syscall.h: Update the __send_to_ppe
1558 prototype.
1559 * libc/machine/spu/fclose.c: Use the __send_to_ppe return value
1560 instead of the slot 0 value, remove any now unused variables, and
1561 for some cases, now store the result in an int vs int*.
1562 * libc/machine/spu/feof.c: Ditto.
1563 * libc/machine/spu/ferror.c: Ditto.
1564 * libc/machine/spu/fflush.c: Ditto.
1565 * libc/machine/spu/fgetc.c: Ditto.
1566 * libc/machine/spu/fgetpos.c: Ditto.
1567 * libc/machine/spu/fgets.c: Ditto.
1568 * libc/machine/spu/fileno.c: Ditto.
1569 * libc/machine/spu/fopen.c: Ditto.
1570 * libc/machine/spu/fprintf.c: Ditto.
1571 * libc/machine/spu/fputc.c: Ditto.
1572 * libc/machine/spu/fputs.c: Ditto.
1573 * libc/machine/spu/fread.c: Ditto.
1574 * libc/machine/spu/freopen.c: Ditto.
1575 * libc/machine/spu/fscanf.c: Ditto.
1576 * libc/machine/spu/fseek.c: Ditto.
1577 * libc/machine/spu/fsetpos.c: Ditto.
1578 * libc/machine/spu/ftell.c: Ditto.
1579 * libc/machine/spu/fwrite.c: Ditto.
1580 * libc/machine/spu/getc.c: Ditto.
1581 * libc/machine/spu/getchar.c: Ditto.
1582 * libc/machine/spu/gets.c: Ditto.
1583 * libc/machine/spu/printf.c: Ditto.
1584 * libc/machine/spu/putc.c: Ditto.
1585 * libc/machine/spu/putchar.c: Ditto.
1586 * libc/machine/spu/puts.c: Ditto.
1587 * libc/machine/spu/remove.c: Ditto.
1588 * libc/machine/spu/rename.c: Ditto.
1589 * libc/machine/spu/scanf.c: Ditto.
1590 * libc/machine/spu/setvbuf.c: Ditto.
1591 * libc/machine/spu/snprintf.c: Ditto.
1592 * libc/machine/spu/sprintf.c: Ditto.
1593 * libc/machine/spu/sscanf.c: Ditto.
1594 * libc/machine/spu/tmpfile.c: Ditto.
1595 * libc/machine/spu/tmpnam.c: Ditto.
1596 * libc/machine/spu/ungetc.c: Ditto.
1597 * libc/machine/spu/vfprintf.c: Ditto.
1598 * libc/machine/spu/vfscanf.c: Ditto.
1599 * libc/machine/spu/vprintf.c: Ditto.
1600 * libc/machine/spu/vscanf.c: Ditto.
1601 * libc/machine/spu/vsnprintf.c: Ditto.
1602 * libc/machine/spu/vsprintf.c: Ditto.
1603 * libc/machine/spu/vsscanf.c: Ditto.
1604
9a3ec862
EB
16052007-05-23 Eric Blake <ebb9@byu.net>
1606
1607 * libc/stdio/vfscanf.c (__SVFSCANF_R): Support scanf(%1$s).
1608 Avoid warning when !FLOATING_POINT.
1609 * libc/stdio/vfprintf.c (_VFPRINTF_R): Simplify _NO_POS_ARGS
1610 slightly.
1611
d48670ed
CV
16122007-05-23 Corinna Vinschen <vinschen@redhat.com>
1613
1614 * libc/argz/argz_create_sep.c (argz_create_sep): Initialize *argz_len
1615 to zero.
1616 * libc/include/argz.h: Guard against multiple inclusion. Guard for
1617 use with C++.
1618
8aab2bc2
EB
16192007-05-18 Eric Blake <ebb9@byu.net>
1620
1621 * libc/stdio/vfprintf.c [_WANT_IO_LONG_LONG]: Allow non-gcc
1622 compilers.
1623 * libc/stdio/vfscanf.c: Likewise.
1624
b2250c70
JJ
16252007-05-17 Cary R. <cygcary <at> yahoo.com>
1626
1627 * libm/math/w_atan2.c: Fix atan2 to be consistent with glibc
1628 (atan2(+0,-0), atan2(-0,-0) and atan(-0,+0))
1629 * libm/math/wf_atan2.c: Ditto.
1630
8aab2bc2 16312007-05-17 Yaakov Selkowitz <yselkowitz <at> users.sourceforge.net>
e0500490
JJ
1632
1633 * libm/common/Makefile.am: Add support for exp10, exp10f,
1634 pow10, and pow10f functions.
1635 * libm/common/Makefile.in: Regenerated.
1636 * libm/common/s_pow10.c: New file.
1637 * libm/common/sf_pow10.c: Ditto.
1638 * libm/common/s_exp10.c: Ditto.
1639 * libm/common/sf_exp10.c: Ditto.
1640 * libc/include/math.h [!pow10]: New pow10 prototype.
1641 [!pow10f]: New pow10f prototype.
1642 [!exp10]: New exp10 prototype.
1643 [!exp10f]: New exp10f prototype.
1644
487e9075
EB
16452007-05-17 Charles Wilson <cygwin@...>
1646
1647 * stdio/tmpfile.c: Include <sys/stat.h>.
1648 * stdio64/tmpfile64.c: Ditto.
1649
f6560775
EB
16502007-05-16 Eric Blake <ebb9@byu.net>
1651
d009633d
EB
1652 Close security hole in tmpfile.
1653 * libc/stdio/tmpfile.c (_tmpfile_r): Avoid window between filename
1654 generation and opening the fd.
1655 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Likewise.
1656
895d76fe
EB
1657 * libc/include/math.h (INFINITY, NAN, FP_ILOGB0, FP_ILOGBNAN)
1658 (MATH_ERRNO, MATH_ERREXCEPT, math_errhandling): Add macros
1659 required by POSIX.
1660 * libc/stdlib/ldtoa.c (USE_INFINITY): Rename from INFINITY, to
1661 avoid clash with <math.h>.
1662
f6560775
EB
1663 * libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin.
1664 * libc/search/hash.c (__hash_open): Likewise.
1665
34507ce0
EB
16662007-05-14 Eric Blake <ebb9@byu.net>
1667
1668 Reduce stack size of *printf.
1669 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix use of decimal point
1670 in %f. Avoid malloc when possible for %S.
1671 (BUF): Improve stack locality by using smaller size.
1672 (MAXEXPLEN, _PRINTF_FLOAT_TYPE): Define.
1673 (exponent): Use smaller stack size.
1674
b8a37af9
EB
16752007-05-11 Eric Blake <ebb9@byu.net>
1676
0962fe91
EB
1677 Minimize printf/scanf size on platforms that don't need C99.
1678 * acconfig.h (_WANT_IO_C99_FORMATS): New macro.
1679 * newlib.hin (_WANT_IO_C99_FORMATS): Likewise.
1680 * configure.in (newlib-io-c99-formats): New configure option.
1681 (_WANT_IO_C99_FORMATS): Define appropriately.
1682 * configure.host (*-linux*, cygwin): Default c99-formats to yes.
1683 * libc/stdio/vfprintf.c (_VFPRINTF_R) [!_WANT_IO_C99_FORMATS]:
1684 Cripple ' flag; hh, z, j, t sizes; a, A, F, C, S specifiers.
1685 * libc/stdio/vfscanf.c (_VFSCANF_R) [!_WANT_IO_C99_FORMATS]:
1686 Likewise.
1687 * configure: Regenerate.
1688
b8a37af9
EB
1689 * libc/stdio/vfprintf.c (_VFPRINTF_R, cvt, exponent, chclass)
1690 (get_arg): Support '%a' and '%A'.
1691
81274c67
EB
16922007-05-09 Eric Blake <ebb9@byu.net>
1693
1694 Allow zero size with non-null buf in *asnprintf.
1695 * libc/stdio/asnprintf.c (_asnprintf_r, asnprintf): Avoid free'ing
1696 user's buf.
1697 * libc/stdio/asniprintf.c (_asniprintf_r, asniprintf): Likewise.
1698 * libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
1699 * libc/stdio/vasnprintf.c (_vasnprintf_r): Likewise.
1700
38ed4e51
EB
17012007-05-07 Charles Wilson <cygwin@...>
1702
1703 * libc/stdio/vfprintf.c: Fix typo in comments that breaks docs.
1704
b9db5292
EB
17052007-05-03 Eric Blake <ebb9@byu.net>
1706
1707 Add support for asnprintf, and improve *printf documentation.
1708 * libc/stdio/Makefile.am (ELIX_SOURCES): Rename...
1709 (ELIX_2_SOURCES): ...to this.
1710 (ELIX_4_SOURCES): Add new variable. Build asnprintf.
1711 (GENERAL_SOURCES): Move dprintf to ELIX_4_SOURCES.
1712 (CHEWOUT_FILES): Include diprintf in documentation.
1713 * libc/stdio/Makefile.in: Regenerate.
1714 * libc/stdio/diprintf.c: Improve documentation.
1715 * libc/stdio/dprintf.c: Likewise.
1716 * libc/stdio/siprintf.c: Likewise.
1717 * libc/stdio/sprintf.c: Likewise.
1718 * libc/stdio/vfprintf.c: Likewise.
1719 * libc/stdio/viprintf.c: Likewise.
1720 * libc/stdio/vsniprintf.c: Consolidate documentation.
1721 * libc/stdio/asiprintf.c: Refer to documentation.
1722 * libc/stdio/asprintf.c: Likewise.
1723 * libc/stdio/fiprintf.c: Likewise.
1724 * libc/stdio/fprintf.c: Likewise.
1725 * libc/stdio/iprintf.c: Likewise.
1726 * libc/stdio/printf.c: Likewise.
1727 * libc/stdio/sniprintf.c: Likewise.
1728 * libc/stdio/vdiprintf.c: Likewise.
1729 * libc/stdio/vdprintf.c: Likewise.
1730 * libc/stdio/vsiprintf.c: Likewise.
1731 * libc/stdio/fvwrite.c (__sfvwrite_r): Handle asnprintf.
1732 * libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): New file.
1733 * libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): New file.
1734 * libc/stdio/vasniprintf.c (vasniprintf, _vasniprintf_r): New
1735 file.
1736 * libc/stdio/vasnprintf.c (vasnprintf, _vasnprintf_r): New file.
1737 * libc/stdio/vdprintf.c (_vdprintf_r): Rewrite to avoid malloc in
1738 typical case.
1739 * libc/stdio/vdiprintf.c (_vdiprintf_r): Likewise.
1740 * libc/include/stdio.h: Add prototypes for new functions; sort
1741 existing functions.
1742
fb3937fa
KH
17432007-05-03 Kazu Hirata <kazu@codesourcery.com>
1744
1745 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
1746 and memset.S.
1747 * libc/machine/m68k/Makefile.in: Regenerate.
1748 * libc/machine/m68k/memcpy.S: Use sub.l followed by dbra.
1749 * libc/machine/m68k/memset.S: Likewise.
1750
b4f09558
EB
17512007-05-01 Eric Blake <ebb9@byu.net>
1752
1753 * libc/stdio64/local64.h: Delete, move contents to...
1754 * libc/stdio/local.h: ...here.
1755 * libc/stdio64/fdopen64.c: Update includes.
1756 * libc/stdio64/fopen64.c: Likewise.
1757 * libc/stdio64/freopen64.c: Likewise.
1758 * libc/stdio64/fseeko64.c: Likewise.
1759 * libc/stdio64/ftello64.c: Likewise.
1760 * libc/stdio/findfp.c (std) [__LARGE64_FILES]: Open stdin, stdout,
1761 and stderr with 64-bit offset.
1762 * libc/stdio/fseek.c (_fseek_r): Avoid compile warning.
1763 * libc/stdio/makebuf.c (__smakebuf_r): Likewise.
1764 * libc/stdio/mktemp.c (_gettemp): Likewise.
1765
2babeb3d
JJ
17662007-05-01 Cary R. <cygcary <at> yahoo.com>
1767
1768 * libm/math/e_pow.c: Fix to be consistent with glibc with regards
1769 to treatment of NaN and +-inf arguments.
1770 * libm/math/ef_pow.c: Ditto.
1771 * libm/math/w_pow.c: Ditto.
1772 * libm/math/wf_pow.c: Ditto.
1773 * libm/math/w_acos.c: Fix domain errors to return NaN.
1774 * libm/math/w_asin.c: Ditto.
1775 * libm/math/wf_acos.c: Ditto.
1776 * libm/math/wf_asin.c: Ditto.
1777 * libm/math/w_log.c: Fix to return NaN for negative number inputs.
1778 * libm/math/wf_log.c: Ditto.
1779 * libm/math/wf_log10.c: Ditto.
1780 * libm/math/w_log10.c: Ditto.
1781
643aff87
JJ
17822007-04-27 Jeff Johnston <jjohnstn@redhat.com>
1783
1784 * libc/machine/m68k/Makefile.am: Temporarily remove
1785 memcpy.S and memset.S until logic can be confirmed for
1786 !(__mcoldfile__) case.
1787 * libc/machine/m68k/Makefile.in: Regenerated.
1788
9e5957de
JJ
17892007-04-27 Kazu Hirata <kazu@codesourcery.com>
1790
1791 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
1792 and memset.S.
1793 * libc/machine/m68k/Makefile.in: Regenerate.
1794 * libc/machine/m68k/memcpy.S, libc/machine/m68k/memset.S: New.
1795
976e9d28
JJ
17962007-04-26 Patrick Mansfield <patmans@us.ibm.com>
1797
1798 * libc/include/ieeefp.h: use prefixed __ieeefp_ macros that can be
1799 overridden via machine/ieeefp.h.
1800 * libc/include/machine/ieeefp.h: Add SPU specific C99 and ieeefp
1801 macros for isnan and related macros.
1802 * libc/include/math.h: Allow C99 isfinite, isinf, and isnan to be
1803 overridden via machine/ieeefp.h.
1804 * libm/machine/spu/Makefile.am: Add new files.
1805 * libm/machine/spu/Makefile.in: Autogenerate with new files.
1806 * libm/machine/spu/sf_fpclassify.c: Add SPU specific __fpclassifyf.
1807 * libm/machine/spu/sf_finite.c: Add SPU specific finitef.
1808 * libm/machine/spu/sf_isinf.c: Add SPU specific isinff.
1809 * libm/machine/spu/sf_isinff.c: Add SPU specific __isinff.
1810 * libm/machine/spu/sf_isnan.c: Add SPU specific isnanf.
1811 * libm/machine/spu/sf_isnanf.c: Add SPU specific __isnanf.
1812 * libm/machine/spu/sf_nan.c: Add SPU specific nanf.
1813
34450bd5
JJ
18142007-04-25 Jeff Johnston <jjohnstn@redhat.com>
1815
1816 * libm/common/s_fpclassify.c (__fpclassifyf): Move this to...
1817 * libm/common/sf_fpclassify.c: ...here. New file.
1818 * libm/common/Makefile.am: Add sf_fpclassify.c.
1819 * libm/common/Makefile.in: Regenerated.
1820
42cd3e6c
JJ
18212007-04-25 Patrick Mansfield <patmans@us.ibm.com>
1822
1823 * libc/machine/spu/sys/errno.h: New file, so spu errno values match
1824 ppu linux values. This file is a copy of the cris/sys/errno.h plus
1825 a few changes (see spu errno.h comments).
1826
8b366086
JJ
18272007-04-25 Eric Blake <ebb9@byu.net>
1828
1829 * libc/stdio/vfprintf.c (get_arg): Support %1$lc. Simplify types
1830 that promote to int.
1831
245240b5
JJ
18322007-04-25 Patrick Mansfield <patmans@us.ibm.com>
1833
b4f09558 1834 * libm/machine/spu/headers/feholdexcept.h: Use *envp not env so
245240b5
JJ
1835 we clear the proper bits in the fpscr, and don't set some random ones.
1836
68f2517f
EB
18372007-04-24 Eric Blake <ebb9@byu.net>
1838
5866c023
EB
1839 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't zero pad on infinity
1840 or NaN with %05f.
1841
27e5e9ab
EB
1842 * libc/stdio/vfprintf.c (_VFPRINTF_R): Avoid multibyte when not
1843 _MB_CAPABLE.
1844
68f2517f
EB
1845 * libc/include/limits.h (NL_ARGMAX): Define a default value.
1846 * libc/stdio/vfprintf.c (MAX_POS_ARGS): Define in terms of
1847 NL_ARGMAX, if present.
1848
18492007-04-23 Brian Dessent <brian@dessent.net>
1850
1851 * libc/stdio/vfprintf.c (_vfprintf_r): When the alternate-form flag
1852 has been specified with types 'f', 'F', 'g', or 'G', ensure the
1853 trailing decimal is printed.
1854
714d0b7a
JJ
18552007-04-23 Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>
1856
1857 * confsubdir.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS): New
1858 file. Override Autoconf-2.59's version of these macros with
1859 fixed handling of multiple adjacent whitespace in arguments.
1860 * aclocal.m4: Regenerated forcefully.
1861 * configure: Ditto.
1862 * Makefile.in: Ditto.
1863 * libc/*Makefile.in: Ditto.
1864 * libc/*aclocal.m4: Ditto.
1865 * libc/*configure: Ditto.
1866 * libm/*Makefile.in: Ditto.
1867 * libm/*aclocal.m4: Ditto.
1868 * libm/*configure: Ditto.
1869
8aebc414
JJ
18702007-04-23 Jeff Johnston <jjohnstn@redhat.com>
1871
1872 * libc/sys/arc/dummy.S: Dummy file to force .S.o suffix rule.
1873 * libc/sys/arc/Makefile.am: Add dummy.S to EXTRA_lib_a_SOURCES
1874 and set lib_a_CCASFLAGS so crto.o will use .S.o default suffix rule.
1875 * libc/sys/arc/Makefile.in: Regenerated.
1876
fb5750bf
JJ
18772007-04-17 Brian Dessent <brian@dessent.net>
1878
1879 * libc/stdio/sscanf.c: Update documentation comments.
1880 * libc/stdio/vfscanf.c (__SVFSCANF_R): Handle j, t, and z modifiers.
1881
ba3ccd63
EB
18822007-04-12 Eric Blake <ebb9@byu.net>
1883
1884 * libc/stdio/vfprintf.c (_VFPRINTF_F, cvt): Don't confuse %F with %e.
1885 (chclass): Recognize 'F', 'X', 'n', and not 'W'.
1886 (get_arg): Handle %1$F, %1$n.
1887
503e2d1c
EB
18882007-04-10 Eric Blake <ebb9@byu.net>
1889
1890 * libc/include/stdio.h (_ELIDABLE_INLINE): Work even when using
1891 CFLAGS=-O0.
1892
17c0c97d
EB
18932007-04-09 Eric Blake <ebb9@byu.net>
1894
1895 * libc/include/stdio.h: Add gcc format attributes to printf and
1896 scanf families.
1897
abe43f42 18982007-04-09 Joel Schopp <jschopp@austin.ibm.com>
17c0c97d 1899
abe43f42
JJ
1900 * libc/machine/spu/strxfrm.c: Fix strxfrm so we still copy data
1901 even if the passed in length n is shorter than the source string.
1902 This matches both the non-spu specific and the glibc strxfrm
1903 behaviour.
1904
0efa93c0
KH
19052007-04-04 Mark Mitchell <mark@codesourcery.com>
1906
1907 * libc/stdlib/__call_atexit.c (__call_exitprocs): Handle atexit
1908 functions registering additional atexit functions.
1909
07278e6c
KH
1910 * testsuite/lib/flags.exp (newlib_include_flags): Drop
1911 -I${newlib_dir}.
1912
748c1917 19132007-04-04 Patrick Mansfield <patmans@us.ibm.com>
17c0c97d 1914
748c1917
JJ
1915 * libc/machine/spu/sys/syscall.h: New file for __send_to_ppe
1916 prototype.
1917 * libc/machine/spu/c99ppe.h: Remove static version of send_to_ppe.
1918 * libc/machine/spu/clearerr.c: Call __send_to_ppe vs send_to_ppe.
1919 * libc/machine/spu/fclose.c: Ditto.
1920 * libc/machine/spu/feof.c: Ditto.
1921 * libc/machine/spu/ferror.c: Ditto.
1922 * libc/machine/spu/fflush.c: Ditto.
1923 * libc/machine/spu/fgetc.c: Ditto.
1924 * libc/machine/spu/fgetpos.c: Ditto.
1925 * libc/machine/spu/fgets.c: Ditto.
1926 * libc/machine/spu/fileno.c: Ditto.
1927 * libc/machine/spu/fopen.c: Ditto.
1928 * libc/machine/spu/fprintf.c: Ditto.
1929 * libc/machine/spu/fputc.c: Ditto.
1930 * libc/machine/spu/fputs.c: Ditto.
1931 * libc/machine/spu/fread.c: Ditto.
1932 * libc/machine/spu/freopen.c: Ditto.
1933 * libc/machine/spu/fscanf.c: Ditto.
1934 * libc/machine/spu/fseek.c: Ditto.
1935 * libc/machine/spu/fsetpos.c: Ditto.
1936 * libc/machine/spu/ftell.c: Ditto.
1937 * libc/machine/spu/fwrite.c: Ditto.
1938 * libc/machine/spu/getc.c: Ditto.
1939 * libc/machine/spu/getchar.c: Ditto.
1940 * libc/machine/spu/gets.c: Ditto.
1941 * libc/machine/spu/perror.c: Ditto.
1942 * libc/machine/spu/printf.c: Ditto.
1943 * libc/machine/spu/putc.c: Ditto.
1944 * libc/machine/spu/putchar.c: Ditto.
1945 * libc/machine/spu/puts.c: Ditto.
1946 * libc/machine/spu/remove.c: Ditto.
1947 * libc/machine/spu/rename.c: Ditto.
1948 * libc/machine/spu/rewind.c: Ditto.
1949 * libc/machine/spu/scanf.c: Ditto.
1950 * libc/machine/spu/setbuf.c: Ditto.
1951 * libc/machine/spu/setvbuf.c: Ditto.
1952 * libc/machine/spu/snprintf.c: Ditto.
1953 * libc/machine/spu/sprintf.c: Ditto.
1954 * libc/machine/spu/sscanf.c: Ditto.
1955 * libc/machine/spu/tmpfile.c: Ditto.
1956 * libc/machine/spu/tmpnam.c: Ditto.
1957 * libc/machine/spu/ungetc.c: Ditto.
1958 * libc/machine/spu/vfprintf.c: Ditto.
1959 * libc/machine/spu/vfscanf.c: Ditto.
1960 * libc/machine/spu/vprintf.c: Ditto.
1961 * libc/machine/spu/vscanf.c: Ditto.
1962 * libc/machine/spu/vsnprintf.c: Ditto.
1963 * libc/machine/spu/vsprintf.c: Ditto.
1964 * libc/machine/spu/vsscanf.c: Ditto.
1965
a706aa2e
JJ
19662007-04-04 Jeff Johnston <jjohnstn@redhat.com>
1967
1968 * libc/argz/argz_insert.c: Add stddef.h to get ptrdiff_t type.
1969
db7aa4b1
JJ
19702007-04-04 Eric Blake <ebb9@byu.net>
1971
1972 * libc/stdio/asiprintf.c (_asiprintf_r): Fix reentrancy.
1973 (asiprintf): Avoid overhead.
1974 * libc/stdio/asprintf.c (_asprintf_r): Fix reentrancy.
1975 (asprintf): Avoid overhead.
1976 * libc/stdio/diprintf.c (_diprintf_r, diprintf): New file.
1977 * libc/stdio/dprintf.c (_dprintf_r, dprintf): Use _DEFUN.
1978 * libc/stdio/fiprintf.c (_fiprintf_r): Add reentrant version.
1979 (fiprintf): Avoid overhead.
1980 * libc/stdio/fprintf.c (_fprintf_r): Add reentrant version.
1981 (fprintf): Avoid overhead.
1982 * libc/stdio/iprintf.c (_iprintf_r): Use _DEFUN.
1983 (iprintf): Avoid overhead.
1984 * libc/stdio/printf.c (_printf_r): Use _DEFUN.
1985 (printf): Avoid overhead.
1986 * libc/stdio/vasiprintf.c (vasiprintf): Reduce binary size.
1987 * libc/stdio/vasprintf.c (vasprintf): Reduce binary size.
1988 * libc/stdio/vdiprintf.c (_vdiprintf_r, vdiprintf): New file.
1989 * libc/stdio/vdprintf.c (vdprintf): Avoid overhead.
1990 * libc/stdio/vsiprintf.c (vsiprintf): Reduce binary size.
1991 * libc/stdio/vsniprintf.c (vsniprintf): Reduce binary size.
1992 * libc/stdio/vsnprintf.c (vsnprintf): Reduce binary size.
1993 * libc/stdio/vsprintf.c (vsprintf): Reduce binary size.
1994 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add diprintf.c,
1995 vdiprintf.c.
1996 * libc/include/stdio.h (diprintf, _diprintf_r, vdiprintf)
1997 (_vdiprintf_r, _fiprintf_r, _vfiprintf_r): Add prototypes.
1998
2c58b5a5
DK
19992007-03-30 Dave Korn <dave.korn@artimi.com>
2000
2001 * libc/include/stdio.h (_ELIDABLE_INLINE): New macro to conceal
2002 conflicting inline semantics between C99 and GNU89.
2003 (__sgetc_r): Replace static inline with _ELIDABLE_INLINE to be
2004 compatible with -fkeep-inline-functions usage.
2005 (__sputc_r): Likewise for consistency even though disabled.
2006
519aec5d
NC
20072007-03-29 Nick Clifton <nickc@redhat.com>
2008
2009 Reflect changes made to generic vfprintf.c:
2010 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
2011 and add a "struct reent *" argument.
2012 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
2013 argument and call _VFPRINTF_R instead of VFPRINTF.
2014 (_VFPRINTF_R): Add data pointer to call to cantwrite().
2015 Fix uses of __sprint() and __sbprintf.
2016
20172007-03-20 Nick Clifton <nickc@redhat.com>
2018
2019 Reflect changes made to generic vfprintf.c:
2020 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
2021 and add a "struct reent *" argument.
2022 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
2023 argument and call _VFPRINTF_R instead of VFPRINTF.
2024 (_VFPRINTF_R): Add data pointer to call to cantwrite().
2025 Fix uses of __sprint() and __sbprintf.
2026
443871a6
JJ
20272007-03-16 Charles Wilson <cygwin@...>
2028
2029 * libc/argz/argz_insert.c: "before" pointer is
2030 invalid after *argz realloc. Compute offset
2031 between "before" and *argz, and use it after
2032 reallocation instead.
2033
a167bcd8
JJ
20342007-03-16 Eric Blake <ebb9@byu.net>
2035
2036 * libc/stdio64/fseek064.c (_fseeko64_r): Fix reentrancy.
2037 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
2038
826b5591
JJ
20392007-03-15 Jeff Johnston <jjohnstn@redhat.com>
2040
2041 * configure.in: Add new --enable-newlib-reent-small option.
2042 * configure: Regenerated.
2043 * acconfig.h: Add _WANT_REENT_SMALL.
2044 * newlib.hin: Regenerated minus PACKAGE macros to add
2045 _WANT_REENT_SMALL macro.
2046 * libc/include/sys/config.h[_WANT_REENT_SMALL]: Set _REENT_SMALL
2047 if not already set.
2048 * libc/stdio/fflush.c[_REENT_SMALL]: Return immediately if
2049 there is no buffer.
2050 * libc/stdio/local.h[_REENT_SMALL]: Fix CHECK_INIT macro to
2051 use reentrant pointer passed in when resetting the file
2052 pointer to one of the std streams.
2053
14ba5e14
JJ
20542007-03-15 Eric Blake <ebb9@byu.net>
2055
2056 * libc/stdio/local.h (cantwrite, FREEUB, FREELB): Make reentrant.
2057 (__smakebuf): Rename...
2058 (__smakebuf_r): to this.
2059 * libc/stdio/fvwrite.h (__swsetup_r): Rename, from __swsetup.
2060 * libc/stdio/makebuf.c (__smakebuf): Detect failed asprint
2061 allocation, then rename...
2062 (__smakebuf_r): ...to this and fix reentrancy.
2063 * libc/stdio/wsetup.c (__swsetup): Detect failed asprintf
2064 allocation, then rename...
2065 (__swsetup_r): ...to this and fix reentrancy.
2066 * libc/stdio/fseek.c (_fseek_r): Fix reentrancy.
2067 * libc/stdio/refill.c (__srefill_r): Likewise.
2068 * libc/stdio/fclose.c (_fclose_r): Likewise.
2069 * libc/stdio/fread.c (_fread_r): Likewise.
2070 * libc/stdio/freopen.c (_freopen_r): Likewise.
2071 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
2072 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
2073 * libc/stdio/fvwrite.c (__sfvwrite_r): Set errno properly on
2074 failed asprintf allocation, and fix reentrancy.
2075 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Report overflow,
2076 as required by POSIX.
2077 * libc/stdio/sniprintf.c (sniprintf, _sniprintf_r): Likewise.
2078 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Likewise.
2079 * libc/stdio/vsniprintf.c (vsniprintf, _vsniprintf_r): Likewise.
2080
99304ce6
JJ
20812007-03-12 Eric Blake <ebb9@byu.net>
2082
2083 * libc/stdio/fvwrite.c (__sfvwrite_r): Fix reentrancy.
2084 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Pass failed
2085 allocation to caller.
2086 * libc/stdio/asprintf.c (_asprintf_r, asprintf): Likewise.
2087 * libc/stdio/asiprintf.c (_asiprintf_r, asiprintf): Likewise.
2088 * libc/stdio/vasiprintf.c (vasiprintf, _vasiprintf_r): Likewise.
2089
d9edc05f
JJ
20902007-02-23 Jeff Johnston <jjohnstn@redhat.com>
2091
2092 * libm/math/w_pow.c: Fix typo in documentation comment.
2093
59673dbb
JJ
20942007-02-21 Patrick Mansfield <patmans@us.ibm.com>
2095
2096 * libc/reent/timer.c: Removed (split into two new files).
2097 * libc/reent/timesr.c: New file for _times_r.
2098 * libc/reent/gettimeofdayr.c: New file out _gettimeofday_r.
2099 * reent/Makefile.in: Remove timer.c, add timesr.c and
2100 gettimeofdayr.c.
2101 * libc/reent/Makefile.am: Regenerate.
2102
547c5c61
JJ
21032007-02-20 Patrick Mansfield <patmans@us.ibm.com>
2104
2105 * configure.host: Build SPU with default_newlib_atexit_dynamic_alloc="no".
2106
3b7e017e
JJ
21072007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
2108
2109 * libc/machine/spu/Makefile.am: Add new objects.
2110 * libc/machine/spu/Makefile.in: Regenerated.
2111 * libc/machine/spu/fiprintf.c: New file. Add implementation of
2112 integer-only version.
2113 * libc/machine/spu/fiscanf.c: Ditto.
2114 * libc/machine/spu/iprintf.c: Ditto.
2115 * libc/machine/spu/iscanf.c: Ditto.
2116 * libc/machine/spu/siprintf.c: Ditto.
2117 * libc/machine/spu/siscanf.c: Ditto.
2118 * libc/machine/spu/sniprintf.c: Ditto.
2119 * libc/machine/spu/vfiprintf.c: Ditto.
2120 * libc/machine/spu/vfiscanf.c: Ditto.
2121 * libc/machine/spu/viprintf.c: Ditto.
2122 * libc/machine/spu/viscanf.c: Ditto.
2123 * libc/machine/spu/vsiprintf.c: Ditto.
2124 * libc/machine/spu/vsiscanf.c: Ditto.
2125 * libc/machine/spu/vsniprintf.c: Ditto.
2126 * libc/machine/spu/fprintf.c: Add support for integer-only
2127 version.
2128 * libc/machine/spu/fscanf.c: Ditto.
2129 * libc/machine/spu/printf.c: Ditto.
2130 * libc/machine/spu/scanf.c: Ditto.
2131 * libc/machine/spu/snprintf.c: Ditto.
2132 * libc/machine/spu/sprintf.c: Ditto.
2133 * libc/machine/spu/sscanf.c: Ditto.
2134 * libc/machine/spu/vfprintf.c: Ditto.
2135 * libc/machine/spu/vfscanf.c: Ditto.
2136 * libc/machine/spu/vprintf.c: Ditto.
2137 * libc/machine/spu/vscanf.c: Ditto.
2138 * libc/machine/spu/vsnprintf.c: Ditto.
2139 * libc/machine/spu/vsprintf.c: Ditto.
2140 * libc/machine/spu/vsscanf.c: Ditto.
2141
960e5d8f
JJ
21422007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
2143
2144 * libc/include/stdio.h: Add declaration for vsiprintf.
2145
958e329d
JJ
21462007-02-14 Patrick Mansfield <patmans@us.ibm.com>
2147
2148 Add a floating point environment for SPU (cell):
2149
2150 * configure.host: add libm_machine_dir=spu.
2151 * libm/machine/configure: Add spu.
2152 * libm/machine/configure.in: regenerated with spu added.
2153 * libc/machine/spu/include/fenv.h: New file.
2154 * libc/machine/spu/sys/fenv.h: Ditto.
2155 * libm/machine/spu/Makefile.am: Ditto.
2156 * libm/machine/spu/Makefile.in: Ditto.
2157 * libm/machine/spu/aclocal.m4: Ditto.
2158 * libm/machine/spu/configure: Ditto.
2159 * libm/machine/spu/configure.in: Ditto.
2160 * libm/machine/spu/fe_dfl_env.c: Ditto.
2161 * libm/machine/spu/feclearexcept.c: Ditto.
2162 * libm/machine/spu/fegetenv.c: Ditto.
2163 * libm/machine/spu/fegetexceptflag.c: Ditto.
2164 * libm/machine/spu/fegetround.c: Ditto.
2165 * libm/machine/spu/feholdexcept.c: Ditto.
2166 * libm/machine/spu/feraiseexcept.c: Ditto.
2167 * libm/machine/spu/fesetenv.c: Ditto.
2168 * libm/machine/spu/fesetexceptflag.c: Ditto.
2169 * libm/machine/spu/fesetround.c: Ditto.
2170 * libm/machine/spu/fetestexcept.c: Ditto.
2171 * libm/machine/spu/feupdateenv.c: Ditto.
2172 * libm/machine/spu/headers/feclearexcept.h: Ditto.
2173 * libm/machine/spu/headers/fefpscr.h: Ditto.
2174 * libm/machine/spu/headers/fegetenv.h: Ditto.
2175 * libm/machine/spu/headers/fegetexceptflag.h: Ditto.
2176 * libm/machine/spu/headers/fegetround.h: Ditto.
2177 * libm/machine/spu/headers/feholdexcept.h: Ditto.
2178 * libm/machine/spu/headers/feraiseexcept.h: Ditto.
2179 * libm/machine/spu/headers/fesetenv.h: Ditto.
2180 * libm/machine/spu/headers/fesetexceptflag.h: Ditto.
2181 * libm/machine/spu/headers/fesetround.h: Ditto.
2182 * libm/machine/spu/headers/fetestexcept.h: Ditto.
2183 * libm/machine/spu/headers/feupdateenv.h: Ditto.
2184
4f7e59f2
CV
21852007-02-14 Corinna Vinschen <corinna@vinschen.de>
2186
2187 * libc/include/sys/features.h: Add _POSIX_MESSAGE_PASSING for
2188 Cygwin.
2189
d7e4c7a8
CV
21902007-02-08 Corinna Vinschen <corinna@vinschen.de>
2191
2192 * libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
2193 Cygwin. Fix value of _POSIX_SEMAPHORES. Fix formatting.
2194
0e37a2e6
CV
21952007-02-07 Corinna Vinschen <corinna@vinschen.de>
2196
2197 * libc/include/sys/features.h: Add definition of all supported
2198 _POSIX_xxx values for Cygwin.
2199 * libc/include/sys/types.h (pthread_rwlock_t): Omit definition
2200 on Cygwin.
2201 (pthread_rwlockattr_t): Ditto.
2202 * libc/include/sys/unistd.h: Define all _SC_xxx values as
2203 required by SUSv3. Unify formatting.
2204
6699fabb
JJ
22052007-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
2206
2207 * libc/include/sys/errno.h: Add ECANCELED.
2208
22a339e8 22092007-02-01 Joel Schopp <jschopp@austin.ibm.com>
ba3ccd63 2210 Kazunori Asayama <asayama@sm.sony.co.jp>
22a339e8
JJ
2211
2212 * libc/machine/spu/Makefile.am: Add objects.
2213 * libc/machine/spu/Makefile.in: Regenerated.
2214 * libc/machine/spu/vsscanf.c: New file. Add a stdio function
2215 implementation.
2216 * libc/machine/spu/snprintf.c: Ditto.
2217 * libc/machine/spu/sprintf.c: Ditto.
2218 * libc/machine/spu/sscanf.c: Ditto.
2219 * libc/machine/spu/remove.c: Ditto.
2220 * libc/machine/spu/rename.c: Ditto.
2221 * libc/machine/spu/tmpnam.c: Ditto.
2222 * libc/machine/spu/vsnprintf.c: Add initialization routine of
2223 stdio stuffs.
2224 * libc/machine/spu/vsprintf.c: Ditto.
2225
7d592bb1 22262007-02-01 Joel Schopp <jschopp@austin.ibm.com>
ba3ccd63 2227 Kazunori Asayama <asayama@sm.sony.co.jp>
7d592bb1
JJ
2228
2229 * configure.host: Enable SPU specific stdio directory.
2230 * libc/machine/spu/Makefile.am: Add objects.
2231 * libc/machine/spu/Makefile.in: Regenerated.
2232 * libc/machine/spu/c99ppe.h: Add macros and function
2233 declarations to initialize SPU specific stdio stuffs.
2234 * libc/machine/spu/stdio.c: Add functions to manage Cell SPU
2235 specific FILE structures.
2236 * libc/machine/spu/perror.c: Add initialization routine of
2237 stdio stuffs.
2238 * libc/machine/spu/printf.c: Ditto.
2239 * libc/machine/spu/putchar.c: Ditto.
2240 * libc/machine/spu/puts.c: Ditto.
2241 * libc/machine/spu/vprintf.c: Ditto.
2242 * libc/machine/spu/clearerr.c: New file. Add a stdio function
2243 implementation.
2244 * libc/machine/spu/feof.c: Ditto.
2245 * libc/machine/spu/ferror.c: Ditto.
2246 * libc/machine/spu/fileno.c: Ditto.
2247 * libc/machine/spu/fopen.c: Ditto.
2248 * libc/machine/spu/fclose.c: Ditto.
2249 * libc/machine/spu/freopen.c: Ditto.
2250 * libc/machine/spu/fflush.c: Ditto.
2251 * libc/machine/spu/fseek.c: Ditto.
2252 * libc/machine/spu/ftell.c: Ditto.
2253 * libc/machine/spu/rewind.c: Ditto.
2254 * libc/machine/spu/fgetpos.c: Ditto.
2255 * libc/machine/spu/fsetpos.c: Ditto.
2256 * libc/machine/spu/fread.c: Ditto.
2257 * libc/machine/spu/fwrite.c: Ditto.
2258 * libc/machine/spu/getc.c: Ditto.
2259 * libc/machine/spu/getchar.c: Ditto.
2260 * libc/machine/spu/gets.c: Ditto.
2261 * libc/machine/spu/fgetc.c: Ditto.
2262 * libc/machine/spu/fgets.c: Ditto.
2263 * libc/machine/spu/ungetc.c: Ditto.
2264 * libc/machine/spu/putc.c: Ditto.
2265 * libc/machine/spu/fputc.c: Ditto.
2266 * libc/machine/spu/fputs.c: Ditto.
2267 * libc/machine/spu/vfprintf.c: Ditto.
2268 * libc/machine/spu/vfscanf.c: Ditto.
2269 * libc/machine/spu/fprintf.c: Ditto.
2270 * libc/machine/spu/fscanf.c: Ditto.
2271 * libc/machine/spu/scanf.c: Ditto.
2272 * libc/machine/spu/vscanf.c: Ditto.
2273 * libc/machine/spu/setbuf.c: Ditto.
2274 * libc/machine/spu/setvbuf.c: Ditto.
2275 * libc/machine/spu/tmpfile.c: Ditto.
2276
22772007-02-01 Jeff Johnston <jjohnstn@redhat.com>
2278
2279 * libc/include/sys/config.h[__SPU__]: Define __CUSTOM_FILE_IO__.
2280 * libc/include/stdio.h[!__CUSTOM_FILE_IO__]: Add flag check
17c0c97d 2281 around stdio macros that manipulate fields in the normal file
7d592bb1
JJ
2282 structure.
2283 * libc/include/sys/reent.h[__CUSTOM_FILE_IO__]: Include
2284 <sys/custom_file.h> to define custom FILE structure.
2285 * libc/include/sys/custom_file.h: New default header file
2286 that generates error if not overridden when __CUSTOM_FILE_IO__ set.
2287 * libc/machine/spu/sys/custom_file.h: New file.
2288
0733ae3b
JJ
22892007-01-31 Kazunori Asayama <asayama@sm.sony.co.jp>
2290
2291 * configure.host: Define stdio directory as a variable.
2292 * libc/Makefile.am: Define stdio related names
2293 as macros.
2294 * libc/configure.in: Add detection routine of stdio directory.
2295 * libc/Makefile.in: Regenerated.
2296 * libc/configure: Ditto.
2297 * libc/argz/Makefile.in: Ditto.
2298 * libc/ctype/Makefile.in: Ditto.
2299 * libc/errno/Makefile.in: Ditto.
2300 * libc/iconv/Makefile.in: Ditto.
2301 * libc/iconv/ccs/Makefile.in: Ditto.
2302 * libc/iconv/ccs/binary/Makefile.in: Ditto.
2303 * libc/iconv/ces/Makefile.in: Ditto.
2304 * libc/iconv/lib/Makefile.in: Ditto.
2305 * libc/locale/Makefile.in: Ditto.
2306 * libc/misc/Makefile.in: Ditto.
2307 * libc/posix/Makefile.in: Ditto.
2308 * libc/reent/Makefile.in: Ditto.
2309 * libc/search/Makefile.in: Ditto.
2310 * libc/signal/Makefile.in: Ditto.
2311 * libc/stdio/Makefile.in: Ditto.
2312 * libc/stdio64/Makefile.in: Ditto.
2313 * libc/stdlib/Makefile.in: Ditto.
2314 * libc/string/Makefile.in: Ditto.
2315 * libc/syscalls/Makefile.in: Ditto.
2316 * libc/time/Makefile.in: Ditto.
2317 * libc/unix/Makefile.in: Ditto.
2318
cb7ba0e1
BE
23192007-01-30 Ben Elliston <bje@au.ibm.com>
2320
c7cd7849
BE
2321 * libc/machine/spu/vsnprintf.c (c99_vsnprintf_t): Const-qualify
2322 fmt member.
2323 * libc/machine/spu/printf.c (c99_printf_t): Likewise.
2324 (printf): Pass fmt to va_start to suppress a warning.
2325
cb7ba0e1
BE
2326 * libc/search/hash.c (init_hash): Make `info' parameter const.
2327
f89533c1
JJ
23282007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>
2329
2330 * libc/machine/spu/c99ppe.h: Replace vector with __vector.
2331 * libc/machine/spu/vec_literal.h: Ditto.
2332 * libc/machine/spu/strncmp.c: Ditto.
2333
94b91791
JJ
23342007-01-15 Joseph Myers <joseph@codesourcery.com>
2335 Kazu Hirata <kazu@codesourcery.com>
2336
2337 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Add support
2338 for E500V1 and E500V2.
2339
26190be1
JJ
23402007-01-11 Jeff Johnston <jjohnstn@redhat.com>
2341
2342 * libm/configure.in: Always configure machine directory.
2343 * libm/Makefile.am: Make machine subdirectory part of SUBDIRS
2344 unconditionally.
2345 * libm/configure: Regenerated.
2346 * libm/Makefile.in: Ditto.
2347 * libm/*/Makefile.in: Ditto.
2348
8e0e8f40
JJ
23492007-01-05 Brian Ford <Brian.Ford@FlightSafety.com>
2350
2351 * configure.host (*-*-cygwin*): Define HAVE_BLKSIZE.
2352
9cd4a2de
JJ
23532007-01-02 Ben Elliston <bje@au.ibm.com>
2354
ba3ccd63
EB
2355 * doc/makedoc.c: Include <stdlib.h>.
2356 (malloc, realloc): Remove extern declarations.
9cd4a2de 2357
5fdec53f 23582006-12-18 Jeff Johnston <jjohnstn@redhat.com>
a4b11782 2359
ba3ccd63
EB
2360 * NEWS: Update with 1.15.0 info.
2361 * README: Ditto.
2362 * acinclude.m4: Change version number to 1.15.0.
2363 * aclocal.m4: Regenerated.
2364 * configure: Ditto.
2365 * doc/aclocal.m4: Ditto.
2366 * doc/configure: Ditto.
2367 * libc/*/aclocal.m4: Ditto.
2368 * libc/*/configure: Ditto.
2369 * libc/libc.texinfo: Ditto.
2370 * libm/*/aclocal.m4: Ditto.
2371 * libm/*/configure: Ditto.
2372 * libm/libm.texinfo: Ditto.
2373 * libc/sys/linux/shared.ld: Add VERS_1.15.
a4b11782 2374
def943c1
JJ
23752006-12-18 Kazu Hirata <kazu@codesourcery.com>
2376
2377 Merge from newlib-csl-20060320-branch:
2378 2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
2379 Kazu Hirata <kazu@codesourcery.com>
2380
2381 * configure.host: Recognize fido.
2382
17c0c97d 23832006-12-18 Joel Schopp <jschopp@austin.ibm.com>
505ccc75 2384
ba3ccd63
EB
2385 * libc/machine/spu/c99ppe.h: New file
2386 * libc/machine/spu/perror.c: New file to override libc/stdio version.
2387 * libc/machine/spu/printf.c: New file
2388 * libc/machine/spu/putchar.c: New file
2389 * libc/machine/spu/puts.c: New file
2390 * libc/machine/spu/vprintf.c: New file
2391 * libc/machine/spu/vsnprintf.c: New file
2392 * libc/machine/spu/vsprintf.c: New file
2393 * libc/machine/spu/Makefile.am: Add new targets.
2394 * libc/machine/spu/Makefile.in: Regenerated.
505ccc75 2395
78b7c6f8
JJ
23962006-12-18 Jeff Johnston <jjohnstn@redhat.com>
2397
ba3ccd63
EB
2398 * aclocal.m4 */aclocal.m4: Regenerated using aclocal 1.9.6.
2399 * Makefile.in */Makefile.in: Regenerated using automake 1.9.6.
78b7c6f8 2400
f5222560
JJ
24012006-12-18 Jeff Johnston <jjohnstn@redhat.com>
2402
2403 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from
2404 2.6.5 version of Doug Lea's malloc which is the basis of
2405 this code.
2406
9b354d7f
JJ
24072006-12-18 Kazunori Asayama <asayama@sm.sony.co.jp>
2408
2409 * libc/include/machine/setjmp.h[__SPU__]: Replace vector with __vector.
2410
4c0b8a07 24112006-12-14 Jeff Johnston <jjohnstn@redhat.com>
ba3ccd63 2412 Eric Blake <ebb9@byu.net>
4c0b8a07 2413
ba3ccd63
EB
2414 * libc/stdio/fflush.c (fflush): On seekable streams, always flush
2415 read but unused data.
2416 * libc/stdio/fclose.c (_fclose_r): Always flush streams, since
2417 even read streams may have side effects that must happen.
4c0b8a07 2418
dd52bb72
JJ
24192006-12-13 Joel Schopp <jschopp@austin.ibm.com>
2420
ba3ccd63 2421 * libc/machine/spu/setjmp.S: Fix to handle registers past 115
6a200958
JJ
2422 correctly.
2423
24242006-12-13 Joel Schopp <jschopp@austin.ibm.com>
2425
ba3ccd63 2426 * libc/include/alloca.h: Add undef alloca to work with xlc.
dd52bb72 2427
4e051d91
JJ
24282006-12-12 Joel Schopp <jschopp@austin.ibm.com>
2429
ba3ccd63 2430 * libc/include/machine/setjmp.h[__SPU__]: Redefine _JBTYPE for
6a200958 2431 cell spu.
4e051d91 2432
489bb390
JJ
24332006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
2434
2435 * libc/machine/spu/strncpy.c: Add padding.
2436
3e2d7a91
JJ
24372006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
2438
17c0c97d 2439 * testsuite/newlib.string/tstring.c:
3e2d7a91 2440
0a2ef998
JJ
24412006-12-01 Kazunori Asayama <asayama@sm.sony.co.jp>
2442
2443 * libc/machine/spu/strchr.c: Fix mask for misaligned string.
2444 * libc/machine/spu/strrchr.c: Ditto.
2445
75190a8f
JJ
24462006-11-30 Lev Bishop <lev.bishop@gmail.com>
2447
2448 * libc/include/math.h: Allow C99 functions/macros to be
2449 defined for C++ even when __STRICT_ANSI__.
2450
7d794364
JJ
24512006-11-29 Jeff Johnston <jjohnstn@redhat.com>
2452
2453 * libc/stdio/makebuf.c (__smakebuf): If dealing with
2454 an asprintf-family buffer, make the default initial size 64.
2455
c4c7f139
JJ
24562006-11-29 Eric Blake <ebb9@byu.net>
2457
2458 * libc/stdio/fvwrite.c (__sfvwrite_r): Avoid off-by-one error in
2459 asprintf, as well as quadratic realloc behavior.
2460
24612006-11-29 Kazunori Asayama <asayama@sm.sony.co.jpi
80c6ead2
JJ
2462
2463 * libc/machine/spu/memset.c: Fix type of explicit cast.
2464 * libc/machine/spu/strncmp.c: Add explicit cast.
2465 * libc/machine/spu/strrchr.c: Ditto.
2466 * libc/machine/spu/strspn.c: Ditto.
2467
9bc5b618
JJ
24682006-11-22 Luca Barbato <lu_zero@gentoo.org>
2469
2470 * libc/machine/spu/memcpy.c: Use spu_splats, explicit cast.
2471 * libc/machine/spu/memmove.c: Use spu_splats, explicit cast.
2472 * libc/machine/spu/memset.c: Use spu_splats, remove apple-cast.
2473 * libc/machine/spu/strchr.c: Use spu_splats, remove apple-cast.
2474 * libc/machine/spu/strncat.c: Explicit cast.
2475 * libc/machine/spu/strncmp.c: Use spu_splats.
2476 * libc/machine/spu/strncpy.c: Explicit cast.
2477 * libc/machine/spu/strrchr.c: Use spu_splats.
2478 * libc/machine/spu/strspn.c: Use spu_splats.
2479
52077eb2
JJ
24802006-11-15 Till Straumann <strauman@slac.stanford.edu>
2481
2482 * libc/time/tzset_r.c (_tzset_r): Initialize local variable.
2483
d1a2fe1a
JJ
24842006-11-14 Eric Blake <ebb9@byu.net>
2485
2486 * libc/stdio/vfprintf.c (_vfprintf_r): Support ' flag.
2487 (chclass): ' is a flag. j, t, and z are modifiers.
2488
9842c7e4 24892006-11-08 Jie Zhang <jie.zhang@analog.com>
292f8e23
JJ
2490
2491 * configure.host: Add support for bfin.
2492 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for bfin.
2493 * libc/include/machine/setjmp.h: Define _JBLEN for bfin.
2494 * libc/machine/bfin/aclocal.m4: Generate.
2495 * libc/machine/bfin/configure.in: New.
2496 * libc/machine/bfin/configure: Generate.
2497 * libc/machine/bfin/Makefile.am: New.
2498 * libc/machine/bfin/Makefile.in: Generate.
2499 * libc/machine/bfin/setjmp.S: New.
2500 * libc/machine/bfin/longjmp.S: New.
2501 * libc/machine/configure.in: Add bfin support.
2502 * libc/machine/configure: Generate.
2503
b1755fe7
CV
25042006-11-07 Corinna Vinschen <corinna@vinschen.de>
2505
2506 * libc/include/sys/unistd.h (_SC_STREAM_MAX): Define on Cygwin.
2507 (_PC_FILESIZEBITS): Add definition.
2508 (_PC_2_SYMLINKS): Ditto.
2509 (_PC_SYMLINK_MAX): Ditto.
2510
d384d868
JJ
25112006-10-27 Joel Schopp <jschopp@austin.ibm.com>
2512
2513 * libc/machine/spu/memcpy.c: Override generic function with vectorized
2514 version optimized for the cell spu.
2515 * libc/machine/spu/memmove.c: Ditto.
2516 * libc/machine/spu/memset.c: Ditto.
2517 * libc/machine/spu/strcat.c: Ditto.
2518 * libc/machine/spu/strchr.c: Ditto.
2519 * libc/machine/spu/strcmp.c: Ditto.
2520 * libc/machine/spu/strcpy.c: Ditto.
2521 * libc/machine/spu/strcspn.c: Ditto.
2522 * libc/machine/spu/strlen.c: Ditto.
2523 * libc/machine/spu/strncat.c: Ditto.
2524 * libc/machine/spu/strncmp.c: Ditto.
2525 * libc/machine/spu/strncpy.c: Ditto.
2526 * libc/machine/spu/strpbrk.c: Ditto.
2527 * libc/machine/spu/strrchr.c: Ditto.
2528 * libc/machine/spu/strspn.c: Ditto.
2529 * libc/machine/spu/strxfrm.c: Ditto.
17c0c97d 2530 * libc/machine/spu/vec_literal.h: Add abstraction of vector literals,
d384d868
JJ
2531 removing altivec style initializers.
2532 * libc/machine/spu/Makefile.am: Add new files to list so they build
2533 * libc/machine/spu/Makefile.in: Regenerate from new Makefile.am
2534
f29fdb2f
JJ
25352006-10-27 Jeff Johnston <jjohnstn@redhat.com>
2536
2537 * README: Add a brief section on how to regenerate
2538 configuration files in newlib.
2539
884dc68f
JJ
25402006-10-25 Vladimir Prus <vladimir@codesourcery.com>
2541
2542 * libc/include/math.h: (exception): Add a comment
2543 telling fixincludes that we handle C vs. C++ issue.
2544
f8fe93f9
JJ
25452006-10-11 Yang Tse <yangsita@gmail.com>
2546
6d441576
CV
2547 * libc/include/machine/setjmp.h: Use __extension__ keyword for gcc's
2548 braced-groups.
f8fe93f9 2549
d95c5792
CV
25502006-10-11 Corinna Vinschen <corinna@vinschen.de>
2551
2552 * libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.
2553
e5e148d1
JJ
25542006-09-26 Jeff Johnston <jjohnstn@redhat.com>
2555
2556 * libc/include/stdio.h[_REENT_SMALL]: Do not allow macros
2557 for clearerr, feof, or fileno.
17c0c97d
EB
2558 * libc/include/sys/reent.h[_REENT_SMALL](struct _reent): Change
2559 the dummy std stream scheme to use pointers to const external
e5e148d1
JJ
2560 fake files, one for each standard stream.
2561 * libc/stdio/local.h (CHECK_INIT): Change to take a file pointer
2562 argument. For _REENT_SMALL, reset the file pointer if it
2563 matches one of the fake std stream pointers.
2564 * libc/stdio/clearerr.c: Fix CHECK_INIT macro to add file pointer
2565 argument.
2566 * libc/stdio/fclose.c: Ditto.
2567 * libc/stdio/feof.c: Ditto.
2568 * libc/stdio/ferror.c: Ditto.
2569 * libc/stdio/fflush.c: Ditto.
2570 * libc/stdio/fgetc.c: Ditto.
2571 * libc/stdio/fgets.c: Ditto.
2572 * libc/stdio/fileno.c: Ditto.
2573 * libc/stdio/findfp.c: Ditto.
2574 * libc/stdio/fputc.c: Ditto.
2575 * libc/stdio/fputs.c: Ditto.
2576 * libc/stdio/fread.c: Ditto.
2577 * libc/stdio/freopen.c: Ditto.
2578 * libc/stdio/fseek.c: Ditto.
2579 * libc/stdio/ftell.c: Ditto.
2580 * libc/stdio/fwrite.c: Ditto.
2581 * libc/stdio/getc.c: Ditto.
2582 * libc/stdio/getdelim.c: Ditto.
2583 * libc/stdio/putc.c: Ditto.
2584 * libc/stdio/refill.c: Ditto.
2585 * libc/stdio/setvbuf.c: Ditto.
2586 * libc/stdio/ungetc.c: Ditto.
2587 * libc/stdio/vfprintf.c: Ditto.
2588 * libc/stdio/vfscanf.c: Ditto.
2589 * libc/stdio/wbuf.c: Ditto.: Ditto.
2590 * libc/stdio/wsetup.c: Ditto.
2591 * libc/stdio64/freopen64.c: Ditto.
2592 * libc/stdio64/fseeko64.c: Ditto.
2593 * libc/stdio64/ftello64.c: Ditto.
2594 * libc/machine/powerpc/vfprintf.c: Ditto.
2595 * libc/machine/powerpc/vfscanf.c: Ditto.
2596
e83c3d0a
JJ
25972006-09-22 Paul Brook <paul@codesourcery.com>
2598
2599 * libc/include/sys/reent.h: Define and use __reent_assert.
2600
23754b33
JJ
26012006-09-13 Joel Sherrill <joel@oarcorp.com>
2602
2603 * libc/include/pthread.h: Add pthread barriers,
2604 rwlocks, and spinlocks. Change const to
2605 _CONST and prefix parameter names with
2606 an underscore.
2607 * libc/include/sys/types.h: Add id and attribute
2608 types for barriers, wrlocks, and spinlocks.
2609 * libc/include/sys/features.h: Enable barriers,
2610 wrlocks, and spinlocks for RTEMS.
2611
ba1bb1b3
JJ
26122006-09-13 Patrick Mansfield <patmans@us.ibm.com>
2613
2614 * libc/include/math.h: Remove _CONST from _LIB_VERSION, as it is
2615 supposed to be writable.
2616 * libm/common/s_lib_ver.c: Ditto.
2617
8f9f25da
JJ
26182006-09-12 Paul Brook <paul@codesourcery.com>
2619
2620 * libc/stdlib/rand.c (srand): Add _REENT_CHECK_RAND48.
2621
0324070e
JJ
26222006-09-07 Masaki Muranaka <monaka@monami-software.com>
2623
8f9f25da 2624
0324070e
JJ
2625 * libc/machine/xstormy16/Makefile.am:
2626 Add $(lpfx) prefix to LIBADD objects.
2627 lib_a_DEPENDENCIES uses the value of lib_a_LIBADD.
2628 * libc/machine/xstormy16/Makefile.in: Regenerated.
2629
d39002f9
JJ
26302006-09-06 Eric Blake <ebb9@byu.net>
2631
2632 * libc/stdio/vfprintf.c (_vfprintf_r, get_arg): Add 'hh', 'j',
2633 't', and 'z' modifiers.
2634
c023e783
KH
26352006-09-01 Kazu Hirata <kazu@codesourcery.com>
2636
2637 Merge from newlib-csl-20060320-branch:
2638 2006-05-22 Sandra Loosemore <sandra@codesourcery.com>
2639
2640 * configure.host: Tell it we have _rename and _system when
2641 building m68k-unknown-elf.
2642
85974265
JJ
26432006-08-29 Paul Brook <paul@codesourcery.com>
2644
2645 * libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
2646
c1f828e5
JJ
26472006-08-27 Joel Sherrill <joel.sherrill@OARcorp.com>
2648
2649 * libc/sys/rtems/machine/sys/param.h: Conditionalize definition of
2650 BLKDEV_IOSIZE and MAXPHYS so it will fit into small memory targets.
2651 This is needed to build all AVR and H8300 RTEMS multilib variants.
2652
b8e05321
JJ
26532006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
2654
2655 * libc/machine/configure.in: Add configuration for SPU.
2656 * libc/machine/configure: Regenerated.
2657 * libc/machine/spu/memcpy.c: Include string.h.
2658
380d8ec4
JJ
26592006-08-22 Eric Blake <ebb9@byu.net>
2660
2661 * libc/posix/popen.c (popen): Don't close output end of pipe in
2662 child if stdout was closed on entry.
2663 [HAVE_FCNTL]: In parent, mark file as close-on-exec, per POSIX.
2664
a0922fcb
CF
26652006-08-19 Ramana Radhakrishnan <ramana.r@gmail.com>
2666
2667 * sys/types.h: Correct syntax error caused by missing '\' on #ifdef
2668 line.
2669
84a79403
JJ
26702006-08-17 Brian Ford <Brian.Ford@FlightSafety.com>
2671
17c0c97d
EB
2672 * libc/time/gmtime.c: Correct man page; clock is not a
2673 local time and no conversion occurs.
84a79403 2674
0d8de89c
JJ
26752006-08-16 Joel Schopp <jschopp@austin.ibm.com>
2676
ba3ccd63
EB
2677 * configure.host (newlib_cflags) [spu]: Add special compiler
2678 options to reduce size.
0d8de89c 2679
734e8414
JJ
26802006-08-16 Joel Schopp <jschopp@austin.ibm.com>
2681
2682 * configure.host: Add spu support.
2683 * libc/include/stdint.h: Ditto.
2684 * libc/include/machine/ieeefp.h: Ditto.
2685 * libc/include/machine/setjmp.h: Ditto.
2686 * libc/include/sys/config.h: Ditto.
2687 * libc/include/sys/types.h: Ditto.
2688 * libc/machine/spu/Makefile.am: New file.
2689 * libc/machine/spu/Makefile.in: Ditto.
2690 * libc/machine/spu/aclocal.m4: Ditto.
2691 * libc/machine/spu/configure: Ditto.
2692 * libc/machine/spu/configure.in: Ditto.
2693 * libc/machine/spu/memcpy.c: Ditto.
2694 * libc/machine/spu/setjmp.S: Ditto.
2695
079b45dc
JJ
26962006-08-03 J"orn Rennecke <joern.rennecke@st.com>
2697
2698 * dtoa.c (dtoa_r): Handle the denormalized _DOUBLE_IS_32BITS case
2699 properly.
2700
2ebf115d
JJ
27012006-08-01 Jeff Johnston <jjohnstn@redhat.com>
2702
2703 * libc/Makefile.am: Add libc_TEXINFOS dependency on
2704 generated .texi files.
2705 * libm/Makefile.am: Add libm_TEXINFOS dependency on
2706 generated .texi files.
2707 * libc/Makefile.in: Regenerated.
2708 * libm/Makefile.in: Ditto.
2709
a1213494 27102006-08-01 Thiemo Seufer <ths@mips.com>
ba3ccd63 2711 Nigel Stephens <nigel@mips.com>
a1213494
JJ
2712
2713 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS
2714 define this to force _impure_ptr to live in the .sdata section.
2715
0a85d87f
JJ
27162006-07-31 Jeff Johnston <jjohnstn@redhat.com>
2717
2718 * acinclude.m4: Check for readelf tool.
2719 * configure.in: Use ${READELF} instead of hard-coding.
2720 * Regenerate all aclocal.m4, Makefile.in, and configure files.
2721
17c0c97d 27222006-07-31 Jeff Johnston <jjohnstn@redhat.com>
cc023a75
JJ
2723
2724 * libc/sys/linux/mmap.c: Remove include of sys/mman.h
2725 to avoid conflict with newer glibc's revision of mremap.
2726
17c0c97d 27272006-07-05 Jeff Johnston <jjohnstn@redhat.com>
b0b92438 2728
17c0c97d 2729 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS]: Turn off C99 hex
b0b92438
JJ
2730 floating-point format support. Also redefine
2731 dword0 and dword1 macros.
2732 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
2733 to prevent setting dword1 which is an rvalue only.
2734
17c0c97d 27352006-06-22 Jeff Johnston <jjohnstn@redhat.com>
f489b594
JJ
2736
2737 * libc/stdlib/Makefile.am: Add new gdtoa routines.
2738 * libc/stdlib/Makefile.in: Regenerated.
2739 * libc/stdlib/gd_qnan.h: New file.
2740 * libc/stdlib/gdtoa-gethex.c: Ditto.
2741 * libc/stdlib/gdtoa-hexnan.c: Ditto.
2742 * libc/stdlib/gdtoa.h: Ditto.
2743 * libc/stdlib/mprec.c: Add new helper routines needed by
2744 the new gdtoa code.
2745 * libc/stdlib/mprec.h: Integrate some defines and prototypes
2746 used by gdtoa routines here.
2747 * libc/stdlib/strtod.c: Rebased on David M. Gay's gdtoa-strtod.c
2748 which adds C99 support such as nan, inf, and hexadecimal input
2749 format.
2750
c8956c6f
JJ
27512006-06-15 Corinna Vinschen <corinna@vinschen.de>
2752
2753 * libc/include/stdio.h (__sgetc_r): Fix typo.
2754 * libc/stdio/fread.c (_fread_r): Convert crlf calls to crlf_r.
2755 * libc/stdio/rget.c (__srbuf): Reinstantiate.
2756 * libc/stdio/wbuf.c (__swbuf): Ditto.
2757
17c0c97d 27582006-06-14 Jeff Johnston <jjohnstn@redhat.com>
4dc0c0c4
JJ
2759
2760 * libc/include/stdio.h: Add new reentrant I/O prototypes for
17c0c97d 2761 read/write functions. Change getc/putc macros to have reentrant underlying
4dc0c0c4
JJ
2762 macros/functions. This includes __sgetc_raw_r, __sgetc_r, and __sputc_r.
2763 * libc/stdio/fgetc.c: Fix and/or add reentrant version to call
2764 new reentrant I/O functions/macros for reading/writing.
2765 * libc/stdio/fgets.c: Ditto.
2766 * libc/stdio/fputc.c: Ditto.
2767 * libc/stdio/fputs.c: Ditto.
2768 * libc/stdio/fread.c: Ditto.
2769 * libc/stdio/fseek.c: Ditto.
2770 * libc/stdio64/fseeko64.c: Ditto.
2771 * libc/stdio/fwrite.c: Ditto.
2772 * libc/stdio/getc.c: Ditto.
2773 * libc/stdio/getc_u.c: Ditto.
2774 * libc/stdio/getchar.c: Ditto.
2775 * libc/stdio/getchar_u.c: Ditto.
2776 * libc/stdio/putc.c: Ditto.
2777 * libc/stdio/putc_u.c: Ditto.
2778 * libc/stdio/putchar.c: Ditto.
2779 * libc/stdio/puts.c: Ditto.
2780 * libc/stdio/vfprintf.c: Ditto.
2781 * libc/stdio/vfscanf.c: Ditto.
2782 * libc/stdio/fvwrite.c: Change __sfvwrite into reentrant __sfvwrite_r.
2783 Change all previous callers of __sfvwrite. Set errno to EBADF and
2784 set error flag on if attempt is made to write to file that does not
2785 allow writing.
2786 * libc/stdio/fvwrite.h: Fix new reentrant prototypes.
2787 * libc/stdio/local.h: Ditto.
2788 * libc/stdio/refill.c: Turn __srefill into reentrant __srefill_r.
2789 Set errno to EBADF and the error flag on if attempt is made to
2790 read unreadable file. Change all previous callers of __srefill.
2791 * libc/stdio/rget.c
2792 * libc/stdio/wbuf.c: Turn __swbuf into reentrant __swbuf_r. Change
2793 all previous callers of __swbuf.
2794 * libc/sys/linux/machine/i386/huge_val.h: Ifdef out file contents since
2795 huge value macros are already defined correctly for i386 by <math.h>.
2796
c4cac45f
JJ
27972006-06-13 Sandra Loosemore <sandra@codesourcery.com>
2798
2799 * /libc/sys/arm/syscalls.c (_unlink, isatty, _system, _rename):
2800 Make them do something useful in the ARM_RDI_MONITOR case.
2801
b5b6cbd8
JJ
28022006-06-07 Fred Fish <fnf@specifix.com>
2803
2804 * libc/search/hash_bigkey.c (MIN,MAX): Remove
2805 defines that are already supplied by <sys/param.h>.
2806
3cc3705c
JJ
28072006-06-07 Fred Fish <fnf@specifix.com>
2808
2809 * configure.host: Remove references to HAVE_GETTIMEOFDAY.
2810
512c2879
JJ
28112006-06-05 Shaun Jackman <sjackman@gmail.com>
2812
2813 * libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and
2814 usleep.c.
2815 * libc/posix/Makefile.in: Regenerate.
2816 * libc/posix/sleep.c: New file.
2817 * libc/posix/usleep.c: Ditto.
2818
6ea486a6
JJ
28192006-06-05 Shaun Jackman <sjackman@gmail.com>
2820
9eedc2e6 2821 * configure.host (newlib_cflags) [arm, thumb, xscale]: Remove
6ea486a6
JJ
2822 -DABORT_PROVIDED flag.
2823 * newlib/libc/sys/arm/syscalls.c (kill, exit): Sync with libgloss.
2824 * newlib/libc/sys/arm/libcfunc.c (abort): Ditto.
2825
2e7c576a
JJ
28262006-06-05 Jeff Johnston <jjohnstn@redhat.com>
2827
2828 * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS.
2829 * Makefile.in: Regenerated.
2830 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Remove
2831 extraneous CFLAGS reference now that CCASFLAGS are being extended
2832 properly via multilib.
2833 * libc/machine/sh/Makefile.in: Regenerated.
2834
3feae7b1
JJ
28352006-06-02 Shaun Jackman <sjackman@gmail.com>
2836
2837 * libc/unix/sigset.c: Undefine sigfillset, sigdelset, and
2838 sigismember.
2839
f383bda5
JJ
28402006-05-23 Jeff Johnston <jjohnstn@redhat.com>
2841
2842 * libc/misc/dprintf.c: Removed.
2843 * libc/misc/__dprintf.c: Renamed from dprintf.c.
2844 * libc/misc/Makefile.am: Changed appropriately for rename.
2845 * libc/misc/Makefile.in: Regenerated.
2846
8eeee74e
JJ
28472006-05-23 Jeff Johnston <jjohnstn@redhat.com>
2848
2849 * libc/include/stdio.h: Protect dprintf prototype
2850 with #ifndef dprintf so as to not interfere with
2851 historical code defining their own dprintf macro.
2852
dc7798c6
JJ
28532006-05-18 Jeff Johnston <jjohnstn@redhat.com>
2854
2855 * libc/include/stdio.h: Add prototypes for fiscanf,
2856 iscanf, and siscanf.
2857
e1b888df
JR
28582006-05-11 J"orn Rennecke <joern.rennecke@st.com>
2859
2860 * acinclude.m4 (_NEWLIB_VERSION): Rename to:
2861 (DEF_NEWLIB_VERSION).
2862 * configure.in (_NEWLIB_VERSION): Use NEWLIB_VERSION.
2863 * configure: Regenerate.
2864
7f32c41d
JJ
28652006-05-09 Jeff Johnston <jjohnstn@redhat.com>
2866
2867 * libc/ctype/Makefile.am: Add $(ELIX_SOURCES) to
2868 lib_a_SOURCES.
2869 * libc/ctype/Makefile.in: Regenerated.
2870
bac01fc8
JJ
28712006-05-09 Kazu Hirata <kazu@codesourcery.com>
2872
2873 * libc/machine/arm/Makefile.am: Fix a typo.
2874 * libc/machine/arm/Makefile.in: Regenerated.
2875
6c47d5b7
JR
28762006-05-08 J"orn Rennecke <joern.rennecke@st.com>
2877
2878 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
2879 * libc/machine/sh/Makefile.in: Regenerate.
2880
7cc7e374
JR
28812006-05-03 J"orn Rennecke <joern.rennecke@st.com>
2882
2883 * libc/sys/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
2884 * libc/sys/sh/Makefile.in (AM_CCASFLAGS): Likewise.
2885
a8b02d46
JJ
28862006-05-02 Jeff Johnston <jjohnstn@redhat.com>
2887
2888 * libc/sys/sysnec810/Makefile.am: Specify .S files instead of
2889 .s.
2890 * libc/sys/sysnec810/Makefile.in: Regenerated.
2891 * libc/sys/sysnec810/crt0.S: Renamed from .s file.
2892 * libc/sys/sysnec810/io.S: Ditto.
2893 * libc/sys/sysnec810/crt0.s: Renamed to .S file.
2894 * libc/sys/sysnec810/io.s: Ditto.
2895
8f8f1db1
JJ
28962006-05-01 Jeff Johnston <jjohnstn@redhat.com>
2897
2898 * libc/argz/Makefile.am: Prefix any objects specified with $(lpfx). If source file can
2899 be specified instead of object, do so.
2900 * libc/ctype/Makefile.am: Ditto.
2901 * libc/iconv/ccs/Makefile.am: Ditto.
2902 * libc/iconv/ces/Makefile.am: Ditto.
2903 * libc/iconv/lib/Makefile.am: Ditto.
2904 * libc/locale/Makefile.am: Ditto.
2905 * libc/posix/Makefile.am: Ditto.
2906 * libc/reent/Makefile.am: Ditto.
2907 * libc/search/Makefile.am: Ditto.
2908 * libc/stdio/Makefile.am: Ditto.
2909 * libc/stdio64/Makefile.am: Ditto.
2910 * libc/stdlib/Makefile.am: Ditto.
2911 * libc/string/Makefile.am: Ditto.
2912 * libc/syscalls/Makefile.am: Ditto.
2913 * libc/unix/Makefile.am: Ditto.
2914 * libc/machine/a29k/Makefile.am: Specify lib_a_CCASFLAGS so .S files will get
2915 prefix added automatically. Any specified rules must use $(lpfx) for
2916 object file names.
2917 * libc/machine/arm/Makefile.am: Ditto.
2918 * libc/machine/cris/Makefile.am: Ditto.
2919 * libc/machine/crx/Makefile.am: Ditto.
2920 * libc/machine/d10v/Makefile.am: Ditto.
2921 * libc/machine/d30v/Makefile.am: Ditto.
2922 * libc/machine/fr30/Makefile.am: Ditto.
2923 * libc/machine/frv/Makefile.am: Ditto.
2924 * libc/machine/h8300/Makefile.am: Ditto.
2925 * libc/machine/h8500/Makefile.am: Ditto.
2926 * libc/machine/hppa/Makefile.am: Ditto.
2927 * libc/machine/i386/Makefile.am: Ditto.
2928 * libc/machine/i960/Makefile.am: Ditto.
2929 * libc/machine/iq2000/Makefile.am: Ditto.
2930 * libc/machine/m32c/Makefile.am: Ditto.
2931 * libc/machine/m32r/Makefile.am: Ditto.
2932 * libc/machine/m68hc11/Makefile.am: Ditto.
2933 * libc/machine/m68k/Makefile.am: Ditto.
2934 * libc/machine/m88k/Makefile.am: Ditto.
2935 * libc/machine/mips/Makefile.am: Ditto.
2936 * libc/machine/mn10200/Makefile.am: Ditto.
2937 * libc/machine/mn10300/Makefile.am: Ditto.
2938 * libc/machine/mt/Makefile.am: Ditto.
2939 * libc/machine/necv70/Makefile.am: Ditto.
2940 * libc/machine/powerpc/Makefile.am: Ditto.
2941 * libc/machine/sh/Makefile.am: Ditto.
2942 * libc/machine/sh/Makefile.in: Ditto.
2943 * libc/machine/sparc/Makefile.am: Ditto.
2944 * libc/machine/tic4x/Makefile.am: Ditto.
2945 * libc/machine/tic80/Makefile.am: Ditto.
2946 * libc/machine/v850/Makefile.am: Ditto.
2947 * libc/machine/w65/Makefile.am: Ditto.
2948 * libc/machine/xscale/Makefile.am: Ditto.
2949 * libc/machine/xstormy16/Makefile.am: Ditto.
2950 * libc/machine/z8k/Makefile.am: Ditto.
2951 * libc/sys/a29khif/Makefile.am: Ditto.
2952 * libc/sys/arm/Makefile.am: Ditto.
2953 * libc/sys/d10v/Makefile.am: Ditto.
2954 * libc/sys/h8300hms/Makefile.am: Ditto.
2955 * libc/sys/h8500hms/Makefile.am: Ditto.
2956 * libc/sys/linux/Makefile.am: Ditto.
2957 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
2958 * libc/sys/linux/net/Makefile.am: Ditto.
2959 * libc/sys/linux/stdlib/Makefile.am: Ditto.
2960 * libc/sys/m88kbug/Makefile.am: Ditto.
2961 * libc/sys/mmixware/Makefile.am: Ditto.
2962 * libc/sys/rdos/Makefile.am: Ditto.
2963 * libc/sys/rtems/Makefile.am: Ditto.
2964 * libc/sys/sh/Makefile.am: Ditto.
2965 * libc/sys/sun4/Makefile.am: Ditto.
2966 * libc/sys/sysmec/Makefile.am: Ditto.
2967 * libc/sys/sysnec810/Makefile.am: Ditto.
2968 * libc/sys/sysnecv850/Makefile.am: Ditto.
2969 * libc/sys/sysvi386/Makefile.am: Ditto.
2970 * libc/sys/sysvnecv70/Makefile.am: Ditto.
2971 * libc/sys/tic80/Makefile.am: Ditto.
2972 * libc/sys/w65/Makefile.am: Ditto.
2973 * libc/sys/z8ksim/Makefile.am: Ditto.
2974 * libc/machine/necv70/fastmath.S: Renamed from .s file.
2975 * libc/machine/necv70/setjmp.S: Ditto.
2976 * libc/machine/necv70/fastmath.s: Removed.
2977 * libc/machine/necv70/setjmp.s: Ditto.
2978 * libc/machine/w65/*.S: New files renamed from .s files.
2979 * libc/machine/w65/*.s: Renamed and removed.
2980 * libc/sys/a29khif/*.S: New files renamed from .s files.
2981 * libc/sys/a29khif/*.s: Renamed and removed.
2982 * libc/sys/sysvi386/*.S: New files renamed from .s files.
2983 * libc/sys/sysvi386/*.s: Renamed and removed.
2984 * libc/sys/sysvnecv70/*.S: New files renamed from .s files.
2985 * libc/sys/sysvnecv70/*.s: Renamed and removed.
2986 * libc/*Makefile.in: Regenerated as appropriate.
2987
b34db572
DD
29882006-04-24 DJ Delorie <dj@redhat.com>
2989
2990 * libc/machine/sh/configure.in: Avoid link tests.
2991 * libc/machine/sh/configure: Regenerate.
2992
e163e3e1
JJ
29932006-04-18 Jeff Johnston <jjohnstn@redhat.com>
2994
2995 * libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros.
2996 (sigaddset, sigemptyset): Add return code.
2997
7ad96224
JJ
29982006-04-13 Ralf Corsepius <ralf.corsepius@rtems.org>
2999
ba3ccd63
EB
3000 * acinclude.m4: New _NEWLIB_VERSION.
3001 * acinclude.m4(NEWLIB_CONFIGURE): AC_REQUIRE(_NEWLIB_VERSION).
3002 Use AC_CANONICAL_HOST instead of AC_CANONICAL_SYSTEM.
3003 Use new form of AC_INIT_AUTOMAKE.
3004 * configure.in: AC_PREREQ(2.59).
3005 Use autoconf-2.5.x version of AC_INIT.
3006 Use AC_CONFIG_FILES and autoconf-2.5x AC_OUTPUT instead of
3007 autoconf-2.13's AC_OUTPUT.
3008 * libm/configure.in: Ditto.
3009 * libm/machine/configure.in: Ditto.
3010 * libm/machine/i386/configure.in: Ditto.
3011 * libc/configure.in: Ditto.
3012 * libc/machine/a29k/configure.in: Ditto.
3013 * libc/machine/arm/configure.in: Ditto.
3014 * libc/machine/configure.in: Ditto.
3015 * libc/machine/mn10300/configure.in: Ditto.
3016 * libc/machine/powerpc/configure.in: Ditto.
3017 * libc/machine/z8k/configure.in: Ditto.
3018 * libc/machine/h8300/configure.in: Ditto.
3019 * libc/machine/mips/configure.in: Ditto.
3020 * libc/machine/crx/configure.in: Ditto.
3021 * libc/machine/m68hc11/configure.in: Ditto.
3022 * libc/machine/h8500/configure.in: Ditto.
3023 * libc/machine/xscale/configure.in: Ditto.
3024 * libc/machine/d10v/configure.in: Ditto.
3025 * libc/machine/fr30/configure.in: Ditto.
3026 * libc/machine/sh/configure.in: Ditto.
3027 * libc/machine/tic80/configure.in: Ditto.
3028 * libc/machine/m32r/configure.in: Ditto.
3029 * libc/machine/xstormy16/configure.in: Ditto.
3030 * libc/machine/i386/configure.in: Ditto.
3031 * libc/machine/d30v/configure.in: Ditto.
3032 * libc/machine/mn10200/configure.in: Ditto.
3033 * libc/machine/frv/configure.in: Ditto.
3034 * libc/machine/mt/configure.in: Ditto.
3035 * libc/machine/i960/configure.in: Ditto.
3036 * libc/machine/v850/configure.in: Ditto.
3037 * libc/machine/necv70/configure.in: Ditto.
3038 * libc/machine/tic4x/configure.in: Ditto.
3039 * libc/machine/cris/configure.in: Ditto.
3040 * libc/machine/m68k/configure.in: Ditto.
3041 * libc/machine/m32c/configure.in: Ditto.
3042 * libc/machine/hppa/configure.in: Ditto.
3043 * libc/machine/w65/configure.in: Ditto.
3044 * libc/machine/iq2000/configure.in: Ditto.
3045 * libc/machine/sparc/configure.in: Ditto.
3046 * libc/machine/m88k/configure.in: Ditto.
3047 * libc/sys/linux/configure.in: Ditto.
3048 * libc/sys/linux/machine/configure.in: Ditto.
3049 * libc/sys/linux/machine/i386/configure.in: Ditto.
3050 * libc/sys/linux/linuxthreads/configure.in: Ditto.
3051 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
3052 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
3053 * libc/sys/arm/configure.in: Ditto.
3054 * libc/sys/configure.in: Ditto.
3055 * libc/sys/decstation/configure.in: Ditto.
3056 * libc/sys/a29khif/configure.in: Ditto.
3057 * libc/sys/sysnecv850/configure.in: Ditto.
3058 * libc/sys/d10v/configure.in: Ditto.
3059 * libc/sys/netware/configure.in: Ditto.
3060 * libc/sys/mmixware/configure.in: Ditto.
3061 * libc/sys/h8500hms/configure.in: Ditto.
3062 * libc/sys/sh/configure.in: Ditto.
3063 * libc/sys/tic80/configure.in: Ditto.
3064 * libc/sys/rdos/configure.in: Ditto.
3065 * libc/sys/sysmec/configure.in: Ditto.
3066 * libc/sys/sysvi386/configure.in: Ditto.
3067 * libc/sys/h8300hms/configure.in: Ditto.
3068 * libc/sys/sparc64/configure.in: Ditto.
3069 * libc/sys/arc/configure.in: Ditto.
3070 * libc/sys/sysnec810/configure.in: Ditto.
3071 * libc/sys/m88kbug/configure.in: Ditto.
3072 * libc/sys/sysvnecv70/configure.in: Ditto.
3073 * libc/sys/z8ksim/configure.in: Ditto.
3074 * libc/sys/rtems/configure.in: Ditto.
3075 * libc/sys/w65/configure.in: Ditto.
3076 * libc/sys/sun4/configure.in: Ditto.
3077 * doc/configure.in: Ditto.
3078 * iconvdata/configure.in: Ditto.
3079 * configure.in: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER.
7ad96224 3080
34e66679
JJ
30812006-04-11 Jeff Johnston <jjohnstn@redhat.com>
3082
3083 * acinclude.m4: Properly add square brackets for
3084 AC_DEFUN macros. Rewrite LIB_AC_PROG_CC to remove
3085 macros no longer available. Add LIB_AM_PROG_AS to
3086 remove prereq of AC_PROG_CC. Add LIB_AC_PROG_CC_GNU
3087 macro. Substitute lpfx (library object prefix).
3088 * configure.host: Set lpfx depending on whether
3089 libtool is used or not.
3090 * configure.in: Individually specify libc and libm
3091 to AC_CONFIG_SUBDIRS. Add square bracket quoting as
3092 necessary.
3093 * Makefile.am: Use $(lpfx) to get object names for
3094 math-library functions that should also be in libc.
3095 * libc/machine/configure.in: Use case statement to determine
3096 AC_CONFIG_SUBDIRS statement.
3097 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
3098 * libc/sys/linux/machine/configure.in: Ditto.
3099 * libc/sys/configure.in: Ditto.
3100 * libm/machine/configure.in: Ditto.
3101 * libc/sys/linux/configure.in: Fix up AC_CONFIG_SUBDIRS.
3102 * libm/configure.in: Add AM_CONDITIONAL statement
3103 for HAVE_LIBM_MACHINE_DIR.
3104 * libc/machine/a29k/Makefile.am: Modified to work with
3105 latest automake. Change includes setting AM_CCASFLAGS
3106 so building .S files will properly pick up flags used
3107 to build C files.
3108 * libc/machine/arm/Makefile.am: Ditto.
3109 * libc/machine/crx/Makefile.am: Ditto.
3110 * libc/machine/d10v/Makefile.am: Ditto.
3111 * libc/machine/d30v/Makefile.am: Ditto.
3112 * libc/machine/fr30/Makefile.am: Ditto.
3113 * libc/machine/frv/Makefile.am: Ditto.
3114 * libc/machine/h8300/Makefile.am: Ditto.
3115 * libc/machine/h8500/Makefile.am: Ditto.
3116 * libc/machine/hppa/Makefile.am: Ditto.
3117 * libc/machine/i386/Makefile.am: Ditto.
3118 * libc/machine/iq2000/Makefile.am: Ditto.
3119 * libc/machine/m32c/Makefile.am: Ditto.
3120 * libc/machine/m32r/Makefile.am: Ditto.
3121 * libc/machine/m68hc11/Makefile.am: Ditto.
3122 * libc/machine/m68k/Makefile.am: Ditto.
3123 * libc/machine/m88k/Makefile.am: Ditto.
3124 * libc/machine/mips/Makefile.am: Ditto.
3125 * libc/machine/mn10200/Makefile.am: Ditto.
3126 * libc/machine/mn10300/Makefile.am: Ditto.
3127 * libc/machine/mt/Makefile.am: Ditto.
3128 * libc/machine/necv70/Makefile.am: Ditto.
3129 * libc/machine/powerpc/Makefile.am: Ditto.
3130 * libc/machine/sh/Makefile.am: Ditto.
3131 * libc/machine/sparc/Makefile.am: Ditto.
3132 * libc/machine/tic4x/Makefile.am: Ditto.
3133 * libc/machine/tic80/Makefile.am: Ditto.
3134 * libc/machine/v850/Makefile.am: Ditto.
3135 * libc/machine/w65/Makefile.am: Ditto.
3136 * libc/machine/xscale/Makefile.am: Ditto.
3137 * libc/machine/xstormy16/Makefile.am: Ditto.
3138 * libc/machine/z8k/Makefile.am: Ditto.
3139 * libc/sys/a29khif/Makefile.am: Ditto.
3140 * libc/sys/arc/Makefile.am: Ditto.
3141 * libc/sys/arm/Makefile.am: Ditto.
3142 * libc/sys/d10v/Makefile.am: Ditto.
3143 * libc/sys/decstation/Makefile.am: Ditto.
3144 * libc/sys/h8300hms/Makefile.am: Ditto.
3145 * libc/sys/h8500hms/Makefile.am: Ditto.
3146 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
3147 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
3148 * libc/sys/m88kbug/Makefile.am: Ditto.
3149 * libc/sys/mmixware/Makefile.am: Ditto.
3150 * libc/sys/netware/Makefile.am: Ditto.
3151 * libc/sys/rdos/Makefile.am: Ditto.
3152 * libc/sys/rtems/Makefile.am: Ditto.
3153 * libc/sys/sh/Makefile.am: Ditto.
3154 * libc/sys/sparc64/Makefile.am: Ditto.
3155 * libc/sys/sysmec/Makefile.am: Ditto.
3156 * libc/sys/sysnec810/Makefile.am: Ditto.
3157 * libc/sys/sysnecv850/Makefile.am: Ditto.
3158 * libc/sys/sysvi386/Makefile.am: Ditto.
3159 * libc/sys/sysvnecv70/Makefile.am: Ditto.
3160 * libc/sys/tic80/Makefile.am: Ditto.
3161 * libc/sys/w65/Makefile.am: Ditto.
3162 * libc/sys/z8ksim/Makefile.am: Ditto.
3163 * libm/machine/i386/Makefile.am: Ditto.
3164 * libc/sys/arm/Makefile.am: Ditto plus add EXTRA sources including
3165 trap.S so that automake will generate a .S.o suffix rule.
3166 * libc/argz/Makefile.am: Modified to work with
3167 latest automake. Change includes adding lib_a_CFLAGS
3168 so automake doesn't complain about libtool and non-libtool
3169 libraries sharing objects.
3170 * libc/ctype/Makefile.am: Ditto.
3171 * libc/errno/Makefile.am: Ditto.
3172 * libc/iconv/ccs/Makefile.am: Ditto.
3173 * libc/iconv/ces/Makefile.am: Ditto.
3174 * libc/iconv/lib/Makefile.am: Ditto.
3175 * libc/locale/Makefile.am: Ditto.
3176 * libc/misc/Makefile.am: Ditto.
3177 * libc/posix/Makefile.am: Ditto.
3178 * libc/reent/Makefile.am: Ditto.
3179 * libc/search/Makefile.am: Ditto.
3180 * libc/signal/Makefile.am: Ditto.
3181 * libc/stdio/Makefile.am: Ditto.
3182 * libc/stdio64/Makefile.am: Ditto.
3183 * libc/stdlib/Makefile.am: Ditto.
3184 * libc/string/Makefile.am: Ditto.
3185 * libc/sys/linux/Makefile.am: Ditto.
3186 * libc/sys/linux/argp/Makefile.am: Ditto.
3187 * libc/sys/linux/cmath/Makefile.am: Ditto.
3188 * libc/sys/linux/dl/Makefile.am: Ditto.
3189 * libc/sys/linux/iconv/Makefile.am: Ditto.
3190 * libc/sys/linux/intl/Makefile.am: Ditto.
3191 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
3192 * libc/sys/linux/net/Makefile.am: Ditto.
3193 * libc/sys/linux/stdlib/Makefile.am: Ditto.
3194 * libc/syscalls/Makefile.am: Ditto.
3195 * libc/time/Makefile.am: Ditto.
3196 * libc/unix/Makefile.am: Ditto.
3197 * libm/Makefile.am: Ditto.
3198 * libm/common/Makefile.am: Ditto.
3199 * libm/math/Makefile.am: Ditto.
3200 * libm/mathfp/Makefile.am: Ditto.
3201 * Regenerate all aclocal.m4, Makefile.in, and configure files.
3202
b577ecdf
JJ
32032006-04-07 Jeff Johnston <jjohnstn@redhat.com>
3204
3205 * libc/time/time.c (time): Do not check for HAVE_GETTIMEOFDAY
3206 anymore. Assume there is a gettimeofday syscall.
3207
ef79d97d
JJ
32082006-03-29 Shaun Jackman <sjackman@gmail.com>
3209
3210 * libc/sys/linux/include/netinet/ip.h: Include netinet/in_systm.h
3211 for the declaration of n_long.
3212
15a1b33c
JJ
32132006-03-29 Shaun Jackman <sjackman@gmail.com>
3214
3215 * libc/sys/linux/include/net/if.h: Include sys/socket.h for
3216 struct sockaddr.
3217 (IFF_SMART): Replace this define with IFF_NOTRAILERS.
3218 (IFF_CANTCHANGE): Replace IFF_SMART reference with IFF_NOTRAILERS.
3219 (IFF_NOTRAILERS): New define.
3220 (struct ifreq): Add ifru_netmask.
3221 (ifr_netmask): New define.
3222
bcc4ff05
JJ
32232006-03-29 Shaun Jackman <sjackman@gmail.com>
3224
3225 * libc/sys/linux/sys/ioccom.h (ioctl): Change declaration to
3226 match sys/ioctl.h.
3227
8fed3e2e
JJ
32282006-03-29 Shaun Jackman <sjackman@gmail.com>
3229
17c0c97d 3230 * libtool.m4: Set lt_cv_deplibs_check_method=pass_all for
8fed3e2e
JJ
3231 linux-newlib libc implementations.
3232
6507c097
JJ
32332006-03-29 Eric Blake <ebb9@byu.net>
3234
3235 * libc/stdio/freopen.c (_freopen_r) [__SCLE]: Fix typo.
3236 * libc/stdio64/freopen64.c (_freopen64_r) [__SCLE]: Likewise.
3237
fac690be
JJ
32382006-03-29 Jeff Johnston <jjohnstn@redhat.com>
3239
3240 * libc/sys/linux/io.c (__mknod): Fix declaration of
3241 syscall to pass a dev_t as third argument rather than
3242 a pointer to dev_t.
3243
9e443adb
JJ
32442006-03-29 Jeff Johnston <jjohnstn@redhat.com>
3245
3246 * libc/sys/linux/net/name6.c: Fix struct references.
3247
ce93dfe4
MM
32482006-03-22 Mark Mitchell <mark@codesourcery.com>
3249
3250 * configure.host: Allow hosts to set the default
3251 newlib_atexit_dynamic_alloc value.
3252 * configure.in: Likewise.
3253 * configure: Regenerated.
3254
3078fb4f
MM
32552006-03-20 Mark Mitchell <mark@codesourcery.com>
3256
3257 * acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef.
3258 * configure.in (--disable-newlib-atexit-dynamic-alloc): New
17c0c97d 3259 option.
3078fb4f
MM
3260 * configure: Regenerated.
3261 * newlib.hin: Regenerated.
3262 * libc/stdlib/__atexit.c (__register_exitproc): Don't call malloc
3263 if _ATEXIT_DYNAMIC_ALLOC is undefined.
3264 * libc/stdlib/__call_atexit.c (__call_exitprocs): Don't call free
3265 if _ATEXIT_DYNAMIC_ALLOC is undefined.
3266
9d5cff74
JJ
32672006-03-17 Jeff Johnston <jjohnstn@redhat.com>
3268
3269 * libc/sys/linux/linuxthreads/config.h: Remove definition
3270 of UINT32_C.
3271
490cfb83
JJ
32722006-03-15 Jeff Johnston <jjohnstn@redhat.com>
3273
3274 * libc/stdio/wsetup.c (__swsetup): Don't make a buffer
3275 for a string I/O file that isn't using the asprintf family.
3276
ce10f178
JJ
32772006-03-07 Eric Blake <ebb9@byu.net>
3278
3279 * libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL
3280 filename, allow read-only or write-only FILE atop O_RDWR file
3281 descriptor.
3282 * libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.
3283
ddf12e6b
JJ
32842006-03-07 Jeff Johnston <jjohnstn@redhat.com>
3285
3286 * libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf.
3287 * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.
3288
cb197581
JJ
32892006-03-02 Jeff Johnston <jjohnstn@redhat.com>
3290
3291 * libm/math/math.tex: Fix reference to sisnan.def which
3292 is now in common subdirectory.
3293 * libm/mathfp/mathfp.tex: Ditto.
3294
e48682cf
JJ
32952006-02-27 Jeff Johnston <jjohnstn@redhat.com>
3296
17c0c97d 3297 * Makefile.am (MATHOBJS_IN_LIBC): Add s_isinfd, sf_isinff,
e48682cf
JJ
3298 s_isnand, and sf_isnanf object files.
3299 * Makefile.in: Regenerated.
3300 * libc/include/ieeefp.h: Undef isnan and isinf to avoid
3301 conflict if <math.h> has previously been included.
3302 * libc/include/math.h
bc88ea65
JJ
3303 * libc/include/math.h: Make isnan and isinf macros to
3304 conform to C99.
3305 (__isinfd, __isinff, __isnand, __isnanf): New functions.
e48682cf
JJ
3306 * libm/common/Makefile.am: Add new s_isinfd, s_isnand, sf_isinff,
3307 and sf_isnanf files. Also support s_isnan, sf_isnan, s_isinf, and
17c0c97d 3308 sf_isinf files which have been moved from math/mathfp directories.
e48682cf
JJ
3309 * libm/common/Makefile.in: Regenerated.
3310 * libm/common/s_isinfd.c: New file.
3311 * libm/common/s_isnand.c: Ditto.
3312 * libm/common/sf_isinff.c: Ditto.
3313 * libm/common/sf_isnanf.c: Ditto.
3314 * libm/common/s_isinf.c: Moved from libm/math directory.
3315 * libm/common/s_isnan.c: Ditto.
3316 * libm/common/sf_isinf.c: Ditto.
3317 * libm/common/sf_isnan.c: Ditto.
3318 * libm/math/Makefile.am: Remove isinf and isnan family functions
3319 which have been moved into common directory.
3320 * libm/mathfp/Makefile.am: Ditto.
3321 * libm/math/Makefile.in: Regenerated.
3322 * libm/mathfp/Makefile.in: Ditto.
3323 * libm/math/s_isinf.c: Removed.
3324 * libm/math/s_isnan.c: Ditto.
3325 * libm/math/sf_isinf.c: Ditto.
3326 * libm/math/sf_isnan.c: Ditto.
3327 * libm/mathfp/s_isinf.c: Ditto.
3328 * libm/mathfp/s_isnan.c: Ditto.
3329 * libm/mathfp/sf_isinf.c: Ditto.
3330 * libm/mathfp/sf_isnan.c: Ditto.
3331
99db626d
JJ
33322006-02-20 Jeff Johnston <jjohnstn@redhat.com>
3333
3334 * libc/stdio/fflush.c (fflush): For an fflush on a read-only
3335 stream, turn off fseek/rewind optimization as per POSIX/SUSv3.
3336 * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized
3337 seek, turn off the __SNPT no-optimization flag.
3338
49103e2b
JJ
33392006-02-16 Jeff Johnston <jjohnstn@redhat.com>
3340
3341 * libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit
3342 will be defined.
3343 * libc/sys/linux/sys/types.h: Move <sys/config.h> ahead of
3344 <features.h> to preset special flags.
3345
680e0f1f
CV
33462006-02-15 Corinna Vinschen <corinna@vinschen.de>
3347
3348 * libc/include/sys/time.h (struct timeval): Change member types
3349 according to SUSv3.
3350 * libc/include/sys/types.h (useconds_t): Change to unsigned
3351 according to SUSv3.
3352 (suseconds_t): Define type.
3353
d6593503
JJ
33542006-02-13 Jeff Johnston <jjohnstn@redhat.com>
3355 David Carne <davidcarne@gmail.com>
3356
3357 * libc/string/strndup_r.c (_strndup_r): Use strnlen logic
3358 instead of strlen to determine number of bytes to copy.
3359 * libc/string/strnlen.c (strnlen): Fix so check for max limit occurs
3360 before looking at storage location.
3361
9bbe6d5d
JJ
33622006-02-07 Paul Brook <paul@codesourcery.com>
3363
3364 * libc/machine/arm/setjmp.S: Add Thumb-2 support.
3365 * libc/sys/arm/crt0.S: Add Thumb-2 startup code.
3366 * libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
3367 * libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
3368 * libc/sys/arm/trap.S: Disable for Thumb-2.
3369
d968b3c8
JJ
33702006-01-31 Leif Ekblad <leif@rdos.net>
3371
3372 * configure.host: RDOS support added
3373 * libc/include/sys/config.h: Ditto.
3374 * libc/sys/rdos/Makefile.am, libc/sys/rdos/Makefile.in: New files.
3375 * libc/sys/rdos/aclocal.m4, libc/sys/rdos/chown.c: Ditto.
3376 * libc/sys/rdos/close.c, libc/sys/rdos/config.h: Ditto.
3377 * libc/sys/rdos/configure, libc/sys/rdos/configure.in: Ditto.
3378 * libc/sys/rdos/crt0.S, libc/sys/rdos/execve.c: Ditto.
3379 * libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c: Ditto.
3380 * libc/sys/rdos/getenv.c, libc/sys/rdos/getpid.c: Ditto.
3381 * libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c: Ditto.
3382 * libc/sys/rdos/kill.c, libc/sys/rdos/link.c: Ditto.
3383 * libc/sys/rdos/lseek.c, libc/sys/rdos/open.c: Ditto.
3384 * libc/sys/rdos/rdos.S, libc/sys/rdos/rdos.h: Ditto.
3385 * libc/sys/rdos/rdoshelp.c, libc/sys/rdos/read.c: Ditto.
3386 * libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c: Ditto.
3387 * libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c: Ditto.
3388 * libc/sys/rdos/times.c, libc/sys/rdos/unlink.c: Ditto.
3389 * libc/sys/rdos/user.def, libc/sys/rdos/wait.c: Ditto.
3390 * libc/sys/rdos/write.c: Ditto.
3391
3acaaf54
JJ
33922006-01-24 Jeff Johnston <jjohnstn@redhat.com>
3393
3394 * acinclude.m4: Add nodefine to AM_INIT_AUTOMAKE macro invocation
3395 so as not to define PACKAGE and VERSION in newlib.h.
3396 * aclocal.m4: Regenerated.
3397 * configure: Ditto.
3398 * newlib.hin: Ditto.
3399
54abc854
JJ
34002006-01-20 Jeff Johnston <jjohnstn@redhat.com>
3401
3402 * acconfig.h: New file to generate newlib.hin from.
3403 * newlib.hin: Regenerated.
3404 * stamp-h.in: Regenerated.
3405 * Makefile.am: Add ACLOCAL_AMFLAGS so aclocal can be
3406 called automatically.
3407 * Makefile.in: Regenerated.
3408 * acinclude.m4: Add proper comment for hack in previous change.
3409 * aclocal.m4 */aclocal.m4: Regenerated.
3410 * configure */configure: Regenerated.
3411
33c9cfbd
JJ
34122006-01-11 Jeff Johnston <jjohnstn@redhat.com>
3413
3414 * acinclude.m4: Add hack to prevent INSTALL in subdirs
3415 from being set to "../".
3416 * Makefile.am: Pass INSTALL in AM_MAKEFLAGS.
3417 * aclocal.m4: Regenerated.
3418 * configure: Ditto.
3419 * Makefile.in: Ditto.
3420 * doc/aclocal.m4: Ditto.
3421 * doc/configure: Ditto.
3422 * iconvdata/aclocal.m4: Ditto.
3423 * iconvdata/configure: Ditto.
3424 * libc/*/aclocal.m4: Ditto.
3425 * libc/*/configure: Ditto.
3426 * libc/libc.texinfo: Ditto.
3427 * libm/*/aclocal.m4: Ditto.
3428 * libm/*/configure: Ditto.
3429
dea958bc
JJ
34302006-01-10 Eric Blake <ebb9@byu.net>
3431
3432 * libc/stdio/freopen.c (_freopen_r): Fix use of oflags.
3433 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
3434
216633f7
JJ
34352006-01-10 Jeff Johnston <jjohnstn@redhat.com>
3436
3437 * libm/mathfp/s_frexp.c: Check for special values on
3438 the original input, not the manipulated output value.
3439 * libm/mathfp/sf_frexp.c: Ditto.
3440 * libm/mathfp/s_atangent.c: Don't use local value branch
3441 when checking for quadrant.
3442 * libm/mathfp/sf_atangent.c: Ditto.
3443
64ae8ab5
JJ
34442006-01-09 Jeff Johnston <jjohnstn@redhat.com>
3445
3446 * libc/stdio/freopen.c: Switch to use isatty instead of _isatty.
3447 * libc/stdio64/freopen64.c: Ditto.
3448
0da7297e
JJ
34492006-01-09 Eric Blake <ebb9@byu.net>
3450
3451 * libc/stdio/freopen.c (_freopen_r): Accept NULL filename.
3452 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
3453
a37aaf88
JJ
34542006-01-06 Jeff Johnston <jjohnstn@redhat.com>
3455
3456 * libc/sys/linux/include/getopt.h: Add macros needed by
3457 new version of getopt.c in libc/stdlib.
3458
791c9bda
JJ
34592006-01-04 Gregory Pietsch <gpietsch@comcast.net>
3460
3461 * libc/stdlib/getopt.c: Replaced with version
3462 that adds getopt_long and getopt_long_only support.
3463 * libc/include/getopt.h: New file.
3464
0217078f
JJ
34652005-12-16 Jeff Johnston <jjohnstn@redhat.com>
3466
3467 * NEWS: Update with 1.14.0 info.
3468 * README: Ditto.
3469 * acinclude.m4: Change version number to 1.14.0.
3470 * aclocal.m4: Regenerated.
3471 * configure: Ditto.
3472 * doc/aclocal.m4: Ditto.
3473 * doc/configure: Ditto.
3474 * libc/*/aclocal.m4: Ditto.
3475 * libc/*/configure: Ditto.
3476 * libc/libc.texinfo: Ditto.
3477 * libm/*/aclocal.m4: Ditto.
3478 * libm/*/configure: Ditto.
3479 * libm/libm.texinfo: Ditto.
3480 * libc/sys/linux/shared.ld: Add VERS_1.14.
3481
a4cd7f20
JJ
34822005-12-16 Jeff Johnston <jjohnstn@redhat.com>
3483
3484 * libc/sys/linux/sys/stat.h: Change *stat64 prototypes to
3485 take a pointer to struct stat64 rather than struct stat.
3486
843e635a
JJ
34872005-12-16 Ralf Corsepius <ralf.corsepius@rtems.org>
3488
3489 * libc/include/stdint.h: Prefer long over int for int32_t.
3490 Use __have_long32 to set up int32_t.
3491 * libc/include/inttypes.h: Use "#if xxx" instead of "#ifdef xxx"
3492 (Sync with stdint.h).
3493
10cba930
CV
34942005-12-14 Corinna Vinschen <corinna@vinschen.de>
3495
3496 * libc/include/sys/fcntl.h: Define O_SYNC unconditionally. Fix
3497 typo in O_NDELAY comment.
3498
c8ba5c22
JJ
34992005-12-13 Nathan Sidwell <nathan@codesourcery.com>
3500
3501 * libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__.
3502 * libc/include/machine/setjmp.h (__mt__): Likewise.
3503 * libc/machine/mt/setjmp.S: Rename ms1 reference to mt.
3504 * libc/machine/configure.in: Ditto.
3505
74ecef0d
NS
35062005-12-12 Nathan Sidwell <nathan@codesourcery.com>
3507
3508 * configure.host: Replace ms1 arch with mt arch.
3509 * libc/machine/mt: Renamed from ms1 dir.
3510
2a1fc53c
JJ
35112005-12-08 Shaun Jackman <sjackman@gmail.com>
3512
3513 * libc/include/sys/types.h: Remove the ifdef armour around
3514 standard POSIX types.
3515
77e70d34
JJ
35162005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
3517
3518 * libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
3519 rtems_gxx_key_delete, rtems_gxx_getspecific,
17c0c97d
EB
3520 rtems_gxx_setspecific, rtems_gxx_mutex_trylock,
3521 rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock,
77e70d34
JJ
3522 rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.
3523
b1da33a0
CF
35242005-12-05 Christopher Faylor <cgf@timesys.com>
3525
3526 * libc/include/stdlib.h: Move cygwin declarations to cygwin-specific
3527 file. Declare unsetenv and _unsetenv_r when not cygwin.
3528
6b1a6ec6
JJ
35292005-11-18 Jeff Johnston <jjohnstn@redhat.com>
3530
3531 * libc/time/strptime.c (strptime): Don't abort for %c and %Z.
3532 Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.
3533
d7d477b7
CF
35342005-11-18 Christopher Faylor <cgf@timesys.com>
3535
3536 * include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
3537
c1534dbe
CF
35382005-11-18 Christopher Faylor <cgf@timesys.com>
3539
3540 * include/time.h: Remove more cygwin-specific stuff.
3541
d3e81bda
CF
35422005-11-18 Christopher Faylor <cgf@timesys.com>
3543
3544 * include/time.h: Move cygwin declarations to cygwin-specific header.
3545 * include/sys/time.h: Rename cygwin include to "sys_time.h".
3546
1396951b
JJ
35472005-11-17 Jeff Johnston <jjohnstn@redhat.com>
3548
3549 * libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
3550 in libc/sys/linux/include.
3551 * libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
3552 * libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
3553 * libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
3554 in libc/sys/linux/dl.
3555
37bd11ed
CF
35562005-11-11 Christopher Faylor <cgf@timesys.com>
3557
3558 * libc/include/sys/time.h: For cygwin, use general header rather than
3559 specific "sys/select.h".
3560
b397593c
JJ
35612005-11-08 Tom Walsh <tom@openhardware.net>
3562
3563 * libc/time/tzvars.c: New file.
3564 * libc/time/tzset_r.c: Moved globals into tzvars.c
3565 so other time functions needn't link in __tzset_r and its
3566 dependencies.
3567 * libc/time/Makefile.am: Add the new file.
3568 * libc/time/Makefile.in: Regenerated.
3569
86c6c421
CF
35702005-11-08 Christopher Faylor <cgf@timesys.com>
3571
3572 * libc/include/string.h: Add cygwin-specific function declaration.
3573
ef1206e4
CV
35742005-11-07 Corinna Vinschen <corinna@vinschen.de>
3575
3576 * libc/include/ieeefp.h: Add C++ guards.
3577
15eaca1c
JJ
35782005-11-03 Jeff Johnston <jjohnstn@redhat.com>
3579
3580 * libc/unix/getcwd.c: Don't use non-reentrant syscall names.
3581 * libc/unix/getlogin.c: Ditto.
3582 * libc/unix/getpass.c: Ditto.
3583 * libc/unix/getut.c: Ditto.
3584 * libc/unix/ttyname.c: Ditto.
3585
d31a8623
JJ
35862005-11-03 Shaun Jackman <sjackman@gmail.com>
3587
3588 * libc/include/sys/unistd.h (readlink, symlink): Provide these
3589 prototypes by default.
3590 * libc/sys/linux/include/unistd.h (readlink): Remove this
3591 prototype.
3592 * libc/sys/linux/sys/unistd.h (readlink, symlink): New
3593 prototypes.
3594
71ac53ee
JJ
35952005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>
3596
3597 * libc/include/stdint.h: Cleanup #if vs. #ifdef.
3598
dc1b6289
JJ
35992005-10-31 Darin Johnson <darin@usa.net>
3600
3601 * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
3602 correct for constants.
3603
884c0ff0
JJ
36042005-10-28 Bob Wilson <bob.wilson@acm.org>
3605
3606 * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
3607 * libc/stdio/siscanf.c: Likewise.
3608 * libc/stdio/sprintf.c: Likewise.
3609 * libc/stdio/sscanf.c: Likewise.
3610 * libc/stdio/vfprintf.c: Likewise.
3611 * libc/stdio/vfscanf.c: Likewise.
3612 * libc/stdio/viprintf.c: Likewise.
3613 * libc/stdio/viscanf.c: Likewise.
3614
a9c15f6f
JJ
36152005-10-28 Bob Wilson <bob.wilson@acm.org>
3616
3617 * libc/sys.tex (Stubs): Format examples consistently. Change sbrk
3618 example to use "_end" symbol instead of "end". Change write example
3619 to use "outbyte" instead of "writechar".
3620
a306ebc9
JJ
36212005-10-28 Bob Wilson <bob.wilson@acm.org>
3622
3623 * libc/ctype/ctype.tex: Use hyphens as appropriate, but not otherwise.
3624 * libc/ctype/islower.c: Likewise.
3625 * libc/ctype/isupper.c: Likewise.
3626 * libc/ctype/iswalnum.c: Likewise.
3627 * libc/ctype/iswalpha.c: Likewise.
3628 * libc/ctype/iswblank.c: Likewise.
3629 * libc/ctype/iswcntrl.c: Likewise.
3630 * libc/ctype/iswdigit.c: Likewise.
3631 * libc/ctype/iswgraph.c: Likewise.
3632 * libc/ctype/iswlower.c: Likewise.
3633 * libc/ctype/iswprint.c: Likewise.
3634 * libc/ctype/iswpunct.c: Likewise.
3635 * libc/ctype/iswspace.c: Likewise.
3636 * libc/ctype/iswupper.c: Likewise.
3637 * libc/ctype/iswxdigit.c: Likewise.
3638 * libc/ctype/tolower.c: Likewise.
3639 * libc/ctype/toupper.c: Likewise.
3640 * libc/ctype/towctrans.c: Likewise.
3641 * libc/ctype/towlower.c: Likewise.
3642 * libc/ctype/towupper.c: Likewise.
3643 * libc/string/strcasecmp.c: Likewise.
3644 * libc/string/strcoll.c: Likewise.
3645 * libc/string/strings.tex: Likewise.
3646 * libc/string/strlwr.c: Likewise.
3647 * libc/string/strncasecmp.c: Likewise.
3648 * libc/string/strupr.c: Likewise.
3649 * libc/string/wcscoll.c: Likewise.
3650 * libc/string/wcslcat.c: Likewise.
3651 * libc/string/wcslcpy.c: Likewise.
3652 * libc/string/wcsnlen.c: Likewise.
3653 * libc/string/wcsstr.c: Likewise.
3654 * libc/string/wcstrings.tex: Likewise.
3655 * libc/string/wmemchr.c: Likewise.
3656 * libc/string/wmemcmp.c: Likewise.
3657 * libc/string/wmemcpy.c: Likewise.
3658 * libc/string/wmemmove.c: Likewise.
17c0c97d 3659 * libc/string/wmemset.c: Likewise.
a306ebc9 3660
239c2bf9
JJ
36612005-10-28 Bob Wilson <bob.wilson@acm.org>
3662
3663 * libc/misc/unctrl.c: Replace FUNCTION description.
3664 * libc/signal/signal.c: Remove documentation for raise and _raise_r.
3665 * libc/stdio/getdelim.c: Fix spelling errors.
3666 * libc/stdio/getw.c: Put RETURNS on a separate line. Fix punctuation.
3667 * libc/stdio/putw.c: Likewise.
3668 * libc/stdlib/a64l.c: Fix formatting, spelling and punctuation in
ba3ccd63 3669 documentation.
239c2bf9
JJ
3670 * libc/stdlib/assert.c: Do not capitalize FUNCTION description.
3671 * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
3672 * libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
3673 * libc/stdlib/mlock.c: Likewise.
3674 * libc/stdlib/mstats.c: Likewise.
3675 * libc/time/tzlock.c: Likewise.
3676 * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe" in NOTES.
3677 * libc/stdlib/rand48.c: Remove extra space in FUNCTION description
ba3ccd63 3678 and hyphenate "pseudo-random".
239c2bf9
JJ
3679 * libc/string/bcmp.c: Remove extra blank lines in documentation.
3680 * libc/string/strncat.c: Likewise.
3681 * libc/string/memchr.c: Remove extra ">" character in documentation.
3682 * libc/string/strcspn.c: Use "characters" instead of "chars".
3683 * libc/string/strpbrk.c: Likewise.
3684 * libc/string/strerror_r.c: Capitalize "GNU".
3685 * libc/string/strnlen.c: Likewise.
3686 * libc/string/strtok.c: Fix formatting, spelling and punctuation in
ba3ccd63 3687 documentation. Use "multi-threaded" and "thread-safe" in NOTES.
239c2bf9
JJ
3688 * libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
3689 * libc/string/wcschr.c: Likewise.
3690 * libc/string/wcscmp.c: Likewise.
3691 * libc/string/wcscpy.c: Likewise.
3692 * libc/string/wcscspn.c: Likewise.
3693 * libc/string/wcslen.c: Likewise.
3694 * libc/string/wcsncat.c: Likewise.
3695 * libc/string/wcsncmp.c: Likewise.
3696 * libc/string/wcsncpy.c: Likewise.
3697 * libc/string/wcsnlen.c: Likewise.
3698 * libc/string/wcspbrk.c: Likewise.
3699 * libc/string/wcsrchr.c: Likewise.
3700 * libc/string/wcsspn.c: Likewise.
3701 * libc/string/wmemchr.c: Likewise.
3702 * libc/string/wmemcmp.c: Likewise.
3703 * libc/string/wmemcpy.c: Likewise.
3704 * libc/string/wmemset.c: Likewise.
3705 * libc/string/wmemmove.c: Likewise. Also fix FUNCTION description.
3706 * libc/string/wcswidth.c: Formatting and punctuation in documentation.
3707 * libc/string/wcwidth.c: Likewise.
3708 * libm/common/s_modf.c: Remove extra period from documentation.
3709 * libm/math/s_isnan.c: Fix formatting, grammar and punctuation in
ba3ccd63 3710 documentation.
239c2bf9
JJ
3711 * libm/mathfp/s_isnan.c: Likewise.
3712 * libm/math/s_ldexp.c: Fix punctuation.
3713 * libm/mathfp/s_ldexp.c: Likewise.
3714 * libm/math/w_log.c: Likewise.
3715 * libm/mathfp/s_logarithm.c: Likewise.
3716 * libm/math/w_j0.c: Add spaces to FUNCTION description.
17c0c97d 3717 * libm/mathfp/w_jn.c: Likewise.
239c2bf9 3718
2556eb8d
JJ
37192005-10-26 Shaun Jackman <sjackman@gmail.com>
3720
3721 * libc/posix/scandir.c (scandir): Update the function
3722 prototype to match the header.
3723 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
3724 extraneous #endif.
3725 * libc/sys/linux/sys/lock.h: Do not include
3726 machine/weakalias.h, since it's not used by this file.
3727
c9d71a8d
JJ
37282005-10-26 Jeff Johnston <jjohnstn@redhat.com>
3729
3730 * libc/Makefile.am: Reorder SUBLIBS so machine and sys
3731 directories can override properly.
3732
09968b6d
JJ
37332005-10-20 Jeff Johnston <jjohnstn@redhat.com>
3734
3735 * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
3736 gcc is 3.3 or greater, use special gcc builtins.
3737
c70571bd
CV
37382005-10-20 Corinna Vinschen <corinna@vinschen.de>
3739
3740 * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
3741
a92822b7
CV
37422005-10-18 Corinna Vinschen <corinna@vinschen.de>
3743
3744 * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
3745
d2c2c132
JJ
37462005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3747
3748 * libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
3749 * libm/common/Makefile.am: Add s_infconst.c support.
3750 * libm/common/Makefile.in: Regenerated.
3751 * libm/common/s_infconst.c: New file with float and
3752 long double infinity support added.
3753 * libm/math/Makefile.am: Remove s_infconst.c support.
3754 * libm/math/Makefile.in: Regenerated.
3755 * libm/math/s_infconst.c: Moved to common directory.
3756 * libm/mathfp/Makefile.am: Remove s_infconst.c support.
3757 * libm/mathfp/Makefile.in: Regenerated.
3758 * libm/mathfp/s_infconst.c: Moved to common directory.
3759
4d57c1ed
JJ
37602005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3761
3762 * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
3763 dbgprintf to prevent conflict with new dprintf function.
3764
1012585f
JJ
37652005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3766
3767 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
3768 "nan" processing for systems that have long double support.
3769
e9154015
JJ
37702005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3771
3772 * libc/sys/linux/sys/types.h (int8_t): Add type.
3773
1a869698
JJ
37742005-10-14 Bob Wilson <bob.wilson@acm.org>
3775
ba3ccd63
EB
3776 * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC).
3777 * libm/common/Makefile.in: Regenerate.
3778 * libm/common/common.tex: Delete file.
3779 * libm/math/math.tex: Include .def files from common/.
3780 * libm/mathfp/mathfp.tex: Likewise.
1a869698 3781
e0811fb3
JJ
37822005-10-14 Bob Wilson <bob.wilson@acm.org>
3783
3784 * libc/libc.texinfo (Top): Surround this node with @ifnottex
3785 instead of @ifinfo. Update menu to add Introduction and match
3786 SUBDIRS order.
ba3ccd63 3787 (Introduction): New section.
e0811fb3 3788
e63c98c6
JJ
37892005-10-14 Bob Wilson <bob.wilson@acm.org>
3790
ba3ccd63
EB
3791 * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
3792 with "Red Hat newlib C Library".
3793 * libc/sys.tex (Stubs): Likewise.
3794 * libm/math/math.tex (Math): Likewise.
3795 * libm/mathfp/mathfp.tex (Math): Likewise.
e63c98c6 3796
339195bf
JJ
37972005-10-11 Shaun Jackman <sjackman@gmail.com>
3798
3799 * libc/include/stdio.h (dprintf): New declaration.
3800 (vdprintf): Ditto.
3801 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
3802 and vdprintf.c.
3803 * libc/stdio/Makefile.in: Regenerate.
3804 * libc/stdio/dprintf.c: New file.
3805 * libc/stdio/vdprintf.c: New file.
3806 * libc/stdio/stdio.tex (dprintf): New entry.
3807
da71e518
JJ
38082005-10-11 David Weatherford <weath@tensilica.com>
3809
3810 * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
17c0c97d 3811 Print "inf" and "nan" in lowercase for e/f/g formats and in
da71e518
JJ
3812 uppercase for E/F/G formats.
3813
f011605a
JJ
38142005-10-07 Bob Wilson <bob.wilson@acm.org>
3815
3816 * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
3817 to ENOMEM on failure.
3818
bc037f3a
JJ
38192005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>
3820
3821 * libc/include/stdint.h: Add [u]int_fast<N>_t types.
3822
c7e20979
JJ
38232005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>
3824
3825 * libc/include/stdint.h: Move magic to set __have_long* to the
3826 beginning. Use #if __have* instead of #if defined(__have*).
3827 Minor typo fixes.
3828
58e78add
JJ
38292005-10-04 James E Wilson <wilson@specifix.com>
3830
3831 * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next. Add
3832 #error.
3833
8afb8202
JJ
38342005-10-03 Jeff Johnston <jjohnstn@redhat.com>
3835
3836 * libc/sys/linux/include/stdint.h: Include <sys/types.h> and
3837 incorporate Ralf's change below.
3838
14491fd0
JJ
38392005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>
3840
17c0c97d 3841 * libc/include/stdint.h:
14491fd0
JJ
3842 Use __INTMAX_TYPE__ to derive intmax_t.
3843 Use __UINTMAX_TYPE__ to derive uintmax_t.
3844 Fix minor typo.
3845
ee694aea
JJ
38462005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
3847
17c0c97d 3848 * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
ee694aea
JJ
3849 handling GCC >= 4.
3850
9f1926f2
JJ
38512005-09-20 Jeff Johnston <jjohnstn@redhat.com>
3852
3853 * libc/sys/linux/include/stdint.h: Update to match functionality
3854 of generic newlib stdint.h.
3855
0ce4fcef
JJ
38562005-09-20 Jeff Johnston <jjohnstn@redhat.com>
3857
3858 * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
3859 and do not #undef the macro after it is used. Fix typos.
3860 Also change 64-bit constants to use the __have_long64 and
3861 __have_longlong64 flags to determine if long or long long
3862 constants should be used.
3863 * libc/include/inttypes.h: Include stddef.h to get wchar_t
3864 type defined.
3865
17060817
JJ
38662005-09-20 Shaun Jackman <sjackman@gmail.com>
3867
3868 * libc/include/stdint.h: Fix typo in names of
3869 LEAST macros.
3870
1e1d1d3d
JJ
38712005-09-20 Jeff Johnston <jjohnstn@redhat.com>
3872
3873 * libc/sys/rtems/include/inttypes.h: Moved to...
3874 * libc/include/inttypes.h: ...here.
3875
cddfc170
JJ
38762005-09-19 Jeff Johnston <jjohnstn@redhat.com>
3877
3878 * libc/sys/rtems/include/stdint.h: Moved to...
3879 * libc/include/stdint.h: ...here.
3880
b10ab725
JJ
38812005-09-08 Jeff Johnston <jjohnstn@redhat.com>
3882
3883 * Makefile.am: Add include files under bits sub-directory.
3884 * Makefile.in: Regenerated.
3885 * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
3886 actual value of 1 to be compatible with newer glibc headers.
3887 * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
3888 glibc headers.
3889 * libc/sys/linux/sys/dirent.h: Ditto.
3890 * libc/sys/linux/argp/argp-xinl.c: Ditto.
3891 * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
3892 profile_fixup routines are marked used so they won't be
3893 optimized away.
3894 * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
3895 to mark functions as weak.
3896 * libc/sys/linux/dl/dl-open.c: Ditto.
3897 * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
3898 rules about lvalues.
3899 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
3900 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
3901 weak_extern macro to mark functions as weak. Instead always
3902 use #pragma weak.
3903 * iconvdata/jis0208.h: Fix to work with gcc4.
3904 * libc/sys/linux/dl/dl-load.c: Ditto.
3905 * libc/sys/linux/dl/dl-reloc.c: Ditto.
3906 * libc/sys/linux/dl/do-rel.h: Ditto.
3907 * libc/sys/linux/dl/dynamic-link.h: Ditto.
3908 * libc/sys/linux/include/ltdl.h: Ditto.
3909 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
3910 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
3911 * libc/sys/linux/net/ns_ntoa.c: Ditto.
3912 * libc/sys/linux/bits/initspin.h: New file.
3913 * libc/sys/linux/bits/libc-lock.h: Ditto.
3914 * libc/sys/linux/bits/pthreadtypes.h: Ditto.
3915 * libc/sys/linux/bits/typesizes.h: Ditto.
3916
7b786e48
JJ
39172005-09-08 Eric Blake <ebb9@byu.net>
3918
3919 * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
3920 before is NULL.
3921
32b09d75
JJ
39222005-09-08 Brian Dessent <brian@dessent.net>
3923
3924 * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
3925 mantissa.
3926 * s_lrint.c: Ditto.
3927
8f36ef2f
JJ
39282005-09-02 Jeff Johnston <jjohnstn@redhat.com>
3929
3930 * libc/include/stdio.h: Add prototype for viprintf.
3931
cebe43dd
JJ
39322005-09-01 Jeff Johnston <jjohnstn@redhat.com>
3933
3934 * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
3935 any positive power results in 0.
3936 * libm/mathfp/sf_pow.c (powf): Ditto.
3937
45c8bb8f
JJ
39382005-08-31 Paul Brook <paul@codesourcery.com>
3939
3940 * configure.host: Set have_crt0 to no for Arm targts when not
3941 providing syscalls. Set sys_dir=arm unconditionally.
3942 Default have_crt0 based on sys_dir.
3943 * configure.in: Use have_crt0.
3944 * libc/configure.in: Ditto.
3945 * libc/sys/configure.in: Ditto.
3946 * configure: Regenerate.
3947 * libc/configure: Regenerate.
3948 * libc/sys/configure: Regenerate.
3949 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
3950 Only build other files when providing syscalls.
3951 * libc/sys/arm/Makefile.in: Regenerate.
3952 * libc/sys/arm/aeabi_atexit.c: New file.
3953
dbeee890
CF
39542005-08-26 Christopher Faylor <cgf@timesys.com>
3955
3956 * libc/include/string.h: Revert previous change.
3957
377d3ea0
CF
39582005-08-25 Christopher Faylor <cgf@timesys.com>
3959
3960 * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
3961
4797a77c
JJ
39622005-08-22 Shaun Jackman <sjackman@gmail.com>
3963
3964 * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
3965 define _opendir as opendir, _readdir as readdir, and
3966 _closedir as closedir so that the implementations in
3967 libc/posix will be used.
3968
2e73582e
DD
39692005-08-10 DJ Delorie <dj@redhat.com>
3970
3971 * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
3972
234cf97f
JJ
39732005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
3974
3975 * libm/common/sf_fmax.c: Fix to properly handle NaNs.
3976 * libm/common/s_max.c: Ditto.
3977 * libm/common/sf_fmin.c: Ditto.
3978 * libm/common/s_min.c: Ditto.
3979
56448afa
JJ
39802005-08-10 DJ Delorie <dj@redhat.com>
3981
3982 * configure.host: Add m32c support.
3983 * libc/include/machine/ieeefp.h: Likewise.
3984 * libc/include/machine/setjmp.h: Likewise.
3985 * libc/include/sys/config.h: Likewise.
3986 * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
3987 * libc/machine/m32c/aclocal.m4: New file.
3988 * libc/machine/m32c/configure: Ditto.
3989 * libc/machine/m32c/configure.in: Ditto.
3990 * libc/machine/m32c/Makefile.am: Ditto.
3991 * libc/machine/m32c/Makefile.in: Ditto.
3992 * libc/machine/m32c/setjmp.S: Ditto.
3993
0c5c6c23
JJ
39942005-08-02 Bob Wilson <bob.wilson@acm.org>
3995
ba3ccd63
EB
3996 * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
3997 to the value for 2^126.
0c5c6c23 3998
12499c7a
HPN
39992005-07-26 Hans-Peter Nilsson <hp@bitrange.com>
4000
4001 * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
4002 used.
4003
395a327d 40042005-07-20 Bob Wilson <bob.wilson@acm.org>
ba3ccd63 4005 Darin Petkov <darin@tensilica.com>
395a327d
JJ
4006
4007 * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
4008
108d7dd8
JJ
40092005-07-19 Paul Brook <paul@codesourcery.com>
4010
4011 * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
4012
b776efc5
JJ
40132005-07-18 Joseph S. Myers <joseph@codesourcery.com>
4014
4015 * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
4016 names after PASS and FAIL which do not depend on source directory
4017 name or on whether test passed or failed.
4018 * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
4019
88540e24
JJ
40202005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
4021
4022 * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
4023
85d62190 40242005-07-07 Shaun Jackman <sjackman@gmail.com>
b32adfc5 4025
88540e24 4026 * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
b32adfc5
JJ
4027 twice for the same directory. _closedir calls free, and freeing
4028 the same pointer twice may cause a crash.
4029
dee9edd9
AH
40302005-07-06 Aldy Hernandez <aldyh@redhat.com>
4031
ba3ccd63
EB
4032 * configure.host: Added entry for ms1*.
4033 * libc/include/machine/ieeefp.h: Handle ms1.
4034 * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
4035 * libc/machine/ms1/aclocal.m4: New.
4036 * libc/machine/ms1/configure: New.
4037 * libc/machine/ms1/configure.in: New.
4038 * libc/machine/ms1/Makefile.am: New.
4039 * libc/machine/ms1/Makefile.in: New.
4040 * libc/machine/ms1/setjmp.S: New.
dee9edd9 4041
cec1d3b4
JJ
40422005-07-04 Mark Mitchell <mark@codesourcery.com>
4043
4044 * Makefile.am (site.exp): Set tmpdir.
4045 * Makefile.in: Regenerated.
4046 * testsuite/lib/checkoutput.exp (newlib_check_output): Put
4047 executables in $tmpdir.
4048 * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
4049 libgloss version if not running in the build directory.
4050 * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
4051 $tmpdir.
4052 * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
4053 in $tmpdir.
4054
25d209f1
JJ
40552005-06-28 Dave Korn <dave.korn@artimi.com>
4056
4057 * libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison
4058 and miscalculation caused by fp representation of zero.
4059 * libm/common/sf_lrint.c (lrintf): Likewise.
4060
68cdbb18
JJ
40612005-06-16 Christopher Faylor <cgf@timesys.com>
4062
4063 * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
4064 determine characteristics of long double. Use a union instead.
4065 * ldtoa.c (_ldtoa_r): Ditto.
4066 (_ldcheck): Ditto.
4067 (_strtold): Ditto.
4068 (union uconv): New union.
4069
15c04fd1
JJ
40702005-06-03 Jeff Johnston <jjohnstn@redhat.com>
4071
4072 * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
4073 instead of memcpy.
4074
cf55bf5e
JJ
40752005-05-12 Jeff Johnston <jjohnstn@redhat.com>
4076
4077 * configure.host (mn10300-*): Add long long I/O support by default.
4078
b6e654c4
JJ
40792005-05-12 Jeff Johnston <jjohnstn@redhat.com>
4080
4081 * libc/sys/linux/getpwuid.c: Removed.
4082 * libc/sys/linux/getpwnam.c: Removed.
4083 * libc/sys/linux/getpwent.c: New file containing logic
4084 from files removed above. This allows overriding of file
4085 in libc/unix.
4086 * libc/sys/linux/Makefile.am: Support changes above.
4087 * libc/sys/linux/Makefile.in: Regenerated.
4088
5456408b
JJ
40892005-04-28 Jeff Johnston <jjohnstn@redhat.com>
4090
4091 * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
4092 when checking for multiple flags.
4093
1c74754f
HPN
40942005-04-18 Hans-Peter Nilsson <hp@axis.com>
4095
4096 * configure.host <cris-*-* | crisv32-*-*>: Set
ba3ccd63 4097 default_newlib_io_long_long="yes".
1c74754f 4098
6e75bff6
JJ
40992005-04-08 Jeff Johnston <jjohnstn@redhat.com>
4100
4101 * libc/include/libgen.h: New file.
4102
41032005-04-08 Shaun Jackman <sjackman@gmail.com>
4104
4105 * libc/unix/Makefile.am: Add support for basename and dirname.
4106 * libc/unix/Makefile.in: Regenerated.
4107 * libc/unix/basename.c: New file.
4108 * libc/unix/dirname.c: New file.
4109
95c136c4
JJ
41102005-04-07 Shaun Jackman <sjackman@gmail.com>
4111
4112 * libc/sys/linux/inode.c (lchown): New function.
4113
9ae26f7e
JJ
41142005-04-07 Shaun Jackman <sjackman@gmail.com>
4115
4116 * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
4117 ELIX level is defined.
4118 * libc/unix/Makefile.in: Regenerated.
4119
85da7039
JJ
41202005-04-05 Dave Korn <dave.korn@artimi.com>
4121
4122 * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
4123 something that looks like a "NaN", put back the characters processed.
4124
fefc73a0
CV
41252005-04-01 Corinna Vinschen <corinna@vinschen.de>
4126
4127 * libc/stdlib/strtod.c (_strtod_r): Never change s00.
4128
e633fde1
CF
41292005-03-23 Christopher Faylor <cgf@timesys.com>
4130
4131 * configure.host: For cygwin, redefine CC with cygwin include directory
4132 first to mimic the behavior of the top-level configury. Move include
4133 directory out of newlib_cflags.
4134
859c94e8
JJ
41352005-03-22 Jeff Johnston <jjohnstn@redhat.com>
4136
4137 * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
17c0c97d 4138 * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
859c94e8
JJ
4139 than errno.
4140
7e3fd32b
CF
41412005-03-22 Christopher Faylor <cgf@timesys.com>
4142
4143 * libc/include/machine/_types.h: Make trivial change to comment to
4144 avoid a spurious warning from gcc.
4145
d4eb8920
JJ
41462005-03-21 Nicholas Wourms <nwourms@netscape.net>
4147
4148 * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
4149 since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
4150 reent.h include.
4151
45030958 41522005-03-18 Hans-Peter Nilsson <hp@axis.com>
ba3ccd63 4153 Corinna Vinschen <corinna@vinschen.de>
45030958 4154
ba3ccd63
EB
4155 * libc/include/ctype.h: Remove invalid +1 offset from
4156 ctype macro references to __ctype_ptr.
4157 (_ctype_): Move declaration outside #ifndef __cplusplus.
45030958 4158
5c9b5ac7
CV
41592005-03-18 Corinna Vinschen <corinna@vinschen.de>
4160
4161 * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
4162 evaluate first parameter only once.
4163 (siglongjmp): Ditto.
4164
dd801fda
JJ
41652005-03-17 Jeff Johnston <jjohnstn@redhat.com>
4166
4167 * configure.in: Add new check to see if compiler supports
4168 aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
4169 * configure: Regenerated.
4170 * Makefile.in: Ditto.
4171 * newlib.hin: Add _HAVE_ARRAY_ALIASING.
4172 * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
4173 aliasing the _ctype_ array to _ctype_b.
4174 * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
4175 _ctype_ as deprecated.
4176
333eabc6
HPN
41772005-03-17 Hans-Peter Nilsson <hp@axis.com>
4178
4179 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
4180 -DCOMPACT_CTYPE.
4181
df5a5b35
JJ
41822005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
4183
4184 * libc/sys/rtems/include/inttypes.h: New file.
4185 * libc/sys/rtems/include/stdint.h: Ditto.
4186
9d385fb0
JJ
41872005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
4188
4189 * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
4190
2e7d9bf9
JJ
41912005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
4192
4193 * libc/include/machine/_types.h: New file.
4194 * libc/include/sys/types.h: Do not check for __rtems__
4195 when including <machine/_types.h>. Remove some redundant
4196 declarations now that <machine/_types.h> is included.
4197 * libc/sys/rtems/machine/_types.h: Removed. Replaced with
4198 shared header file.
4199
92a7e06e
JJ
42002005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
4201
4202 * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
4203 L qualifier for these long constants.
4204
1139537a
JJ
42052005-02-25 Eric Blake <ebb9@byu.net>
4206
4207 * libc/include/time.h (__tzrule_struct): Make offset long, since
4208 a 16-bit int overflows on a 12-hour offset.
4209 * libc/sys/linux/include/time.h: Ditto.
4210 * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
4211 * libc/time/mktm_r.c: Ditto.
4212 * libc/time/gettzinfo.c: Ditto.
4213 * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
4214 years. Fix '%z' to use long, not int.
4215
f4fd7b4c
JJ
42162005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
4217
4218 * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
4219 manipulate float values in integer form.
4220 * libm/common/sf_round.c: Ditto.
4221
f2f8a9a2
JJ
42222005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
4223
4224 * libc/include/sys/types.h [__rtems__]: Include new
4225 header file machine/_types.h.
4226 * libc/include/machine/types.h: Ditto.
4227 * libc/sys/rtems/machine/_types.h: New file.
4228
39fd43d7
CV
42292005-02-23 Corinna Vinschen <corinna@vinschen.de>
4230
4231 * libc/include/time.h (_timezone): Change to long also for Cygwin.
4232 (timezone): Drop cast from definition.
4233
6b9a74f9
JJ
42342005-02-23 Jeff Johnston <jjohnstn@redhat.com>
4235
4236 * libc/include/time.h [!CYGWIN](_timezone): Change to long.
4237 (__tzrule_type, __tzinfo_type): New types.
4238 (__gettzinfo): New function.
4239 * libc/sys/linux/include/time.h: Ditto.
4240 * libc/time/Makefile.am: Add gettzinfo.c.
4241 * libc/time/Makefile.in: Regenerated.
4242 * libc/time/local.h: Moved __tzrule_type to time.h.
4243 * libc/time/mktime.c: Call __gettzinfo to reference
4244 __tznorth, __tzyear, and __tzrule array.
4245 * libc/time/mktm_r.c: Ditto.
4246 * libc/time/strftime.c: Ditto.
4247 * libc/time/tzset_r.c: Ditto. Also remove definition
4248 of __tzrule which is now in gettzinfo.c. Change _timezone
4249 references to not cast to time_t.
4250 * libc/time/gettzinfo.c: New file.
4251
6015cf9f
CV
42522005-02-23 Corinna Vinschen <corinna@vinschen.de>
4253
4254 * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
4255
5e4c05da
CV
42562005-02-22 Corinna Vinschen <corinna@vinschen.de>
4257
4258 * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
4259
f1d439fc
JJ
42602005-02-16 Eric Blake <ebb9@byu.net>
4261
4262 * libc/time/time.tex: Improve the documentation.
4263 * libc/time/strftime.c: Improve the documentation.
4264 (iso_year_adjust): New helper function.
4265 (strftime): Simplify '%E' and '%O'. Change '%c' to use
4266 recursion. Fix '%C', '%y', and '%Y' to deal with years with more
4267 than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
4268 '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
4269 Avoid core dumps on valid inputs (maxsize == 0, or
4270 tim_p->tm_isdst > 1).
4271
18d3a03b
CV
42722005-02-08 Corinna Vinschen <corinna@vinschen.de>
4273
4274 * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
4275 members to uid_t and gid_t according to SUSv3.
4276 * libc/include/sys/time.h (utimes): Change second parameter
4277 to const according to SUSv3.
4278
1159e0fd
JJ
42792005-02-07 Antony King <antony.king@st.com>
4280
4281 * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
4282 called before _flockfile to prevent lock object use before
4283 initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
4284 take a struct _reent * instead of a FILE *.
4285 * libc/stdio/fclose.c (_fclose_r): Ditto.
4286 * libc/stdio/feof.c (feof): Ditto.
4287 * libc/stdio/ferror.c (ferror): Ditto.
4288 * libc/stdio/fflush.c (fflush): Ditto.
4289 * libc/stdio/fgetc.c (fgetc): Ditto.
4290 * libc/stdio/fgets.c (fgets): Ditto.
4291 * libc/stdio/fileno.c (fileno): Ditto.
4292 * libc/stdio/fputc.c (fputc): Ditto.
4293 * libc/stdio/fputs.c (fputs): Ditto.
4294 * libc/stdio/fread.c (fread): Ditto.
4295 * libc/stdio/freopen.c (_freopen_r): Ditto.
4296 * libc/stdio/fseek.c (_fseek_r): Ditto.
4297 * libc/stdio/ftell.c (_ftell_r): Ditto.
4298 * libc/stdio/fwrite.c (fwrite): Ditto.
4299 * libc/stdio/getc.c (getc): Ditto.
4300 * libc/stdio/getdelim.c (__getdelim): Ditto.
4301 * libc/stdio/putc.c (putc): Ditto.
4302 * libc/stdio/setvbuf.c (setvbuf): Ditto.
4303 * libc/stdio/ungetc.c (_ungetc_r): Ditto.
4304 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
4305 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
4306 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
4307 * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
4308 * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
4309 _reent * instead of a FILE * and so replace incorrect use of
4310 _REENT with argument.
4311 * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
4312 * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
4313 CHECK_INIT() take a struct _reent * instead of a FILE *.
4314 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
4315 * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
4316 * libc/stdio/perror.c (perror): Ditto.
4317 * libc/stdio/printf.c (printf, _printf_r): Ditto.
4318 * libc/stdio/putchar.c (putchar): Ditto.
4319 * libc/stdio/puts.c (puts): Ditto.
4320 * libc/stdio/refill.c (__srefill): Ditto.
4321 * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
4322 * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
4323 * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
4324 * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
4325 * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
4326 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
4327 * libc/stdio/wbuf.c (__swbuf): Ditto.
4328 * libc/stdio/wsetup.c (__swsetup): Ditto.
4329 * libc/stdlib/mallocr.c (malloc_stats): Ditto.
4330 * libc/stdlib/mstats.c (_mstats_r): Ditto.
4331 * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
4332 * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
4333 * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
4334 to _flockfile and _funlockfile; rely on locking in _ftell_r.
4335 * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
4336 * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
4337 initialision of _data field in FILE structure.
4338 * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
4339
3d915670
JJ
43402005-02-07 Jeff Johnston <jjohnstn@redhat.com>
4341
4342 * libc/stdio/findfp.c (__sinit): Protect with new lock.
4343 (__sinit_lock): New lock.
4344 (__sinit_lock_acquire, __sinit_lock_release): New functions.
4345 * libc/stdio/local.h: Add reference to new __sinit locking
4346 functions.
4347
b59cab1e
JJ
43482005-02-07 Jeff Johnston <jjohnstn@redhat.com>
4349
4350 * libc/include/math.h (isfinite, isnormal, isunordered): Change
4351 input variable names to avoid mixups with nesting macros.
4352
1815fdea
JJ
43532005-01-27 Hans-Peter Nilsson <hp@axis.com>
4354
4355 * configure.host: Add support for cris-*-* and crisv32-*-*.
4356 * libc/include/machine/ieeefp.h: Ditto.
4357 * libc/include/machine/setjmp.h: Ditto.
4358 * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
4359 libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
4360 libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
4361 libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
4362 libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
4363 libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
4364 libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
4365 files.
4366
f7d4d41a
JJ
43672005-01-27 Hans-Peter Nilsson <hp@axis.com>
4368
4369 * testsuite/newlib.string/memmove1.c: New test.
4370
1319dec6
JJ
43712005-01-27 Hans-Peter Nilsson <hp@axis.com>
4372
4373 * testsuite/include/check.h: Include stdlib.h.
4374
b45e65b0
JJ
43752005-01-27 Hans-Peter Nilsson <hp@axis.com>
4376
4377 * Makefile.am (stmp-targ-include): Support include header files
4378 from machine directories.
e9743354 4379 (install-data-local): Ditto.
b45e65b0
JJ
4380 * Makefile.in: Regenerate.
4381
dbfa92dd
JJ
43822005-01-24 Jeff Johnston <jjohnstn@redhat.com>
4383
4384 * libc/include/string.h: Remove Linux-specific declaration of
4385 strsignal and add #include <sys/string.h>.
4386 * libc/include/sys/string.h: New file.
4387 * libc/include/sys/linux/sys/string.h: New file with strsignal
4388 declaration deleted above.
4389
6cb0c055
JJ
43902005-01-20 Jeff Johnston <jjohnstn@redhat.com>
4391
4392 * libc/time/strftime.c (strftime): Change %r and %x to be compliant
4393 to POSIX standard for "C" locale. Allow %E and %O modifiers
4394 to be ignored as long as they precede valid specifiers according
4395 to POSIX.
4396
52429807
JJ
43972005-01-19 Shaun Jackman <sjackman@gmail.com>
4398
4399 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
4400 environment variable is set.
4401
f693170a
JJ
44022005-01-19 Shaun Jackman <sjackman@gmail.com>
4403
ba3ccd63 4404 * tzset_r.c (_tzname): Add a comma.
f693170a 4405
464d01bf
AH
44062005-01-18 Aldy Hernandez <aldyh@redhat.com>
4407
4408 * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
4409 _VFPRINTF_R.
4410
f7a74742 44112005-01-07 Paul Brook <paul@codesourcery.com>
17c0c97d 4412
f7a74742
JJ
4413 * configure.in: Add test for .init_array.
4414 * configure: Regenerate.
4415 * newlib.hin: Add HAVE_INITFINI_ARRAY.
4416 * libc/misc/Makefile.am: Add init.c
4417 * libc/misc/Makefile.in: Regenerate.
4418 * libc/misc/init.c: New file.
4419 * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
4420 _init/_fini if they exist.
17c0c97d 4421
8fa6cb9a
JJ
44222005-01-06 Jeff Johnston <jjohnstn@redhat.com>
4423
4424 * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
4425 * (strtof): Ditto.
4426 * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
4427 * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
4428 functions for use by strtod and strtof.
4429 * Makefile.in: Regenerated.
17c0c97d 4430
034a3909 44312005-01-06 Hans-Peter Nilsson <hp@axis.com>
17c0c97d 4432
034a3909
JJ
4433 * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
4434 bit-test in combination with NULL test.
17c0c97d 4435
9918ea2d 44362005-01-06 Hans-Peter Nilsson <hp@axis.com>
17c0c97d 4437
ba3ccd63 4438 * README: Fix typo of LGPL. Change "license" to "copyright".
17c0c97d 4439
5cc3f592
JJ
44402004-12-17 Jeff Johnston <jjohnstn@redhat.com>
4441
4442 * NEWS: Update with 1.13.0 info.
4443 * README: Ditto.
4444 * acinclude.m4: Change version number to 1.13.0.
4445 * aclocal.m4: Regenerated.
4446 * configure: Ditto.
4447 * doc/aclocal.m4: Ditto.
4448 * doc/configure: Ditto.
4449 * libc/*/aclocal.m4: Ditto.
4450 * libc/*/configure: Ditto.
4451 * libc/libc.texinfo: Ditto.
4452 * libm/*/aclocal.m4: Ditto.
4453 * libm/*/configure: Ditto.
4454 * libm/libm.texinfo: Ditto.
4455 * libc/sys/linux/shared.ld: Add VERS_1.13.
4456
d8ae996c
JJ
44572004-12-17 Christian Groessler <chris@groessler.org>
4458
4459 * libc/machine/z8k/memcmp.S: New file.
4460 * libc/machine/z8k/memcpy.S: Ditto.
4461 * libc/machine/z8k/memmove.S: Ditto.
4462 * libc/machine/z8k/memset.S: Ditto.
4463 * libc/machine/z8k/Makefile.am: Add new files.
4464 * libc/machine/z8k/Makefile.in: Regenerated.
4465 * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
4466 part. Implement Z8002 stdcall version.
4467
82673116
JJ
44682004-12-13 Jeff Johnston <jjohnstn@redhat.com>
4469
4470 * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
4471 a low-level read if we don't get the full amount of bytes so
4472 EOF or error flags will be set.
4473
0082d4cf
JJ
44742004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
4475
4476 * libc/time/tzset_r (_tzset_r): Properly skip over
4477 '/' when it is detected.
4478
3b54b74f
JJ
44792004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
4480
4481 * libc/time/tzset_r (_tzset_r): Fix loop.
4482
4b30e154
JJ
44832004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
4484
4485 * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
4486 m_day.
4487 (__tzcalc_limits): Fix reference to month array to be zero-based.
4488
465eab2e
JJ
44892004-12-07 Jeff Johnston <jjohnstn@redhat.com>
4490
4491 * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
4492 and usleep.
4493
a2b1a849
JJ
44942004-12-03 Jeff Johnston <jjohnstn@redhat.com>
4495
4496 * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
4497 libgcc dependencies.
4498 (libm_la_LDFLAGS): Ditto.
4499 * Makefile.in: Regenerated.
4500
c80a1731
JJ
45012004-12-03 Shaun Jackman <sjackman@gmail.com>
4502
4503 * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
4504 our link to use readlink so as to preserve any relative link created
4505 by install-toollibLIBRARIES.
4506 * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
4507
70e9da42
JJ
45082004-12-02 Shaun Jackman <sjackman@gmail.com>
4509
4510 * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
4511 time_t before including sys/stat.h, which uses it.
4512 * libc/sys/linux/sys/stat.h: Include <sys/types.h> and
4513 <linux/time.h> just prior to definition of __KERNEL__ so as to
4514 allow building on Debian Linux where otherwise, mktime would
4515 be redefined.
4516
a330d85a
JJ
45172004-11-26 Paul Brook <paul@codesourcery.com>
4518
4519 * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
17c0c97d 4520
c41a1cb7
JJ
45212004-11-24 Jeff Johnston <jjohnstn@redhat.com>
4522
4523 * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
9aa189be 4524 const for value string parameter to match Single Unix and glibc.
c41a1cb7
JJ
4525 * libc/stdlib/putenv.c: Ditto.
4526 * libc/stdlib/putenv_r.c: Ditto.
4527
16ac96ee
JJ
45282004-11-24 Jeff Johnston <jjohnstn@redhat.com>
4529
4530 * libc/stdio/Makefile.am: Fix missing vfscanf.
4531 * libc/stdio/Makefile.in: Regenerated.
17c0c97d 4532
3bf09147 45332004-11-23 Jeff Johnston <jjohnstn@redhat.com>
17c0c97d 4534
3bf09147
JJ
4535 * libc/include/stdio.h: Add new iprintf and iscanf variants. Also
4536 do some reordering.
4537 * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
4538 * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
4539 family functions.
4540 * libc/stdio/Makefile.in: Regenerated.
4541 * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
4542 * libc/stdio/iprintf.c: Ditto.
4543 * libc/stdio/local.h (__svfiscanf_r): New prototype.
4544 * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
4545 * libc/stdio/sniprintf.c: Move docs to siprintf.c.
4546 * libc/stdio/stdio.tex: Add new functions.
4547 * libc/stdio/vfscanf.c: Split out __sccl function to separate
4548 file and add special name defines so this file can be used
4549 to build vfiscanf.o.
4550 * libc/stdio/asiprintf.c: New file.
4551 * libc/stdio/fiscanf.c: Ditto.
4552 * libc/stdio/iscanf.c: Ditto.
4553 * libc/stdio/sccl.c: Ditto.
4554 * libc/stdio/siscanf.c: Ditto.
4555 * libc/stdio/vasiprintf.c: Ditto.
4556 * libc/stdio/viprintf.c: Ditto.
4557 * libc/stdio/viscanf.c: Ditto.
4558 * libc/stdio/vsiprintf.c: Ditto.
4559 * libc/stdio/vsiscanf.c: Ditto.
4560 * libc/stdio/vsniprintf.c: Ditto.
4561
0f0fcb04 45622004-11-19 Shaun Jackman <sjackman@gmail.com>
17c0c97d 4563
ba3ccd63
EB
4564 * libc/include/stdio.h: Add sniprintf.
4565 * libc/stdio/Makefile.am: Add sniprintf.c.
4566 * libc/stdio/Makefile.in: Regenerated.
4567 * libc/stdio/sniprintf.c: New file.
4568 * libc/stdio/stdio.tex: Add sniprintf.
17c0c97d 4569
1f8f7e2d
CF
45702004-11-17 Christopher Faylor <cgf@timesys.com>
4571
4572 * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear
4573 EOF flag if successful.
4574
b08d08c7
CF
45752004-10-28 Christopher Faylor <cgf@timesys.com>
4576
4577 * libc/include/sys/signal.h: Move <signal.h> include to bottom of file
334ba104 4578 so that all relevant definitions have been performed for use in the
b08d08c7
CF
4579 include.
4580
65b1964f
JJ
45812004-10-26 Jason Tishler <jason@tishler.net>
4582
4583 * libc/stdio/fread.c (fread): Fix return value for unbuffered
4584 fread.
4585
6382b7e3 45862004-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
06b5ef6e
JJ
4587
4588 * libc/include/machine/setjmp.h: Add AVR support.
4589 * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
4590
73131c2d 45912004-10-08 Jeff Johnston <jjohnstn@redhat.com>
17c0c97d 4592
ba3ccd63
EB
4593 * libc/include/sys/signal.h: If <signal.h> didn't include
4594 this header file, include <signal.h> to account for
4595 applications that take advantage that the two header
4596 files are the same in glibc.
17c0c97d 4597
1185687a
JJ
45982004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
4599
ba3ccd63
EB
4600 * configure.host: Add support for crx.
4601 * libc/include/machine/ieeefp.h: Ditto.
4602 * libc/include/machine/setjmp.h: Ditto.
4603 * libc/machine/crx/Makefile.am: New file.
4604 * libc/machine/crx/configure.in: Ditto.
4605 * libc/machine/crx/setjmp.S: Ditto.
4606 * libc/machine/crx/getenv.c: Ditto.
4607 * libc/machine/crx/aclocal.m4: Generate.
4608 * libc/machine/crx/configure: Ditto.
4609 * libc/machine/crx/Makefile.in: Ditto.
4610 * libc/machine/crx/sys/asm.h: New file.
4611 * libc/machine/crx/sys/libh.h: Ditto.
4612 * libc/machine/crx/sys/syscall.h: Ditto.
1185687a 4613
423152ed
JJ
46142004-10-05 Jeff Johnston <jjohnstn@redhat.com>
4615
4616 * Makefile.am (stmp-targ-include): Support sys header files
4617 from machine directories.
4618 * Makefile.in: Regenerated.
4619
3ea9de76
JJ
46202004-10-04 Jeff Johnston <jjohnstn@redhat.com>
4621
4622 * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
4623 count skipped zero characters as part of the nread count for %n.
4624 * libc/machine/powerpc/vfscanf.c: Ditto.
4625
2a6e1223
JJ
46262004-09-24 Jeff Johnston <jjohnstn@redhat.com>
4627
4628 * libc/stdio/local.h: Include <stdlib.h>.
4629
d163f2fc
CV
46302004-09-24 Corinna Vinschen <corinna@vinschen.de>
4631
4632 * libc/stdio/fread.c (fread): Include <malloc.h>.
4633
602de582
JJ
46342004-09-22 Jeff Johnston <jjohnstn@redhat.com>
4635
4636 * libc/stdio/fread.c (fread): For non-space-optimized case,
4637 add special code for unbuffered files to use user buffer and
4638 only require one low-level system read.
4639
32e73f4d
ILT
46402004-09-21 Ian Lance Taylor <ian@wasabisystems.com>
4641
4642 * libc/machine/xscale/setjmp.S: New file, copied from
4643 libc/machine/arm/setjmp.S.
4644 * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
4645 * libc/machine/xscale/Makefile.in: Regenerate.
4646
ed6859b8
JJ
46472004-09-16 Antony King <antony.king@st.com>
4648
4649 * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
4650 with locking API.
17c0c97d 4651 * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
ed6859b8
JJ
4652 check for__SSTR in _flags and if set, skip lock request.
4653 (_funlockfile)[!SINGLE_THREAD]: Ditto.
4654 * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
4655 not NULL.
4656 * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
4657 initialisation of _file to -1 in local FILE.
4658 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
4659 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
4660 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
4661 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
4662 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
4663 _flags in local FILE to prevent locking.
4664 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
4665
7a0f6966
JJ
46662004-09-16 Antony King <antony.king@st.com>
4667
4668 * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
4669 and only walk the reentrancy parameter.
4670 (_fwalk_reent): Ditto.
4671 * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
4672
c77672c0
JJ
46732004-09-16 Antony King <antony.king@st.com>
4674
4675 * libc/stdio64/freopen64.c: Remove casting of fp lock to
4676 _LOCK_RECURSIVE_T.
4677
5c44c2e5
JJ
46782004-09-16 Antony King <antony.king@st.com>
4679
4680 * libc/time/tzlock.c: Add default stubs that use generic
4681 locking code.
4682
14613e5e
JJ
46832004-09-16 Antony King <antony.king@st.com>
4684
4685 * libc/ctype/ctype.tex: Added missing documentation.
4686 * libc/stdio/stdio.tex Ditto.
4687 * libc/stdlib/stdlib.tex Ditto.
4688 * libc/string/strings.tex Ditto.
4689 * libc/time/time.tex: Ditto.
4690 * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
4691
181cb051
JJ
46922004-09-15 Corinna Vinschen <vinschen@redhat.com>
4693
4694 * libc/reent/impure.c (reent_data): Define as alias to impure_data
4695 when building for Cygwin.
4696 * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
4697 _global_impure_ptr.
4698
51d4a7ea
JJ
46992004-09-15 Jeff Johnston <jjohnstn@redhat.com>
4700
4701 * configure.host: Reverting 2004-09-14 change as fix has occurred on
4702 Cygwin side.
4703 * configure.in: Ditto.
4704 * libc/configure.in: Ditto.
4705 * libc/sys/configure.in: Ditto.
4706 * configure: Ditto.
4707 * libc/configure: Ditto.
4708 * libc/sys/configure: Ditto.
4709 * libc/include/sys/reent.h: Ditto.
4710 * libc/stdlib/__atexit.c: Ditto.
4711 * libc/stdlib/__call_atexit.c: Ditto.
4712 * libc/stdlib/cxa_atexit.c: Ditto.
4713 * libc/stdlib/cxa_finalize.c: Ditto.
4714 * libc/sys/cygwin/Makefile.am: Removed again.
4715 * libc/sys/cygwin/Makefile.in: Ditto.
4716 * libc/sys/cygwin/aclocal.m4: Ditto.
4717 * libc/sys/cygwin/configure: Ditto.
4718 * libc/sys/cygwin/configure.in: Ditto.
4719 * libc/sys/cygwin/dummy.c: Ditto.
4720 * libc/sys/cygwin/sys/reent.h: Ditto.
4721
98650d2f
JJ
47222004-09-14 Jeff Johnston <jjohnstn@redhat.com>
4723
4724 * configure.host: Add Cygwin sys directory.
4725 * configure.in: Do not set CRT0 for cygwin.
4726 * libc/configure.in: Ditto.
4727 * libc/sys/configure.in: Ditto.
4728 * configure: Regenerated.
4729 * libc/configure: Ditto.
4730 * libc/sys/configure: Ditto.
4731 * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
4732 * libc/stdlib/__atexit.c: Keep cxa support protected by new
4733 __REENT_HAS_CXA_SUPPORT flag.
4734 * libc/stdlib/__call_atexit.c: Ditto.
4735 * libc/stdlib/cxa_atexit.c: Ditto.
4736 * libc/stdlib/cxa_finalize.c: Ditto.
4737 * libc/sys/cygwin/Makefile.am: New file.
4738 * libc/sys/cygwin/Makefile.in: Ditto.
4739 * libc/sys/cygwin/aclocal.m4: Ditto.
4740 * libc/sys/cygwin/configure: Ditto.
4741 * libc/sys/cygwin/configure.in: Ditto.
4742 * libc/sys/cygwin/dummy.c: Ditto.
4743 * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
4744 version of reent.h.
4745
d4c8e53b
JJ
47462004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4747
4748 * libc/iconv/iconv.tex: Updated with new content.
4749 * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
4750 instead of NLS_DEFAULT_NLSPATH.
4751 * libc/iconv/lib/iconvnls.h: Fix typo.
4752 * libc/include/sys/iconvnls.h: New file.
4753
0c8593cf
JJ
47542004-09-09 Paul Brook <paul@codesourcery.com>
4755
4756 * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
4757 and _is_cxa.
4758 (struct _atexit): Add _next when _REENT_SMALL.
4759 (struct _reent): Add _atexit0 when _REENT_SMALL.
4760 (_REENT_INIT_PTR): Adjust.
4761 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
4762 __call_exit.c.
4763 (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
4764 * libc/stdlib/Makefile.in: Regenerate.
4765 * libc/stdlib/__atexit.c: New file.
4766 * libc/stdlib/__call_atexit.c: New file.
4767 * libc/stdlib/atexit.h: Remove old definitions. Add new.
4768 * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
4769 * libc/stdlib/cxa_atexit.c: New file.
4770 * libc/stdlib/cxa_finalize.c: New file.
4771 * libc/stdlib/exit.c (exit): Use __call_exitprocs.
4772 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
4773 2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
4774 * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
4775 _on_exit_args_ptr.
4776
c6ed5a85
JJ
47772004-08-23 Jeff Johnston <jjohnstn@redhat.com>
4778
4779 * libc/include/sys/unistd.h (getpass): Change prototype to use
4780 const instead of __const.
4781
721a934c
JJ
47822004-08-16 Nathan Sidwell <nathan@codesourcery.com>
4783
4784 * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
4785 #if.
4786
4e53fc28
JJ
47872004-08-12 Jeff Johnston <jjohnstn@redhat.com>
4788
4789 * libc/sys/linux/sys/types.h (u64): New typedef to allow building
4790 on linux systems with glibc 2.3.3 installed.
4791 * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
4792 profile_fixup so newlib can build on fc3 system.
17c0c97d 4793
82045f12
AO
47942004-07-30 Alexandre Oliva <aoliva@redhat.com>
4795
4796 Introduce SH2a support.
4797 2004-03-16 Corinna Vinschen <vinschen@redhat.com>
4798 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
4799 __SH2A_SINGLE_ONLY__, too.
4800 * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
4801 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
4802 * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
4803 2004-02-10 DJ Delorie <dj@redhat.com>
4804 * libc/sys/sh/crt0.S (start_l): Support sh2a.
4805
ad6b1d79
JJ
48062004-07-29 Jeff Johnston <jjohnstn@redhat.com>
4807
4808 * libc/time/strptime.c: Correct full-name of "March" typo.
4809
63b9dcc4
JJ
48102004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
4811
17c0c97d 4812 * configure.host (h8300*-*-*): Default long long printing support.
63b9dcc4 4813
dbfd3394
JJ
48142004-07-16 Jeff Johnston <jjohnstn@redhat.com>
4815
4816 * libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
4817 calls, if realloc fails, free up buffer as it is no longer
4818 used.
4819
6edb3da9
JJ
48202004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4821
4822 * libc/iconv/iconv.tex: Updated to represent recent changes.
4823 * libc/iconv/lib/iconv.c: Documentation updated.
4824
578a3560
NC
48252004-07-07 Nick Clifton <nickc@redhat.com>
4826
4827 * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
4828 for xStormy16.
4829
2bc257e3
JJ
48302004-07-06 Chris Demetriou <cgd@broadcom.com>
4831
4832 * configure.host (mips*-*-elf*): Default long long printing
4833 support.
4834
75e7ffaa
JJ
48352004-07-05 Jeff Johnston <jjohnstn@redhat.com>
4836
4837 * libc/Makefile.am (libc.dvi): Add target and specify
4838 same dependencies as libc.info.
4839 * libc/Makefile.in: Regenerated.
4840 * libm/Makefile.am (libm.dvi): Add target and specify
4841 same dependencies as libm.info.
4842 * libm/Makefile.in: Regenerated.
4843
76ce12c3
JJ
48442004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4845
4846 * acinclude.m4: Move --enable-newlib-iconv option back here.
4847 * configure.in: Remove --enable-newlib-iconv option. Don't
4848 tie iconv support to --enable-newlib-mb.
4849 * aclocal.m4: Regenerated.
4850 * configure: Ditto.
4851 * doc/aclocal.m4, doc/configure: Ditto.
4852 * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
4853 * libm/*/aclocal.m4: Ditto.
4854 * libm/*/configure: Ditto.
4855 * libc/*/aclocal.m4: Ditto.
4856 * libc/*/configure: Ditto.
4857
660dade3
JJ
48582004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4859
4860 * acinclude.m4: Move iconv options into configure.in.
4861 * aclocal.m4: Regenerated.
4862 * configure: Ditto.
4863 * configure.in: Add iconv options.
4864 * newlib.hin: Add new iconv encodings and remove deleted ones.
4865 * doc/aclocal.m4: Regenerated.
4866 * doc/configure: Ditto.
4867 * iconvdata/aclocal.m4: Ditto.
4868 * iconvdata/configure: Ditto.
4869 * libc/iconv: Design change. New size-optimized ccs format.
4870 * libc/iconv/AUTHORS: Removed.
4871 * libc/iconv/COPYING: Ditto.
4872 * libc/iconv/README.ORIGINAL: Ditto.
4873 * libc/iconv/README.TODO: Ditto.
4874 * libc/iconv/charset.aliases: Ditto.
4875 * libc/iconv/encoding.aliases: New file.
4876 * libc/iconv/Makefile.am: Updated.
4877 * libc/iconv/Makefile.in: Regenerated.
4878 * libc/iconv/iconv.tex: Updated.
4879 * libc/iconv/ccs/Makefile.am: Ditto.
4880 * libc/iconv/ccs/Makefile.in: Regenerated.
4881 * libc/iconv/ccs/big5.c: Updated.
4882 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
4883 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
4884 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
4885 * libc/iconv/ccs/cp775.c: Ditto.
4886 * libc/iconv/ccs/cp850.c: Ditto.
4887 * libc/iconv/ccs/cp852.c: Ditto.
4888 * libc/iconv/ccs/cp855.c: Ditto.
4889 * libc/iconv/ccs/cp866.c: Ditto.
4890 * libc/iconv/ccs/iso_8859_1.c: Ditto.
4891 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
4892 * libc/iconv/ccs/gb_2312_80.c: Ditto.
4893 * libc/iconv/ccs/iconv_mktbl: Ditto.
4894 * libc/iconv/ccs/jis_x0201.c: Ditto.
4895 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
4896 * libc/iconv/ccs/shift_jis.c: Ditto.
4897 * libc/iconv/ccs/us_ascii.c: Ditto.
4898 * libc/iconv/ccs/ccs.h: New file.
4899 * libc/iconv/ccs/ccsbi.c: Ditto.
4900 * libc/iconv/ccs/ccsbi.h: Ditto.
4901 * libc/iconv/ccs/ccsnames.h: Ditto.
4902 * libc/iconv/ccs/iso_8859_10.c: Ditto.
4903 * libc/iconv/ccs/iso_8859_11.c: Ditto.
4904 * libc/iconv/ccs/iso_8859_13.c: Ditto.
4905 * libc/iconv/ccs/iso_8859_14.c: Ditto.
4906 * libc/iconv/ccs/iso_8859_3.c: Ditto.
4907 * libc/iconv/ccs/iso_8859_6.c: Ditto.
4908 * libc/iconv/ccs/iso_8859_7.c: Ditto.
4909 * libc/iconv/ccs/iso_8859_8.c: Ditto.
4910 * libc/iconv/ccs/iso_8859_9.c: Ditto.
4911 * libc/iconv/ccs/iso_ir_111.c: Ditto.
4912 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
4913 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
4914 * libc/iconv/ccs/koi8_ru.c: Ditto.
4915 * libc/iconv/ccs/koi8_uni.c: Ditto.
4916 * libc/iconv/ccs/mktbl.pl: Ditto.
4917 * libc/iconv/ccs/win_1250.c: Ditto.
4918 * libc/iconv/ccs/win_1251.c: Ditto.
4919 * libc/iconv/ccs/win_1252.c: Ditto.
4920 * libc/iconv/ccs/win_1253.c: Ditto.
4921 * libc/iconv/ccs/win_1254.c: Ditto.
4922 * libc/iconv/ccs/win_1255.c: Ditto.
4923 * libc/iconv/ccs/win_1256.c: Ditto.
4924 * libc/iconv/ccs/win_1257.c: Ditto.
4925 * libc/iconv/ccs/win_1258.c: Ditto.
d68d3538
JJ
4926 * libc/iconv/ccs/iso_8859_15.c: Updated.
4927 * libc/iconv/ccs/iso_8859_2.c: Ditto.
4928 * libc/iconv/ccs/iso_8859_4.c: Ditto.
4929 * libc/iconv/ccs/iso_8859_5.c: Ditto.
4930 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
4931 * libc/iconv/ccs/koi8_r.c: Ditto.
4932 * libc/iconv/ccs/koi8_u.c: Ditto.
4933 * libc/iconv/ccs/ksx1001.c: Ditto.
660dade3
JJ
4934 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
4935 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
4936 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
4937 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
4938 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
4939 * libc/iconv/ccs/binary/Makefile.am: Updated.
4940 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
4941 * libc/iconv/ccs/binary/big5.cct: Updated.
4942 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
4943 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
4944 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
4945 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
4946 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
4947 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
4948 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
4949 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
4950 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
4951 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
4952 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
4953 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
4954 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
4955 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
4956 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
4957 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
4958 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
4959 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
4960 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
4961 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
4962 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
4963 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
4964 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
4965 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
4966 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
4967 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
4968 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
4969 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
4970 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
4971 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
4972 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
4973 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
4974 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
4975 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
4976 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
4977 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
4978 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
4979 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
4980 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
4981 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
4982 * libc/iconv/ces/Makefile.am: Updated.
4983 * libc/iconv/ces/Makefile.in: Regenerated.
4984 * libc/iconv/ces/ucs-2-internal.c: Updated.
4985 * libc/iconv/ces/ucs-4-internal.c: Ditto.
4986 * libc/iconv/ces/utf-16.c: Ditto.
4987 * libc/iconv/ces/utf-8.c: Ditto.
4988 * libc/iconv/ces/cesbi.c: New file.
4989 * libc/iconv/ces/cesbi.h: Ditto.
4990 * libc/iconv/ces/cesdeps.h: Ditto.
4991 * libc/iconv/ces/euc.c: Ditto.
4992 * libc/iconv/ces/mkdeps.pl: Ditto.
4993 * libc/iconv/ces/table-pcs.c: Ditto.
4994 * libc/iconv/ces/table.c: Ditto.
4995 * libc/iconv/ces/ucs-2.c: Ditto.
4996 * libc/iconv/ces/ucs-4.c: Ditto.
4997 * libc/iconv/ces/us-ascii.c: Ditto.
4998 * libc/iconv/ces/euc-jp.c: Removed.
4999 * libc/iconv/ces/euc-kr.c: Ditto.
5000 * libc/iconv/ces/euc-tw.c: Ditto.
5001 * libc/iconv/ces/gb2312.c: Ditto.
5002 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
5003 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
5004 * libc/iconv/lib/Makefile.am: Updated.
5005 * libc/iconv/lib/Makefile.in: Regenerated.
5006 * libc/iconv/lib/endian.h: Updated.
5007 * libc/iconv/lib/iconv.c: Ditto.
5008 * libc/iconv/lib/local.h: Ditto.
5009 * libc/iconv/lib/aliases.c: Removed.
5010 * libc/iconv/lib/bialiasesi.c: Ditto.
5011 * libc/iconv/lib/biccs.c: Ditto.
5012 * libc/iconv/lib/bices.c: Ditto.
5013 * libc/iconv/lib/ccs.c: Ditto.
5014 * libc/iconv/lib/ces.c: Ditto.
5015 * libc/iconv/lib/ces_euc.c: Ditto.
5016 * libc/iconv/lib/ces_iso2022.c: Ditto.
5017 * libc/iconv/lib/ces_table.c: Ditto.
5018 * libc/iconv/lib/converter.c: Ditto.
5019 * libc/iconv/lib/deps.h: Ditto.
d68d3538
JJ
5020 * libc/iconv/lib/loaddata.c: Ditto.
5021 * libc/iconv/lib/aliasesbi.c: New file.
660dade3
JJ
5022 * libc/iconv/lib/aliasesi.c: Ditto.
5023 * libc/iconv/lib/conv.h: Ditto.
5024 * libc/iconv/lib/encnames.h: Ditto.
5025 * libc/iconv/lib/encoding.deps: Ditto.
5026 * libc/iconv/lib/iconvnls.c: Ditto.
5027 * libc/iconv/lib/iconvnls.h: Ditto.
660dade3
JJ
5028 * libc/iconv/lib/nullconv.c: Ditto.
5029 * libc/iconv/lib/ucsconv.c: Ditto.
5030 * libc/iconv/lib/ucsconv.h: Ditto.
5031 * libc/include/iconv.h: Update copyright.
5032 * libc/*/aclocal.m4: Regenerated.
5033 * libc/*/configure: Ditto.
5034 * libm/*/aclocal.m4: Ditto.
5035 * libm/*/configure: Ditto.
5036
9a6831be
AO
50372004-06-22 Alexandre Oliva <aoliva@redhat.com>
5038
eb6a452a
AO
5039 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
5040 instead of typedefing jmp_buf.
5041
9a6831be
AO
5042 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
5043 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
5044 * libc/machine/h8300/defines.h (LEN): New macro.
5045 * libc/machine/h8300/memcpy.S: Add h8sx version.
5046 * libc/machine/h8300/memset.S: Likewise.
5047 * libc/machine/h8300/strcmp.S: Likewise.
5048 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
5049 * libc/machine/h8300/h8sx_strcpy.S: New file.
5050 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
5051 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
5052 __H8300SX__.
5053 * libc/include/machine/setjmp.h: Likewise.
5054 * libc/include/sys/config.h: Likewise.
5055 * libc/machine/h8300/defines.h: Likewise.
5056 * libc/machine/h8300/setjmp.S: Likewise.
5057 * libc/machine/h8300/strcmp.S: Likewise.
5058 * libc/sys/h8300hms/close.S: Likewise.
5059 * libc/sys/h8300hms/fstat.S: Likewise.
5060 * libc/sys/h8300hms/lseek.S: Likewise.
5061 * libc/sys/h8300hms/read.S: Likewise.
5062 * libc/sys/h8300hms/write.S: Likewise.
5063 * libc/sys/h8300hms/crt0.S: Likewise.
5064 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
5065 __H8300SX__ is defined.
5066 * libc/sys/h8300hms/setarch.h: Likewise.
5067
80dba41e
JJ
50682004-06-17 Jeff Johnston <jjohnstn@redhat.com>
5069
5070 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
5071 out change which set _GLOBAL_REENT to _global_impure_ptr until
5072 we understand why Cygwin breaks because of it.
5073
be910599
JJ
50742004-06-14 Jeff Johnston <jjohnstn@redhat.com>
5075
5076 * libc/sys/linux/machine/i386/syscall.h: For now, set up
5077 __syscall_return macro for systems with vsyscall.
5078
d0bd3e6f
JJ
50792004-06-11 Antony King <antony.king@st.com>
5080
5081 * libc/include/sys/_types.h: Include <sys/lock.h> and change
5082 _flock_t to be of type _LOCK_RECURSIVE_T.
5083 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
5084 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
5085 (_global_impure_ptr): New declaration.
5086 (_GLOBAL_REENT): Change to be _global_impure_ptr.
5087 * libc/include/sys/stdio.h: Include <sys/lock.h> and
5088 <sys/reent.h>.
5089 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
5090 (_funlockfile)[!SINGLE_THREAD]: Ditto.
5091 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
5092 * libc/stdio/fclose.c: Remove casting of fp lock to
5093 _LOCK_RECURSIVE_T.
5094 * libc/stdio/findfp.c: Ditto.
5095 * libc/stdio/fopen.c: Ditto.
5096 * libc/stdio/freopen.c: Ditto.
5097 * libc/stdio/vfprintf.c: Ditto.
5098 * libc/stdio64/fopen64.c: Ditto.
5099 * libc/stdlib/envlock.c: Add default stubs that use generic
5100 locking code.
5101 * libc/stdlib/mlock.c: Ditto.
5102
5103 Jeff Johnston <jjohnstn@redhat.com>
5104 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
5105 (_flock_t): Change to be a struct containing a single member
5106 named mutex which is of type __flock_mutex_t.
5107
db7033a9
JJ
51082004-06-09 Jeff Johnston <jjohnstn@redhat.com>
5109
5110 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
5111 from /usr/include/asm/signal.h instead of kernel sources. Also
5112 default max to 32 if not found in header file.
5113 * libc/sys/linux/Makefile.in: Regenerated.
5114 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
5115 systems where __syscall_return is not defined.
5116 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
5117 systems to use syscall() function instead of assembler interrupt.
5118
a170abec
JJ
51192004-06-09 Toralf Lund <toralf@procaptura.com>
5120
5121 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
5122 files from libc/sys/arm to libc/machine/arm.
5123 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
5124 library build support for files moved from libc/sys/arm.
5125 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
5126 references to access and setjmp.
5127 * configure.host: Add checks for newlib_may_supply_syscalls to
5128 determine whether or not to use sys/arm directory and use
5129 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
17c0c97d 5130
8b57e664
JJ
51312004-06-02 Jeff Johnston <jjohnstn@redhat.com>
5132
5133 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
5134 reset digit flags appropriately after we have discovered "0x".
5135 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
5136
3f611058
JJ
51372004-05-27 Jeff Johnston <jjohnstn@redhat.com>
5138
5139 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
5140 from here ...
5141 (_VFPRINTF_R): ... to here so all I/O printf routines
5142 are covered.
5143
bb42a35c
JJ
51442004-05-26 Jeff Johnston <jjohnstn@redhat.com>
5145
5146 * libc/search/hash_buf.c: Protect MAX and MIN macros from
5147 redefinition.
5148 * libc/search/hash.c: Ditto.
5149
227e6ef6
JJ
51502004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5151
5152 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
5153 (_WANT_IO_LONG_LONG): Ditto.
5154 (_WANT_IO_LONG_DOUBLE): Ditto.
5155 * configure.in: Add new configuration options
5156 --enable-newlib-io-long-long and --enable-newlib-io-long-double
5157 which tie to new defines in newlib.hin.
5158 * configure: Regenerated.
5159 * configure.host: Add checks for new configuration options. Also
5160 fix up check for --enable-newlib-io-pos-args so configuration
5161 option will override any default for a given platform.
5162 Remove defining compiler flags for the _WANT_IO* options.
5163 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
5164 instead of looking for old compiler flags.
5165 * libc/stdio/vfscanf.c: Ditto.
5166 * libc/stdio/vfieeefp.h: Ditto.
5167 * libc/machine/powerpc/vfprintf.c: Ditto.
5168 * libc/machine/powerpc/vfscanf.c: Ditto.
5169
9178da95
JJ
51702004-05-25 Jeff Johnston <jjohnstn@redhat.com>
5171
5172 * testsuite/include/check.h: Add include of <stdio.h>.
5173
cf3aae91
CV
51742004-05-17 Corinna Vinschen <corinna@vinschen.de>
5175
5176 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
5177
5b4c8ae2
JJ
51782004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5179
5180 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
5181 of free.
5182
51832004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5184
5185 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
5186 list for reentrant pointer. Call _vfiprintf_r.
5187 * libc/stdio/siprintf.c (_siprintf_r): New function.
5188 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
5189 pointer argument. Change all callers. Call _VFPRINTF_R.
5190 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
5191 prototypes.
5192
631fbe65
JJ
51932004-05-07 Jeff Johnston <jjohnstn@redhat.com>
5194
5195 * libc/include/sys/param.h: Remove endian info and include
5196 <machine/endian.h> instead.
5197 * libc/include/machine/endian.h: New file.
5198 * libc/include/machine/param.h: Ditto.
5199 * libc/machine/arm/machine/endian.h: Ditto.
5200 * libc/machine/arm/machine/param.h: Ditto.
5201 * libc/sys/arm/sys/param.h: Removed.
5202 * libc/sys/sysvi386/sys/param.h: Ditto.
5203 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
5204
1af84bb7
JJ
52052004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5206
5207 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
5208 multibyte functions return failure for %C, %S, %lc, and %ls
5209 format specifiers.
5210
1c63798e
JJ
52112004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5212
5213 * testsuite/include/check.h (CHECK): Add flush of stdout.
5214
20b0251a
JJ
52152004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5216
5217 * libc/include/stdio.h (_ungetc_r): New prototype.
5218 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
5219 (__submore): Add reentrant struct pointer argument.
5220 (ungetc): Change to call _ungetc_r.
5221
6194cf4a
JJ
52222004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5223
5224 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
5225 function pointer argument.
5226 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
5227 to specify function pointer arguments.
5228 (__fwalk, __fwalk_reent): Ditto.
5229
b4ddf489
AH
52302004-04-26 Aldy Hernandez <aldyh@redhat.com>
5231
ba3ccd63
EB
5232 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
5233 CT_INT case.
b4ddf489 5234
f777e3a5
JJ
52352004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5236
5237 * configure.in: Define _MB_CAPABLE if mb supported.
5238 * configure: Regenerated.
5239 * configure.host: Remove manual setting of MB_CAPABLE compiler
5240 flag.
5241 * newlib.hin: Add _MB_CAPABLE flag.
5242 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
5243 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
5244 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
5245 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
5246 * libc/ctype/jp2uc.c: Ditto.
5247 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
5248 * libc/locale/locale.c: Ditto
5249 * libc/machine/powerpc/vfscanf.c: Ditto
5250 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
5251 * libc/stdlib/mblen.c: Ditto
5252 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
5253 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
5254 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
5255 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
5256 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
5257 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
5258 * libc/sys/linux/intl/explodename.c: Ditto
5259 * libc/sys/linux/intl/finddomain.c: Ditto
5260 * libc/sys/linux/intl/l10nflist.c: Ditto
5261 * libc/sys/linux/intl/loadmsgcat.c: Ditto
5262 * libc/sys/linux/intl/localealias.c: Ditto
5263
27c7566c
JJ
52642004-04-23 Jeff Johnston <jjohnstn@redhat.com>
5265
5266 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
5267 (__svfscanf_r): In integer conversions, leave out leading zeroes
5268 which are not part of a base prefix.
5269 Keep track of width truncation to fit into buf, not counting left-out
5270 zeroes against width till the truncation has been compensated for.
5271 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
5272
c00f9719
JJ
52732004-04-23 Jeff Johnston <jjohnstn@redhat.com>
5274
5275 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
5276
05b31577
JJ
52772004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5278
5279 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
5280 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
5281 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
5282 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
5283 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
5284 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
5285 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
5286 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
5287 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
5288 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
5289 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
5290 libc/stdio/getchar.c libc/stdio/getchar_u.c,
5291 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
5292 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
5293 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
5294 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
5295 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
5296 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
5297 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
5298 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
5299 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
5300 libc/stdio/siprintf.c libc/stdio/snprintf.c,
5301 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
5302 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
5303 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
5304 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
5305 libc/stdio/vprintf.c libc/stdio/vscanf.c,
5306 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
5307 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
5308 libc/stdio/wsetup.c: Perform minor formatting changes. Move
5309 copyright notices to top of file, ensure that <_ansi.h> is
5310 included, be consistent with open parentheses, use _DEFUN macro,
5311 include "local.h" where needed, and remove various compiler
5312 warnings.
5313
04e8fca1
JJ
53142004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
5315
5316 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
5317 (__svfscanf_r): In integer conversions, leave out leading zeroes
5318 which are not part of a base prefix.
5319 Keep track of width truncation to fit into buf, not counting left-out
5320 zeroes against width till the truncation has been compensated for.
5321
9090ec74
CV
53222004-04-20 Corinna Vinschen <corinna@vinschen.de>
5323
5324 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
5325
1c17deea
CV
53262004-04-20 Corinna Vinschen <corinna@vinschen.de>
5327
5328 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
5329
54c7940f
CV
53302004-04-10 Corinna Vinschen <corinna@vinschen.de>
5331
5332 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
5333 to SUSv3.
5334
47dcaf56
JJ
53352004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5336
5337 * libc/stdio/fclose.c (_fclose_r): New function.
5338 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
5339 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
5340 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
5341 * libc/include/stdio.h (_fclose_r): New prototype.
5342 * libc/stdio/fopen.c: Fix typo in comment.
5343
53442004-04-08 Jeff Johnston <jjohnstn@redhat.com>
5345
5346 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
5347 to handle _r reentrant functions.
5348
4121d8cf
JJ
53492004-04-08 Eric Christopher <echristo@redhat.com>
5350
5351 * libc/include/machine/setjmp.h: Fix endif locations.
5352
59c9f5f5
JJ
53532004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5354
5355 * libc/time/strptime.c: Add standard includes to avoid
5356 warning messages at compilation time.
5357
38f4f023
JJ
53582004-04-01 Jeff Johnston <jjohnstn@redhat.com>
5359
5360 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
5361 of file.
5362
53632004-03-30 Jeff Johnston <jjohnstn@redhat.com>
ed4c5ece
JJ
5364
5365 * libc/machine/h8300/Makefile.am: Reformat slightly.
5366 * libc/machine/h8300/Makefile.in: Regenerate.
5367
38f4f023 53682004-03-30 Thomas Pfaff <tpfaff@gmx.net>
cacc0d44
JJ
5369
5370 * libc/stdio/findfp.c (__fp_lock_all): Add call to
5371 __sfp_lock_acquire.
17c0c97d 5372 (__fp_unlock_all): Add call to __sfp_lock_release.
cacc0d44 5373
10dcf7e7
JJ
53742004-03-25 Thomas Pfaff <tpfaff@gmx.net>
5375
5376 * libc/stdio/fclose.c (fclose): Protect file pointer list when
5377 releasing a file.
5378 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
5379 fwalk.
5380 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
5381 _flockfile/_funlockfile.
5382 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
5383 to recursive.
5384 Change __lock_acquire/__lock_release calls for __sfp_lock to
5385 __sfp_lock_acquire/__sfp_lock_release throughout.
5386 (std): Make sure that file lock is only initialized once.
5387 (__sfp): Move _file initialization. Initialize file lock.
5388 (__sfp_lock_acquire): New function.
5389 (__sfp_lock_release): Ditto.
5390 (__fp_lock_all): Remove __sfp_lock_acquire call.
5391 (__fp_unlock_all): Remove __sfp_lock_release call.
5392 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
5393 Add calls to _flockfile/_funlockfile. Remove
5394 __lock_init_recursive call.
5395 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
5396 * libc/stdio/fwalk.c (__fwalk): New static function.
5397 (_fwalk): Protect file pointer list. Use __fwalk to walk through
5398 file pointers.
5399 * libc/stdio/local.h: Add defines for
5400 __sfp_lock_acquire/__sfp_lock_release when
5401 single threaded. Add function prototypes otherwise.
5402 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
5403 _flockfile/_funlockfile.
5404 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
5405 Add calls to _flockfile/_funlockfile. Remove
5406 __lock_init_recursive call.
5407 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
17c0c97d 5408 list.
10dcf7e7 5409
ec475b09
JJ
54102004-03-25 Jeff Johnston <jjohnstn@redhat.com>
5411
5412 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
5413 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
5414 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
5415 to be __LOCK_INIT_RECURSIVE.
5416
2c4ef10a
JJ
54172004-03-11 Kazu Hirata <kazu@cs.umass.edu>
5418
5419 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
5420 _exit.c with _exit.S.
5421 * libc/sys/h8300hms/Makefile.in: Regenerate.
5422 * libc/sys/h8300hms/_exit.c: Remove.
5423 * libc/sys/h8300hms/_exit.S: New.
5424
41c3da6a
JJ
54252004-03-09 Thomas Pfaff <tpfaff@gmx.net>
5426
5427 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
5428 Change __sfp_lock to static global.
5429 (__fp_lock): New static function.
5430 (__fp_unlock): Ditto.
5431 (__fp_lock_all): New function.
17c0c97d 5432 (__fp_unlock_all): Ditto.
41c3da6a 5433
0ccf5430
CF
54342004-02-10 Christopher Faylor <cgf@redhat.com>
5435
5436 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
5437 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
5438 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
5439 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
5440
3536f0fb
CF
54412004-02-09 Christopher Faylor <cgf@redhat.com>
5442
5443 * libc/include/time.h (TIMER_RELTIME): New define.
5444
6a6e493a
JJ
54452004-02-09 Jeff Johnston <jjohnstn@redhat.com>
5446
5447 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
5448 * libc/stdlib/Makefile.in: Regenerated.
5449
733309f5
CF
54502004-02-08 Christopher Faylor <cgf@redhat.com>
5451
5452 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
5453 * libc/include/sys/reent.h (__getreent): Protect against possibly being
5454 defined.
5455 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
5456
b4a84c66
JJ
54572004-02-05 Paul Brook <paul@codesourcery.com>
5458
17c0c97d 5459 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
b4a84c66
JJ
5460 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
5461
4669438f
JJ
54622004-02-02 Jeff Johnston <jjohnstn@redhat.com>
5463
5464 * NEWS: Update with 1.12.0 info.
5465 * README: Ditto.
5466 * acinclude.m4: Change version number to 1.12.0.
5467 * aclocal.m4: Regenerated.
5468 * configure: Ditto.
5469 * doc/aclocal.m4: Ditto.
5470 * doc/configure: Ditto.
5471 * libc/*/aclocal.m4: Ditto.
5472 * libc/*/configure: Ditto.
5473 * libc/libc.texinfo: Ditto.
5474 * libm/*/aclocal.m4: Ditto.
5475 * libm/*/configure: Ditto.
5476 * libm/libm.texinfo: Ditto.
5477 * libc/sys/linux/shared.ld: Add VERS_1.12.
5478
94d61fcb
JJ
54792004-02-02 Joel Sherrill <joel@oarcorp.com>
5480
5481 * configure.host: Add support for tic4x.
5482 * libc/include/machine/ieeefp.h: Ditto.
5483 * libc/include/machine/setjmp.h: Ditto.
5484 * libc/machine/tic4x/Makefile.am: New file.
5485 * libc/machine/tic4x/configure.in: Ditto.
5486 * libc/machine/tic4x/setjmp.S: Ditto.
5487 * libc/machine/tic4x/aclocal.m4: Generated.
5488 * libc/machine/tic4x/configure: Ditto.
5489 * libc/machine/tic4x/Makefile.in: Ditto.
5490
c730e0e7
JJ
54912004-01-30 Jeff Johnston <jjohnstn@redhat.com>
5492
5493 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
5494 file chain on the passed in reentrancy struct if it
5495 is _GLOBAL_REENT.
5496
2892ec68 54972004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
ba3ccd63 5498 Jeff Johnston <jjohnstn@redhat.com>
2892ec68
JJ
5499
5500 * libc/iconv/iconv.tex: Updated with more information.
5501
ff41498a 55022004-01-30 Thomas Pfaff <tpfaff@gmx.net>
ba3ccd63 5503 Jeff Johnston <jjohnstn@redhat.com>
ff41498a
JJ
5504
5505 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
5506 struct for std streams and traverse the global reeentrancy
5507 struct for all other streams.
5508
d5b6c234
JJ
55092004-01-27 Jeff Johnston <jjohnstn@redhat.com>
5510
5511 * libc/stdlib/atexit.c: Protect global atexit list with a
5512 lock when newlib is multithreaded.
5513
01e0a777
JJ
55142004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5515
5516 * configure.in: Add support to generate iconv converter flags
5517 for newlib.h
5518 * newlib.hin: Add iconv converter flags.
5519 * configure: Regenerated.
5520 * libc/Makefile.in: Ditto.
5521 * libc/configure.in: Moved iconv converter parsing logic to
5522 top level newlib configure.in.
5523 * libc/configure: Regenerated.
5524 * libc/iconv/Makefile.in: Ditto.
5525 * libc/iconv/README.TODO
5526 * libc/iconv/charset.aliases: Remove wrong BE aliases for
5527 UCS2/UCS4/UTF8.
5528 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
5529 newlib.h can be used.
5530 * libc/iconv/ces/Makefile.am: Ditto.
5531 * libc/iconv/lib/Makefile.am: Ditto.
5532 * libc/iconv/ccs/Makefile.in: Regenerated.
5533 * libc/iconv/ces/Makefile.in: Ditto.
5534 * libc/iconv/lib/Makefile.in: Ditto.
5535 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
5536 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
5537 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
5538 defined in newlib.h.
5539 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
5540 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
5541 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
5542 * libc/iconv/ccs/cp775.c: Ditto.
5543 * libc/iconv/ccs/cp850.c: Ditto.
5544 * libc/iconv/ccs/cp852.c: Ditto.
5545 * libc/iconv/ccs/cp855.c: Ditto.
5546 * libc/iconv/ccs/cp866.c: Ditto.
5547 * libc/iconv/ccs/gb_2312_80.c: Ditto.
5548 * libc/iconv/ccs/iso_8859_1.c: Ditto.
5549 * libc/iconv/ccs/iso_8859_15.c: Ditto.
5550 * libc/iconv/ccs/iso_8859_2.c: Ditto.
5551 * libc/iconv/ccs/iso_8859_4.c: Ditto.
5552 * libc/iconv/ccs/iso_8859_5.c: Ditto.
5553 * libc/iconv/ccs/jis_x0201.c: Ditto.
5554 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
5555 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
5556 * libc/iconv/ccs/koi8_r.c: Ditto.
5557 * libc/iconv/ccs/koi8_u.c: Ditto.
5558 * libc/iconv/ccs/ksx1001.c: Ditto.
5559 * libc/iconv/ccs/shift_jis.c: Ditto.
5560 * libc/iconv/ccs/us_ascii.c: Ditto.
5561 * libc/iconv/ccs/binary/big5.cct: Newly generated.
5562 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
5563 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
5564 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
5565 * libc/iconv/ccs/binary/cp775.cct: Ditto.
5566 * libc/iconv/ccs/binary/cp850.cct: Ditto.
5567 * libc/iconv/ccs/binary/cp852.cct: Ditto.
5568 * libc/iconv/ccs/binary/cp855.cct: Ditto.
5569 * libc/iconv/ccs/binary/cp866.cct: Ditto.
5570 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
5571 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
5572 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
5573 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
5574 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
5575 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
5576 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
5577 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
5578 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
5579 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
5580 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
5581 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
5582 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
5583 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
5584 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
5585 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
5586 * libc/iconv/ces/euc-kr.c: Ditto.
5587 * libc/iconv/ces/euc-tw.c: Ditto.
5588 * libc/iconv/ces/gb2312.c: Ditto.
5589 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
5590 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
5591 * libc/iconv/ces/ucs-2-internal.c: Ditto.
5592 * libc/iconv/ces/ucs-4-internal.c: Ditto.
5593 * libc/iconv/ces/utf-16.c: Ditto.
5594 * libc/iconv/ces/utf-8.c: Ditto.
5595 * libc/iconv/lib/aliases.c: Ditto.
5596 * libc/iconv/lib/biccs.c: Ditto.
5597 * libc/iconv/lib/bices.c: Ditto.
5598 * libc/iconv/lib/ccs.c: Ditto.
5599 * libc/iconv/lib/ces.c: Ditto.
5600 * libc/iconv/lib/ces_euc.c: Ditto.
5601 * libc/iconv/lib/ces_iso2022.c: Ditto.
5602 * libc/iconv/lib/ces_table.c: Ditto.
5603 * libc/iconv/lib/converter.c: Ditto.
5604 * libc/iconv/lib/deps.h: Ditto.
5605 * libc/iconv/lib/endian.h: Ditto.
5606 * libc/iconv/lib/iconv.c: Ditto.
5607 * libc/iconv/lib/loaddata.c: Ditto.
5608 * libc/iconv/lib/local.h: Include newlib.h.
5609 * libc/argz/Makefile.in: Regenerated.
5610 * libc/ctype/Makefile.in: Ditto.
5611 * libc/errno/Makefile.in: Ditto.
5612 * libc/iconv/ccs/binary/Makefile.in: Ditto.
5613 * libc/locale/Makefile.in: Ditto.
5614 * libc/misc/Makefile.in: Ditto.
5615 * libc/posix/Makefile.in: Ditto.
5616 * libc/reent/Makefile.in: Ditto.
5617 * libc/search/Makefile.in: Ditto.
5618 * libc/signal/Makefile.in: Ditto.
5619 * libc/stdio/Makefile.in: Ditto.
5620 * libc/stdio64/Makefile.in: Ditto.
5621 * libc/stdlib/Makefile.in: Ditto.
5622 * libc/string/Makefile.in: Ditto.
5623 * libc/syscalls/Makefile.in: Ditto.
5624 * libc/time/Makefile.in: Ditto.
5625 * libc/unix/Makefile.in: Ditto.
5626 * testsuite/newlib.iconv/iconv.exp: New file.
5627 * testsuite/newlib.iconv/iconvjp.c: Ditto.
5628 * testsuite/newlib.iconv/iconvnm.c: Ditto.
5629 * testsuite/newlib.iconv/iconvru.c: Ditto.
5630
786ab12c
JJ
56312004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5632
5633 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
5634 (--enable-newlib-builtin-converters): Ditto.
5635 * configure.in: Add code to set _ICONV_ENABLED flag.
5636 Set _MB_LEN_MAX to 1 if not mb enabled.
5637 * configure: Regenerated.
5638 * aclocal.m4: Ditto.
5639 * Makefile.in: Ditto.
5640 * newlib.hin: Add _ICONV_ENABLED flag.
5641 * libc/Makefile.am: Add support for iconv.
5642 * libc/configure.in: Ditto.
5643 * libc/Makefile.in: Regenerated.
5644 * libc/aclocal.m4: Ditto.
5645 * libc/configure: Ditto.
5646 * libc/libc.texinfo: Add iconv documentation.
5647 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
5648 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
5649 libc/iconv/README.TODO, libc/iconv/charset.aliases,
5650 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
5651 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
5652 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
5653 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
5654 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
5655 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
5656 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
5657 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
5658 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
5659 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
5660 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
5661 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
5662 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
5663 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
5664 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
5665 libc/iconv/ccs/binary/big5.cct,
5666 libc/iconv/ccs/binary/cns11643_plane1.cct,
5667 libc/iconv/ccs/binary/cns11643_plane14.cct,
5668 libc/iconv/ccs/binary/cns11643_plane2.cct,
5669 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
5670 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
5671 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
5672 libc/iconv/ccs/binary/iso_8859_1.cct,
5673 libc/iconv/ccs/binary/iso_8859_15.cct,
5674 libc/iconv/ccs/binary/iso_8859_2.cct,
5675 libc/iconv/ccs/binary/iso_8859_4.cct,
5676 libc/iconv/ccs/binary/iso_8859_5.cct,
5677 libc/iconv/ccs/binary/jis_x0201.cct,
5678 libc/iconv/ccs/binary/jis_x0208_1983.cct,
5679 libc/iconv/ccs/binary/jis_x0212_1990.cct,
5680 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
5681 libc/iconv/ccs/binary/ksx1001.cct,
5682 libc/iconv/ccs/binary/shift_jis.cct,
5683 libc/iconv/ccs/binary/us_ascii.cct,
5684 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
5685 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
5686 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
5687 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
5688 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
5689 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
5690 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
5691 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
5692 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
5693 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
5694 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
5695 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
5696 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
5697 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
5698 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
5699 * libc/sys/linux/include/iconv.h: Ditto.
5700 * libc/include/sys/_types.h (_iconv_t): Added.
5701 * doc/aclocal.m4: Regenerated.
5702 * doc/configure: Ditto.
5703 * doc/Makefile.in: Ditto.
5704 * iconvdata/Makefile.in: Ditto.
5705 * iconvdata/aclocal.m4: Ditto.
5706 * iconvdata/configure: Ditto.
5707 * libc/*aclocal.m4: Ditto.
5708 * libc/*Makefile.in: Ditto.
5709 * libc/*configure: Ditto.
5710 * libm/*aclocal.m4: Ditto.
5711 * libm/*Makefile.in: Ditto.
5712 * libm/*configure: Ditto.
5713
ed1a95dc
JJ
57142004-01-22 Thomas Pfaff <tpfaff@gmx.net>
5715
5716 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
17c0c97d 5717 by a lock when newlib is multithreaded.
ed1a95dc 5718
7d4be1ef
JJ
57192004-01-21 Jeff Johnston <jjohnstn@redhat.com>
5720
5721 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
5722 pointer to match C99 spec.
5723 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
5724 dst is NULL. Also fix to not alter src pointer when dst is NULL
5725 and call _mbrtowc_r instead of _mbtowc_r.
5726 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
5727 of _wctomb_r.
5728
403f752c
JJ
57292004-01-19 Thomas Pfaff <tpfaff@gmx.net>
5730
5731 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
5732 * libc/stdio/freopen.c (freopen): Ditto.
5733
85b6d63b
CF
57342004-01-16 Christopher Faylor <cgf@redhat.com>
5735
5736 * libc/stdio/vfprintf.c: Add sys/lock.h include.
5737
4af71a91
JJ
57382004-01-16 Thomas Pfaff <tpfaff@gmx.net>
5739
5740 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
5741 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
5742 Add calls to __lock_init_recursive and __lock_close_recursive
5743 instead.
5744
6a150987
JJ
57452004-01-15 Thomas Pfaff <tpfaff@gmx.net>
5746
5747 * libc/stdio/fclose.c: Include sys/lock.h.
5748 (fclose): Destroy lock when file is closed.
5749 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
5750 member.
5751 * libc/stdio/freopen.c: Include sys/lock.h.
5752 (_freopen_r): Destroy lock when file is closed.
5753 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
5754 _lock member.
5755
c9524c0c
JJ
57562004-01-08 Joel Sherrill <joel@oarcorp.com>
5757
ba3ccd63
EB
5758 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
5759 Remove warnings.
c9524c0c 5760
9f13ccb3
JJ
57612004-01-08 Joel Sherrill <joel@oarcorp.com>
5762
ba3ccd63
EB
5763 * libc/sys/rtems/sys/queue.h: New file.
5764 * libc/include/sys/signal.h: Reflect renumbering of signals to
5765 fit into 32-bit mask.
5766 * libc/include/sys/unistd.h: Add fdatasync() prototype.
5767 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
5768 required. In particular, add the reentrant variants of libc calls.
5769 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
9f13ccb3 5770
9488c414
JJ
57712004-01-06 Mark Mitchell <mark@codesourcery.com>
5772
5773 * libc/sys/arm/syscalls.c (unistd.h): Include it.
5774 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
5775 Similarly for stdout and stderr.
5776
5125f919
JJ
57772004-01-06 Jeff Johnston <jjohnstn@redhat.com>
5778
5779 * libc/libc.texinfo: Correct escape character for @ sign
5780 so file will be processed by make info. Update copyright years.
5781 * libm/libm.texinfo: Ditto.
5782
9fc92ceb
JJ
57832003-12-05 Jeff Johnston <jjohnstn@redhat.com>
5784
5785 * libc/include/sys/stat.h: No longer include stat-dj.h.
5786 * libc/include/sys/stat-dj.h: Removed.
5787
25c7dad1
JJ
57882003-12-05 Jeff Johnston <jjohnstn@redhat.com>
5789
5790 * libc/include/wchar.h: Include <sys/reent.h>.
5791
576593dd
CF
57922003-12-05 Christopher Faylor <cgf@redhat.com>
5793
5794 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
5795 when defining _mbrtowc.
5796 * libc/stdlib/mbsinit.c: Ditto.
5797 * libc/stdlib/mbsrtowcs.c: Ditto.
5798 * libc/stdlib/wcrtomb.c: Ditto.
5799 * libc/stdlib/wcsrtombs.c: Ditto.
5800 * libc/stdlib/wctob.c: Ditto.
5801
58022003-12-05 Christopher Faylor <cgf@redhat.com>
5803
5804 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
5805 errors when defining _mbrtowc.
5806 * libc/stdlib/mbsinit.c: Ditto.
5807 * libc/stdlib/mbsrtowcs.c: Ditto.
5808
4c889d62
CF
58092003-12-05 Christopher Faylor <cgf@redhat.com>
5810
5811 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
5812 errors when defining _mbrtowc.
5813
5d109bde
JJ
58142003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5815
5816 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
5817 of mb routines for %lc and %ls support.
5818 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
5819 %ls, and %S support. Remove CYGNUS_NEC markers and
5820 code within.
5821
3aca0888
JJ
58222003-12-04 Jeff Johnston <jjohnstn@redhat.com>
5823
5824 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
5825 _wcrtomb_r, and _wcsrtombs_r.
5826
18dcb167
CV
58272003-12-01 Corinna Vinschen <corinna@vinschen.de>
5828
5829 * libc/include/sys/fcntl.h: Don't define struct flock when on
5830 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
5831
93f8e673
CF
58322003-11-28 Christopher Faylor <cgf@redhat.com>
5833
5834 * libc/include/sys/signal.h: Use system specific signal file when
5835 building on cygwin.
5836
cc2a11e0
JJ
58372003-11-27 Jeff Johnston <jjohnstn@redhat.com>
5838
5839 * libc/include/stdlib.h (_atoi_r): New prototype.
5840 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
5841
83bf7d2f
JJ
58422003-11-27 Jeff Johnston <jjohnstn@redhat.com>
5843
5844 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
5845 * libc/stdlib/atol.c (_atol_r): New reentrant function.
5846 * libc/stdlib/atoll.c (_atoll_r): Ditto.
5847
5d109bde 58482003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6bbb700c
JJ
5849 Jeff Johnston <jjohnstn@redhat.com>
5850
5851 * libc/include/stdlib.h (lldiv_t): New type.
5852 (atoll, llabs, lldiv): New prototypes.
5853 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
5854 * libc/stdlib/stdlib.tex: Ditto.
5855 * libc/stdlib/Makefile.in: Regenerated.
5856 * libc/stdlib/atoll.c: New file.
5857 * libc/stdlib/llabs.c: Ditto.
5858 * libc/stdlib/lldiv.c: Ditto.
5859
0a707c79
JJ
58602003-11-26 Corinna Vinschen <corinna@vinschen.de>
5861
5862 * libc/include/fcntl.h: Declare syscalls only when building newlib.
5863 * libc/include/unistd.h: Ditto.
5864 * libc/include/stat.h: Ditto. Also declare struct stat64.
5865
5d109bde 58662003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6db165c2
JJ
5867
5868 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
5869 specifier to use ch instead of *fmt.
5870
5d109bde 58712003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
759a097e
JJ
5872
5873 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
5874 code within checks for MB_CAPABLE. For non-mb-capable platforms,
5875 use simple byte logic.
5876
4f6149d6
JJ
58772003-11-21 Jeff Johnston <jjohnstn@redhat.com>
5878
5879 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
5880 _strtold routine for processing floats and doubles since it
5881 is not as fast as _strtod_r.
5882
17c0c97d 58832003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
7343eefb 5884
17c0c97d 5885 * libc/machine/h8300/defines.h : Correct pointer register defines
7343eefb 5886 for normal mode.
17c0c97d 5887 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
7343eefb
JJ
5888 for normal mode.
5889 * libc/machine/h8300/reg_memcpy.S : Likewise.
5890 * libc/machine/h8300/reg_memset.S : Likewise.
5891 * libc/machine/h8300/strcmp.S : Likewise.
5892
64cfc6f2
JJ
58932003-11-19 Nicholas Wourms <nwourms@netscape.net>
5894
5895 * configure.host: Enable positional arguments for printf
5896 family for Cygwin.
5897 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
5898 pointer reference for quad_ptr_t.
5899
e1dc8171
JJ
59002003-11-19 Jeff Johnston <jjohnstn@redhat.com>
5901
5902 * libc/stdio/scanf.c: Don't include local.h more than once.
5903
a472290f
JJ
59042003-11-18 Corinna Vinschen <corinna@vinschen.de>
5905
5906 * libc/include/sys/fcntl.h: Declare _open64.
5907 * libc/include/sys/stat.h: Declare _fstat64.
5908 * libc/include/sys/unistd.h: Declare _lseek64.
5909
a2f1155c
CV
59102003-11-17 Corinna Vinschen <corinna@vinschen.de>
5911
5912 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
5913 (setprogname): Ditto.
5914
030441fc
JJ
59152003-11-10 Jeff Johnston <jjohnstn@redhat.com>
5916
5917 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
5918 to use (Ebits + 1) which accounts for the sign-bit.
5919
fe359733
JJ
59202003-11-07 Jeff Johnston <jjohnstn@redhat.com>
5921
17c0c97d 5922 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
fe359733
JJ
5923 x86 build.
5924 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
5925 and set up default flags to pass to aclocal.
5926 * iconvdata/Makefile.in: Regenerated.
5927 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
5928 and getpwuid routines.
5929 * libc/sys/linux/Makefile.in: Regenerated.
5930 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
5931 applications to link with newlib's shared libc library.
5932 * libc/sys/linux/getpwnam.c: Ditto.
5933 * libc/sys/linux/getpwuid.c: Ditto.
5934 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
5935 that were formerly supplied by /usr/include/linux/types.h with
5936 kernel types.
5937 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
5938 test _ELIX_LEVEL macro.
5939
2985521f
JJ
59402003-11-07 Jeff Johnston <jjohnstn@redhat.com>
5941
5942 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
5943 referring to _NO_LONGLONG macro.
5944
dcad6a89
JJ
59452003-11-06 Jeff Johnston <jjohnstn@redhat.com>
5946
5947 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
5948 in LOG() macro so this will compile on gcc 3.4 and up.
5949 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
5950 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
5951 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
5952 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
5953 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
5954 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
5955 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
5956 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
5957 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
5958 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
5959 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
5960 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
5961 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
5962 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
5963 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
5964 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
5965 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
5966 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
5967 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
5968 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
5969 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
5970 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
5971 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
5972 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
5973 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
5974 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
5975 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
5976 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
5977 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
5978 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
5979 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
5980 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
5981 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
5982 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
5983 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
5984 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
5985
d2ffac09 59862003-11-05 Jeff Johnston <jjohnstn@redhat.com>
ba3ccd63 5987 Artem B. Bityuckiy <abitytsky@softminecorp.com>
d2ffac09
JJ
5988
5989 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
5990 %ls, %S, %lc, and %C format specifiers.
5991 (get_arg): Ditto.
5992 * libc/stdio/sprintf.c: Add documentation regarding new
5993 format specifiers added in vfprintf.c.
5994
da2d1227
JJ
59952003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5996
5997 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
5998 to make code work as specified in standard.
5999
3ef05bac
JJ
60002003-10-23 Jeff Johnston <jjohnstn@redhat.com>
6001
6002 * configure.in: Use absolute newlib basedir when forming
6003 CC_FOR_NEWLIB include options.
6004 * configure: Regenerated.
6005
5d109bde 60062003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4340b63b
JJ
6007
6008 * libc/string/wcsnlen.c: New file.
6009 * libc/include/wchar.h: Add wcsnlen prototype.
6010 * libc/string/Makefile.am: Add wcsnlen support.
6011 * libc/string/Makefile.in: Regenerated.
6012 * libc/string/wcstrings.tex: Add wcsnlen documentation.
6013
63a823f8
RS
60142003-10-22 Richard Sandiford <rsandifo@redhat.com>
6015
6016 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
6017
76a7df52
JJ
60182003-10-20 Bob Wilson <bob.wilson@acm.org>
6019
6020 * libc/locale/locale.c: Use double quotes in code.
6021 * libc/locale/locale.tex: Likewise.
6022 * libc/libc.texinfo: Hyphenate "floating-point".
6023 * libc/machine/necv70/necv70.tex: Likewise.
6024 * libc/stdio/sprintf.c: Likewise.
6025 * libc/stdio/sscanf.c: Likewise.
6026 * libc/stdlib/atof.c: Likewise.
6027 * libc/stdlib/ldtoa.c: Fix comment typo.
6028 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
6029 * libc/stdlib/ldiv.c: Likewise.
6030 * libm/common/s_expm1.c: Likewise.
6031 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
6032 * libm/common/s_infinity: Hyphenate "double- and single-precision".
6033 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
6034 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
6035 and "floating-point".
6036 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
6037 * libm/math/e_pow.c: Fix comment typo.
6038 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
6039 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
6040 * libm/math/s_atan.c: Likewise.
6041 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
6042 * libm/math/s_isnan.c: Hyphenate "single-precision" and
6043 "floating-point". Use "nonzero".
6044 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
6045 * libm/math/w_acos.c: Likewise.
6046 * libm/math/w_acosh.c: Likewise.
6047 * libm/math/w_asin.c: Likewise.
6048 * libm/math/w_atan2.c: Likewise.
6049 * libm/math/w_atanh.c: Likewise.
6050 * libm/math/w_cosh.c: Likewise.
6051 * libm/math/w_exp.c: Likewise.
6052 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
6053 version of 2^x in the description.
6054 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
6055 * libm/math/w_gamma.c: Likewise.
6056 * libm/math/w_hypot.c: Likewise.
6057 * libm/math/w_j0.c: Likewise.
6058 * libm/math/w_sinh.c: Likewise.
6059 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
6060 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
6061 "floating-point".
6062 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
6063 * libm/mathfp/e_atanh.c: Likewise.
6064 * libm/mathfp/e_hypot.c: Likewise.
6065 * libm/mathfp/er_lgamma.c: Likewise.
6066 * libm/mathfp/s_acos.c: Likewise.
6067 * libm/mathfp/s_asine.c: Likewise.
6068 * libm/mathfp/s_asinh.c: Likewise.
6069 * libm/mathfp/s_atan.c: Likewise.
6070 * libm/mathfp/s_atan2.c: Likewise.
6071 * libm/mathfp/s_atangent.c: Likewise.
6072 * libm/mathfp/s_cosh.c: Likewise.
6073 * libm/mathfp/s_exp.c: Likewise.
6074 * libm/mathfp/s_fmod.c: Likewise.
6075 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
6076 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
6077 "floating-point". Use "nonzero".
6078 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
6079 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
6080 * libm/mathfp/s_sineh.c: Likewise.
6081 * libm/mathfp/w_jn.c: Likewise.
6082
b11926e7
JJ
60832003-10-15 Alexandre Oliva <aoliva@redhat.com>
6084
6085 * Makefile.am: Add $(MAKE) comments to multido and multiclean
6086 lines, to enable parallel make.
6087 * Makefile.in: Rebuilt.
6088
31271d5c
CF
60892003-10-14 Christopher Faylor <cgf@redhat.com>
6090
6091 * libc/time/clock.c: Clarify documentation of return value when no
6092 measurement is available.
6093
bc707cbd
JJ
60942003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
6095
6096 * libm/configure.in: Check libm_machine_dir, not machine_dir.
6097 * libm/configure: Regenerate.
6098 * libm/Makefile.in: Ditto.
6099
f4b10605
JR
61002003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
6101
6102 * libc/machine/sh/strncpy.S: New file.
6103 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
6104 * libc/machine/sh/Makefile.in: Regenerate.
6105
ce044d8f
JW
61062003-09-11 James E Wilson <wilson@specifixinc.com>
6107
6108 * MAINTAINERS: Update my e-mail address.
6109
080ef411
CV
61102003-09-10 Corinna Vinschen <corinna@vinschen.de>
6111
6112 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
6113
3a767b69
JJ
61142003-09-09 Jeff Johnston <jjohnstn@redhat.com>
6115
080ef411
CV
6116 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
6117 prototype.
6118 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
6119 _simdldcheck(). Also add unsigned cast for index variable in
6120 for loop using sizeof operators.
6121 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
6122 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
6123 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
6124 plus fix shift calculation for determining if there is a
6125 carry from word2.
3a767b69 6126
84154fcc
CV
61272003-09-09 Corinna Vinschen <corinna@vinschen.de>
6128
6129 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
6130 setgroupent for Cygwin.
6131
f1b15058
JJ
61322003-09-05 Jeff Johnston <jjohnstn@redhat.com>
6133
6134 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
6135 is different for _REENT_SMALL than when using regular reent
6136 struct.
6137
cf88c20f 61382003-09-05 Ben Elliston <bje@wasabisystems.com>
0a8fd4dc 6139
b73263e4
BE
6140 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
6141 modern versions of GCC issue a warning.
6142
0a8fd4dc
BE
6143 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
6144 after continuation characters that induces a warning from modern
6145 versions of GCC.
6146
10a32423
BE
61472003-09-04 Ben Elliston <bje@wasabisystems.com>
6148
6149 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
6150 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
6151
ed027a53
JJ
61522003-09-02 Thomas Pfaff <tpfaff@gmx.net>
6153
6154 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
6155 * libc/stdlib/exit.c : Ditto.
6156 * libc/stdlib/on_exit.c: Ditto.
6157
880fa247
JJ
61582003-08-27 Corinna Vinschen <corinna@vinschen.de>
6159
6160 * libc/include/reent.h: Define stat64 as __stat64 when
6161 compiling newlib for Cygwin.
6162
54c1d7ea
JJ
61632003-08-26 Jeff Johnston <jjohnstn@redhat.com>
6164
6165 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
6166 __stat64 when compiling newlib.
6167
0eca0750
JJ
61682003-08-26 Jeff Johnston <jjohnstn@redhat.com>
6169
6170 * libc/include/stdio.h: Allow the io64 function prototypes for
6171 Cygwin when compiling newlib.
6172 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
6173 to expose the Cygwin struct __stat64 type.
6174 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
6175 pointer.
6176 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
6177
9d4aef19
CF
61782003-08-23 Christopher Faylor <cgf@redhat.com>
6179
6180 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
6181 definition to fseeko64.
6182
9fc9e1c9
JJ
61832003-08-22 Jeff Johnston <jjohnstn@redhat.com>
6184
6185 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
6186 * libc/stdio: Globally remove/replace all references to fp->_data.
6187 Replace with _REENT or _GLOBAL_REENT where appropriate.
6188 * libc/stdio/asprintf.c: Ditto.
6189 * libc/stdio/fclose.c: Ditto.
6190 * libc/stdio/fvwrite.c: Ditto.
6191 * libc/stdio/makebuf.c: Ditto.
6192 * libc/stdio/refill.c: Ditto.
6193 * libc/stdio/local.h: Ditto.
6194 * libc/stdio/setvbuf.c: Ditto.
6195 * libc/stdio/sscanf.c: Ditto.
6196 * libc/stdio/stdio.c: Ditto.
6197 * libc/stdio/ungetc.c: Ditto.
6198 * libc/stdio/vfscanf.c: Ditto.
6199 * libc/stdio/vsscanf.c: Ditto.
6200 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
6201 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
6202 * libc/stdio/vsnprintf.c: Ditto.
6203 * libc/stdio/vsprintf.c: Ditto.
6204 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
6205 instead of _REENT to walk file list.
6206 * libc/stdio/fflush.c: Ditto.
6207 * libc/stdio/fgetpos.c: Add reentrant version and have regular
6208 version call reentrant version with _REENT argument.
6209 * libc/stdio/fsetpos.c: Ditto.
6210 * libc/stdio/fseek.c: Ditto.
6211 * libc/stdio/fseeko.c: Ditto.
6212 * libc/stdio/ftell.c: Ditto.
6213 * libc/stdio/ftello.c: Ditto.
6214 * libc/stdio/freopen.c: Ditto.
6215 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
6216 new files to chain. Also use _GLOBAL_REENT pointer for
6217 cleaning up.
6218 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
6219 * libc/stdio/siprintf.c: Ditto.
6220 * libc/stdio/iprintf.c: Ditto.
6221 * libc/stdio/fprintf.c: Ditto.
6222 * libc/stdio/printf.c: Ditto.
6223 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
6224 * libc/stdio/sprintf.c: Ditto.
6225 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
6226 * libc/stdio/rewind.c: Call _fseek_r directly.
6227 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
6228 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
6229 data pointer.
6230 (get_arg): Add extra struct _reent pointer argument.
6231 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
6232 to fp->_data.
6233 * libc/stdio64/fopen64.c: Ditto.
6234 * libc/stdio64/freopen64.c: Ditto.
6235 * libc/stdio64/fsetpos64.c: Ditto.
6236 * libc/stdio64/ftello64.c: Ditto.
6237 * libc/stdio64/local64.h: Ditto.
6238 * libc/stdio64/stdio64.c: Ditto.
6239 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
6240 _fstat64_r for the meantime.
6241
8f021114
JJ
62422003-08-19 Jeff Johnston <jjohnstn@redhat.com>
6243
6244 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
6245 overflow detection.
17c0c97d 6246
db979bb4 62472003-08-13 Aldy Hernandez <aldyh@redhat.com>
17c0c97d 6248
db979bb4
JJ
6249 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
6250 extern "C".
6251
6efbdc7d
JJ
62522003-08-13 Jeff Johnston <jjohnstn@redhat.com>
6253
6254 * libc/include/math.h: Add prototypes for __signbitf and
6255 __signbitd.
6256
e895fc20
JJ
62572003-07-31 Jeff Johnston <jjohnstn@redhat.com>
6258
6259 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
6260 correct type of conversion when dealing with EUCJP or SJIS.
6261 * libc/ctype/iswblank.c: Ditto.
6262 * libc/ctype/iswcntrl.c: Ditto.
6263 * libc/ctype/iswprint.c: Ditto.
6264 * libc/ctype/iswpunct.c: Ditto.
6265 * libc/ctype/iswspace.c: Ditto.
6266 * libc/ctype/towlower.c: Ditto.
6267 * libc/ctype/towupper.c: Ditto.
6268
0302dfe5
NC
62692003-07-31 Nick Clifton <nickc@redhat.com>
6270
6271 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
6272 before calling main, in case it saves its argument registers.
ba3ccd63
EB
6273 Remove reference to deleted v850ea port.
6274 * configure.host: Remove reference to deleted v850ea port.
6275 Do not use -mv850 when building for v850e target. This
0302dfe5
NC
6276 prevents the ctbp system register from being initialised.
6277
42de5592
JJ
62782003-07-29 Honda Hiroki <hhonda@ipflex.com>
6279
6280 * libc/stdio/vfprintf.c: Set output size to 1 when
6281 we have %f format with precision 0 and # flag not specified.
6282
e5de27b6
AO
62832003-07-29 Alexandre Oliva <aoliva@redhat.com>
6284
6285 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
6286 .am33_2.
6287
3c98a593
CF
62882003-07-25 Christopher Faylor <cgf@redhat.com>
6289
6290 * libc/stdio64/fdopen64.c: Include sys/lock.h.
6291
e222bf67
CF
62922003-07-25 Christopher Faylor <cgf@redhat.com>
6293
6294 * configure.host: Find cygwin include directory, when appropriate.
6295
03536757
CF
62962003-07-24 Christopher Faylor <cgf@redhat.com>
6297
6298 * libc/stdio64/fdopen64.c: New file.
6299 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
6300 * libc/stdio64/Makefile.in: Regenerate.
6301 * libc/include/stdio.h (fdopen64): Define.
6302 * libc/include/stdio.h (_fdopen64_r): Ditto.
6303
18072a4f
AO
63042003-07-10 Alexandre Oliva <aoliva@redhat.com>
6305
6306 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
6307 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
6308 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
6309 restore callee-saved FP registers.
6310
e0bec12f
JR
63112003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
6312
6313 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
6314 for __sh__.
6315 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
6316 truncate.c.
6317 * libc/sys/sh/Makefile.in: Regenerate.
6318 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
6319 * libc/sys/sh/ftruncate.c: New file.
6320 * libc/sys/sh/truncate.c: Likewise.
6321
03d65dd9
AO
63222003-07-09 Alexandre Oliva <aoliva@redhat.com>
6323
6324 * libc/include/math.h (nan, nanf): Update prototype to C99.
6325 * libm/common/s_nan.c (nan): Likewise.
6326 * libm/common/s_nanf.c (nanf, nan): Likewise.
6327 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
6328
74aa9d7d
JJ
63292003-07-07 Jeff Johnston <jjohnstn@redhat.com>
6330
6331 * libc/include/stdbool.h: Removed as this is defined by gcc.
6332
0a447ef3
JJ
63332003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
6334
6335 * libc/include/stdbool.h: New header file defined by C99.
6336
282eff9a
JJ
63372003-07-02 Jeff Johnston <jjohnstn@redhat.com>
6338
6339 * libc/include/sys/types.h (int8_t): Make signed.
6340
4e989b11
JJ
63412003-07-02 Jeff Johnston <jjohnstn@redhat.com>
6342
6343 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
6344
07b40cf8
JJ
63452003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
6346
6347 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
6348 on if we actually created the shared memory file exclusively.
6349
7daa7891
JJ
63502003-06-27 Joe Vornehm <joev@mitre.org>
6351
6352 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
6353 comparisons to account for unsigned internal value w.
6354
51fa7562
JJ
63552003-06-26 Jeff Johnston <jjohnstn@redhat.com>
6356
6357 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
6358 wrbuf for a non-creating open.
6359
b8f7ea5c
JJ
63602003-06-24 Kazu Hirata <kazu@cs.umass.edu>
6361
6362 * libc/machine/h8300/setarch.h: New.
6363 * libc/machine/h8300/memcpy.S: Use it.
6364 * libc/machine/h8300/memset.S: Likewise.
6365 * libc/machine/h8300/reg_memcpy.S: Likewise.
6366 * libc/machine/h8300/reg_memset.S: Likewise.
6367 * libc/machine/h8300/setjmp.S: Likewise.
6368 * libc/machine/h8300/strcmp.S: Likewise.
6369
6d7ea52a
RS
63702003-06-24 Richard Sandiford <rsandifo@redhat.com>
6371
6372 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
6373 to atexit().
6374
5a74f2aa
JJ
63752003-06-20 Jeff Johnston <jjohnstn@redhat.com>
6376
6377 * configure.host (iq2000): Add tabs.
6378
8266e478
JJ
63792003-06-20 Jeff Johnston <jjohnstn@redhat.com>
6380
6381 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
6382 to handle latest on_exit change.
6383 * libc/sys/linux/Makefile.am: Remove special compilation
6384 for malloc.c and mcheck.c.
6385 * libc/sys/linux/Makefile.in: Regenerated.
6386 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
6387 after including <features.h>.
6388 * libc/sys/linux/mcheck.c: Ditto.
6389 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
6390 for <features.h>.
6391 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
6392 add -DNOT_IN_libc to C flags.
6393 * libc/sys/linux/intl/Makefile.in: Regenerated.
6394 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
6395 * libc/sys/linux/linuxthreads/semaphore.h: Include
6396 <bits/pthreadtypes.h>.
6397 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
6398 including <features.h>.
6399 * libc/sys/linux/sys/lock.h: Ditto.
6400
0efe117b
NC
64012003-06-11 Nick Clifton <nickc@redhat.com>
6402
6403 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
6404 _on_exit_args_ptr.
6405
bfdfd7e6 64062003-06-10 Stan Cox <scox@redhat.com>
ba3ccd63 6407 Anthony Green <green@redhat.com>
17c0c97d 6408
bfdfd7e6
AG
6409 * configure.host: Add iq2000 support.
6410 * newlib/libc/include/machine/ieeefp.h: Ditto.
6411 * newlib/libc/include/machine/setjmp.h: Ditto.
6412 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
6413 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
6414 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
6415 libc/machine/iq2000/Makefile.in: New files.
6416
d9e4104b
RS
64172003-06-10 Richard Sandiford <rsandifo@redhat.com>
6418
6419 * libc/sys/h8300hms/setarch.h: New file.
6420 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
6421 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
6422 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
6423 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
6424
729d1ff9
JJ
64252003-06-06 Jeff Johnston <jjohnstn@redhat.com>
6426
ba3ccd63
EB
6427 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
6428 definition.
6429 * libc/argz/argz_add_sep.c: Ditto.
6430 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
6431 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
6432 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
6433 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
6434 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
6435 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
6436 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
6437 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
6438 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
6439 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
6440 * libc/posix/execl.c libc/posix/execle.c: Ditto.
6441 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
6442 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
6443 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
6444 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
6445 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
6446 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
6447 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
6448 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
6449 * libc/search/twalk.c libc/signal/signal.c: Ditto.
729d1ff9 6450
75d7d177 64512003-06-05 Nick Clifton <nickc@redhat.com>
17c0c97d 6452
75d7d177
NC
6453 * libc/include/sys/reent.h (struct _on_exit_args): New
6454 structure containing fields used by the on_exit() function.
ba3ccd63 6455 (struct _atexit): Include struct _on_exit_args. For
75d7d177
NC
6456 _REENT_SMALL do his via a pointer that is initialised when
6457 needed.
ba3ccd63 6458 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
75d7d177 6459 structure, if one has been allocated.
ba3ccd63 6460 * libc/stdlib/atexit.c (atexit): Update indirection to
75d7d177 6461 _fntypes field.
ba3ccd63 6462 * libc/stdlib/on_exit.c (on_exit): Indirect via the
75d7d177
NC
6463 _on_exit_args structure. For _REENT_SMALL, allocate a
6464 structure if one does not exist.
ba3ccd63 6465 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
75d7d177
NC
6466 structure.
6467
2129f283
JJ
64682003-06-04 Jeff Johnston <jjohnstn@redhat.com>
6469
6470 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
6471 * libc/sys/linux/net/Makefile.in: Regenerated.
6472
bf3bcac2
JJ
64732003-06-03 Jeff Johnston <jjohnstn@redhat.com>
6474
6475 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
6476 * libc/reent/fcntlr.c: Ditto.
6477 * libc/reent/fstat64r.c: Ditto.
6478 * libc/reent/linkr.c: Ditto.
6479 * libc/reent/lseek64r.c: Ditto.
6480 * libc/reent/lseekr.c: Ditto.
6481 * libc/reent/openr.c: Ditto.
6482 * libc/reent/readr.c: Ditto.
6483 * libc/reent/reent.c: Ditto.
6484 * libc/reent/sbrkr.c: Ditto.
6485 * libc/reent/signalr.c: Ditto.
6486 * libc/reent/signgam.c: Ditto.
6487 * libc/reent/statr.c: Ditto.
6488 * libc/reent/timer.c: Ditto.
6489 * libc/reent/unlinkr.c: Ditto.
6490 * libc/reent/writer.c: Ditto.
6491 * libc/syscalls/sysclose.c: Ditto.
6492 * libc/syscalls/sysexecve.c: Ditto.
6493 * libc/syscalls/sysfcntl.c: Ditto.
6494 * libc/syscalls/sysfork.c: Ditto.
6495 * libc/syscalls/sysfstat.c: Ditto.
6496 * libc/syscalls/sysgetpid.c: Ditto.
6497 * libc/syscalls/sysgettod.c: Ditto.
6498 * libc/syscalls/syskill.c: Ditto.
6499 * libc/syscalls/syslink.c: Ditto.
6500 * libc/syscalls/syslseek.c: Ditto.
6501 * libc/syscalls/sysopen.c: Ditto.
6502 * libc/syscalls/sysread.c: Ditto.
6503 * libc/syscalls/syssbrk.c: Ditto.
6504 * libc/syscalls/sysstat.c: Ditto.
6505 * libc/syscalls/systimes.c: Ditto.
6506 * libc/syscalls/sysunlink.c: Ditto.
6507 * libc/syscalls/syswait.c: Ditto.
6508 * libc/syscalls/syswrite.c: Ditto.
6509
702ceb23
JJ
65102003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
6511
6512 * libc/time/tzset_r.c: Change local variables that are
6513 set via sscanf using the %h format specifier to be unsigned short
6514 instead of int.
6515
102861c9
JJ
65162003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
6517
6518 * configure.host: Allow i[34567]86 variant.
6519 * configure.in: Likewise.
6520 * README: Likewise to the docs.
6521 * configure: Regenerated.
6522 * Makefile.in: Ditto.
6523
b359e82c
JJ
65242003-05-28 Jeff Johnston <jjohnstn@redhat.com>
6525 Tom Fitzsimmons <fitzsim@redhat.com>
6526
6527 * configure.in: Add iconvdata support for x86 linux.
6528 * configure: Regenerated.
17c0c97d 6529 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
b359e82c
JJ
6530 library, iconv, and linuxthreads support.
6531 * libc/sys/linux/configure.in: Ditto.
6532 * libc/sys/linux/Makefile.in: Regenerated.
6533 * libc/sys/linux/configure: Ditto.
6534 * iconvdata/EUC-JP.irreversible: New file.
6535 * iconvdata/Makefile.am: Ditto.
6536 * iconvdata/Makefile.in: Ditto.
6537 * iconvdata/SJIS.irreversible: Ditto.
6538 * iconvdata/aclocal.m4: Ditto.
6539 * iconvdata/configure: Ditto.
6540 * iconvdata/configure.in: Ditto.
6541 * iconvdata/dummy.c: Ditto.
6542 * iconvdata/euc-jp.c: Ditto.
6543 * iconvdata/gconv-modules: Ditto.
6544 * iconvdata/jis0201.c: Ditto.
6545 * iconvdata/jis0201.h: Ditto.
6546 * iconvdata/jis0208.c: Ditto.
6547 * iconvdata/jis0208.h: Ditto.
6548 * iconvdata/jis0212.c: Ditto.
6549 * iconvdata/jis0212.h: Ditto.
6550 * iconvdata/sjis.c: Ditto.
6551 * libc/include/errno.h: Protect definition of error_t.
6552 * libc/sys/linux/gethostid.c: New file.
6553 * libc/sys/linux/sethostid.c: Ditto.
6554 * libc/sys/linux/dl/Makefile.am: Ditto.
6555 * libc/sys/linux/dl/Makefile.in: Ditto.
6556 * libc/sys/linux/dl/abi-tag.h: Ditto.
6557 * libc/sys/linux/dl/atomicity.h: Ditto.
6558 * libc/sys/linux/dl/dl-addr.c: Ditto.
6559 * libc/sys/linux/dl/dl-cache.c: Ditto.
6560 * libc/sys/linux/dl/dl-cache.h: Ditto.
6561 * libc/sys/linux/dl/dl-close.c: Ditto.
6562 * libc/sys/linux/dl/dl-debug.c: Ditto.
6563 * libc/sys/linux/dl/dl-deps.c: Ditto.
6564 * libc/sys/linux/dl/dl-dst.h: Ditto.
6565 * libc/sys/linux/dl/dl-error.c: Ditto.
6566 * libc/sys/linux/dl/dl-fini.c: Ditto.
6567 * libc/sys/linux/dl/dl-init.c: Ditto.
6568 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
6569 * libc/sys/linux/dl/dl-libc.c: Ditto.
6570 * libc/sys/linux/dl/dl-librecon.h: Ditto.
6571 * libc/sys/linux/dl/dl-load.c: Ditto.
6572 * libc/sys/linux/dl/dl-lookup.c: Ditto.
6573 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
6574 * libc/sys/linux/dl/dl-minimal.c: Ditto.
6575 * libc/sys/linux/dl/dl-misc.c: Ditto.
6576 * libc/sys/linux/dl/dl-object.c: Ditto.
6577 * libc/sys/linux/dl/dl-open.c: Ditto.
6578 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
6579 * libc/sys/linux/dl/dl-profile.c: Ditto.
6580 * libc/sys/linux/dl/dl-profstub.c: Ditto.
6581 * libc/sys/linux/dl/dl-reloc.c: Ditto.
6582 * libc/sys/linux/dl/dl-runtime.c: Ditto.
6583 * libc/sys/linux/dl/dl-support.c: Ditto.
6584 * libc/sys/linux/dl/dl-sym.c: Ditto.
6585 * libc/sys/linux/dl/dl-version.c: Ditto.
6586 * libc/sys/linux/dl/dlfcn.h: Ditto.
6587 * libc/sys/linux/dl/do-lookup.h: Ditto.
6588 * libc/sys/linux/dl/do-rel.h: Ditto.
6589 * libc/sys/linux/dl/dynamic-link.h: Ditto.
6590 * libc/sys/linux/dl/kernel-features.h: Ditto.
6591 * libc/sys/linux/dl/ldsodefs.h: Ditto.
6592 * libc/sys/linux/dl/libintl.h: Ditto.
6593 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
6594 * libc/sys/linux/dl/unsecvars.h: Ditto.
6595 * libc/sys/linux/iconv/Makefile.am: Ditto.
6596 * libc/sys/linux/iconv/Makefile.in: Ditto.
6597 * libc/sys/linux/iconv/categories.def: Ditto.
6598 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
6599 * libc/sys/linux/iconv/gconv.c: Ditto.
6600 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
6601 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
6602 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
6603 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
6604 * libc/sys/linux/iconv/gconv_close.c: Ditto.
6605 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
6606 * libc/sys/linux/iconv/gconv_db.c: Ditto.
6607 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
6608 * libc/sys/linux/iconv/gconv_int.h: Ditto.
6609 * libc/sys/linux/iconv/gconv_open.c: Ditto.
6610 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
6611 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
6612 * libc/sys/linux/iconv/hash-string.h: Ditto.
6613 * libc/sys/linux/iconv/iconv.c: Ditto.
6614 * libc/sys/linux/iconv/iconv.h: Ditto.
6615 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
6616 * libc/sys/linux/iconv/iconv_close.c: Ditto.
6617 * libc/sys/linux/iconv/iconv_open.c: Ditto.
6618 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
6619 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
6620 * libc/sys/linux/iconv/loadinfo.h: Ditto.
6621 * libc/sys/linux/iconv/localeinfo.h: Ditto.
6622 * libc/sys/linux/iconv/loop.c: Ditto.
6623 * libc/sys/linux/iconv/skeleton.c: Ditto.
6624 * libc/sys/linux/iconv/strtab.c: Ditto.
6625 * libc/sys/linux/include/dl-hash.h: Ditto.
6626 * libc/sys/linux/include/dlfcn.h: Ditto.
6627 * libc/sys/linux/include/fnmatch.h: Ditto.
6628 * libc/sys/linux/include/gconv.h: Ditto.
6629 * libc/sys/linux/include/glob.h: Ditto.
6630 * libc/sys/linux/include/hesiod.h: Ditto.
6631 * libc/sys/linux/include/ifaddrs.h: Ditto.
6632 * libc/sys/linux/include/libc_private.h: Ditto.
6633 * libc/sys/linux/include/link.h: Ditto.
6634 * libc/sys/linux/include/namespace.h: Ditto.
6635 * libc/sys/linux/include/netconfig.h: Ditto.
6636 * libc/sys/linux/include/netdb.h: Ditto.
6637 * libc/sys/linux/include/nsswitch.h: Ditto.
6638 * libc/sys/linux/include/regex.h: Ditto.
6639 * libc/sys/linux/include/resolv.h: Ditto.
6640 * libc/sys/linux/include/rune.h: Ditto.
6641 * libc/sys/linux/include/runetype.h: Ditto.
6642 * libc/sys/linux/include/semaphore.h: Ditto.
6643 * libc/sys/linux/include/setlocale.h: Ditto.
6644 * libc/sys/linux/include/un-namespace.h: Ditto.
6645 * libc/sys/linux/include/wordexp.h: Ditto.
6646 * libc/sys/linux/include/arpa/ftp.h: Ditto.
6647 * libc/sys/linux/include/arpa/inet.h: Ditto.
6648 * libc/sys/linux/include/arpa/nameser.h: Ditto.
6649 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
6650 * libc/sys/linux/include/arpa/telnet.h: Ditto.
6651 * libc/sys/linux/include/arpa/tftp.h: Ditto.
6652 * libc/sys/linux/include/net/bpf.h: Ditto.
6653 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
6654 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
6655 * libc/sys/linux/include/net/bridge.h: Ditto.
6656 * libc/sys/linux/include/net/ethernet.h: Ditto.
6657 * libc/sys/linux/include/net/fddi.h: Ditto.
6658 * libc/sys/linux/include/net/if.h: Ditto.
6659 * libc/sys/linux/include/net/if_arc.h: Ditto.
6660 * libc/sys/linux/include/net/if_arp.h: Ditto.
6661 * libc/sys/linux/include/net/if_atm.h: Ditto.
6662 * libc/sys/linux/include/net/if_dl.h: Ditto.
6663 * libc/sys/linux/include/net/if_gif.h: Ditto.
6664 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
6665 * libc/sys/linux/include/net/if_llc.h: Ditto.
6666 * libc/sys/linux/include/net/if_media.h: Ditto.
6667 * libc/sys/linux/include/net/if_mib.h: Ditto.
6668 * libc/sys/linux/include/net/if_ppp.h: Ditto.
6669 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
6670 * libc/sys/linux/include/net/if_slvar.h: Ditto.
6671 * libc/sys/linux/include/net/if_sppp.h: Ditto.
6672 * libc/sys/linux/include/net/if_stf.h: Ditto.
6673 * libc/sys/linux/include/net/if_tap.h: Ditto.
6674 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
6675 * libc/sys/linux/include/net/if_tun.h: Ditto.
6676 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
6677 * libc/sys/linux/include/net/if_types.h: Ditto.
6678 * libc/sys/linux/include/net/if_var.h: Ditto.
6679 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
6680 * libc/sys/linux/include/net/intrq.h: Ditto.
6681 * libc/sys/linux/include/net/iso88025.h: Ditto.
6682 * libc/sys/linux/include/net/net_osdep.h: Ditto.
6683 * libc/sys/linux/include/net/netisr.h: Ditto.
6684 * libc/sys/linux/include/net/pfil.h: Ditto.
6685 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
6686 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
6687 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
6688 * libc/sys/linux/include/net/radix.h: Ditto.
6689 * libc/sys/linux/include/net/raw_cb.h: Ditto.
6690 * libc/sys/linux/include/net/route.h: Ditto.
6691 * libc/sys/linux/include/net/slcompress.h: Ditto.
6692 * libc/sys/linux/include/net/slip.h: Ditto.
6693 * libc/sys/linux/include/net/zlib.h: Ditto.
6694 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
6695 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
6696 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
6697 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
6698 * libc/sys/linux/include/netinet/igmp.h: Ditto.
6699 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
6700 * libc/sys/linux/include/netinet/in.h: Ditto.
6701 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
6702 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
6703 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
6704 * libc/sys/linux/include/netinet/in_var.h: Ditto.
6705 * libc/sys/linux/include/netinet/ip.h: Ditto.
6706 * libc/sys/linux/include/netinet/ip6.h: Ditto.
6707 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
6708 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
6709 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
6710 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
6711 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
6712 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
6713 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
6714 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
6715 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
6716 * libc/sys/linux/include/netinet/tcp.h: Ditto.
6717 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
6718 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
6719 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
6720 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
6721 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
6722 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
6723 * libc/sys/linux/include/netinet/udp.h: Ditto.
6724 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
6725 * libc/sys/linux/include/netinet6/ah.h: Ditto.
6726 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
6727 * libc/sys/linux/include/netinet6/esp.h: Ditto.
6728 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
6729 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
6730 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
6731 * libc/sys/linux/include/netinet6/in6.h: Ditto.
6732 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
6733 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
6734 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
6735 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
6736 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
6737 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
6738 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
6739 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
6740 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
6741 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
6742 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
6743 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
6744 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
6745 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
6746 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
6747 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
6748 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
6749 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
6750 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
6751 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
6752 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
6753 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
6754 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
6755 * libc/sys/linux/include/netns/idp.h: Ditto.
6756 * libc/sys/linux/include/netns/idp_var.h: Ditto.
6757 * libc/sys/linux/include/netns/ns.h: Ditto.
6758 * libc/sys/linux/include/netns/ns_error.h: Ditto.
6759 * libc/sys/linux/include/netns/ns_if.h: Ditto.
6760 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
6761 * libc/sys/linux/include/netns/sp.h: Ditto.
6762 * libc/sys/linux/include/netns/spidp.h: Ditto.
6763 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
6764 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
6765 * libc/sys/linux/include/netns/spp_var.h: Ditto.
6766 * libc/sys/linux/include/rpc/Makefile: Ditto.
6767 * libc/sys/linux/include/rpc/auth.h: Ditto.
6768 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
6769 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
6770 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
6771 * libc/sys/linux/include/rpc/clnt.h: Ditto.
6772 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
6773 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
6774 * libc/sys/linux/include/rpc/des.h: Ditto.
6775 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
6776 * libc/sys/linux/include/rpc/nettype.h: Ditto.
6777 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
6778 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
6779 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
6780 * libc/sys/linux/include/rpc/raw.h: Ditto.
6781 * libc/sys/linux/include/rpc/rpc.h: Ditto.
6782 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
6783 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
6784 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
6785 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
6786 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
6787 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
6788 * libc/sys/linux/include/rpc/svc.h: Ditto.
6789 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
6790 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
6791 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
6792 * libc/sys/linux/include/rpc/types.h: Ditto.
6793 * libc/sys/linux/include/rpc/xdr.h: Ditto.
6794 * libc/sys/linux/intl/Makefile.am: Ditto.
6795 * libc/sys/linux/intl/Makefile.in: Ditto.
6796 * libc/sys/linux/intl/bindtextdom.c: Ditto.
6797 * libc/sys/linux/intl/catgets.c: Ditto.
6798 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
6799 * libc/sys/linux/intl/config.h: Ditto.
6800 * libc/sys/linux/intl/dcgettext.c: Ditto.
6801 * libc/sys/linux/intl/dcigettext.c: Ditto.
6802 * libc/sys/linux/intl/dcngettext.c: Ditto.
6803 * libc/sys/linux/intl/dgettext.c: Ditto.
6804 * libc/sys/linux/intl/dngettext.c: Ditto.
6805 * libc/sys/linux/intl/explodename.c: Ditto.
6806 * libc/sys/linux/intl/finddomain.c: Ditto.
6807 * libc/sys/linux/intl/gettext.c: Ditto.
6808 * libc/sys/linux/intl/gettext.h: Ditto.
6809 * libc/sys/linux/intl/gettextP.h: Ditto.
6810 * libc/sys/linux/intl/hash-string.h: Ditto.
6811 * libc/sys/linux/intl/l10nflist.c: Ditto.
6812 * libc/sys/linux/intl/loadinfo.h: Ditto.
6813 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
6814 * libc/sys/linux/intl/locale.alias: Ditto.
6815 * libc/sys/linux/intl/localealias.c: Ditto.
6816 * libc/sys/linux/intl/ngettext.c: Ditto.
6817 * libc/sys/linux/intl/open_catalog.c: Ditto.
6818 * libc/sys/linux/intl/plural.c: Ditto.
6819 * libc/sys/linux/intl/plural.y: Ditto.
6820 * libc/sys/linux/intl/stpcpy.c: Ditto.
6821 * libc/sys/linux/intl/textdomain.c: Ditto.
6822 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
6823 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
6824 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
6825 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
6826 * libc/sys/linux/linuxthreads/attr.c: Ditto.
6827 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
6828 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
6829 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
6830 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
6831 * libc/sys/linux/linuxthreads/config.h: Ditto.
6832 * libc/sys/linux/linuxthreads/configure: Ditto.
6833 * libc/sys/linux/linuxthreads/configure.in: Ditto.
6834 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
6835 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
6836 * libc/sys/linux/linuxthreads/events.c: Ditto.
6837 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
6838 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
6839 * libc/sys/linux/linuxthreads/internals.h: Ditto.
6840 * libc/sys/linux/linuxthreads/join.c: Ditto.
6841 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
6842 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
6843 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
6844 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
6845 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
6846 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
6847 * libc/sys/linux/linuxthreads/manager.c: Ditto.
6848 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
6849 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
6850 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
6851 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
6852 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
6853 * libc/sys/linux/linuxthreads/prio.c: Ditto.
6854 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
6855 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
6856 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
6857 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
6858 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
6859 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
6860 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
6861 * libc/sys/linux/linuxthreads/queue.h: Ditto.
6862 * libc/sys/linux/linuxthreads/reent.c: Ditto.
6863 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
6864 * libc/sys/linux/linuxthreads/restart.h: Ditto.
6865 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
6866 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
6867 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
6868 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
6869 * libc/sys/linux/linuxthreads/signals.c: Ditto.
6870 * libc/sys/linux/linuxthreads/specific.c: Ditto.
6871 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
6872 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
6873 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
6874 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
6875 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
6876 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
6877 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
6878 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
6879 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
6880 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
6881 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
6882 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
6883 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
6884 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
6885 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
6886 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
6887 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
6888 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
6889 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
6890 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
6891 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
6892 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
6893 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
6894 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
6895 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
6896 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
6897 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
6898 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
6899 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
6900 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
6901 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
6902 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
6903 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
6904 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
6905 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
6906 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
6907 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
6908 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
6909 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
6910 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
6911 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
6912 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
6913 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
6914 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
6915 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
6916 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
6917 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
6918 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
6919 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
6920 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
6921 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
6922 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
6923 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
6924 * libc/sys/linux/linuxthreads/unload.c: Ditto.
6925 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
6926 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
6927 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
6928 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
6929 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
6930 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
6931 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
6932 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
6933 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
6934 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
6935 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
6936 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
6937 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
6938 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
6939 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
6940 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
6941 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
6942 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
6943 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
6944 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
6945 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
6946 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
6947 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
6948 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
6949 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
6950 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
6951 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
6952 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
6953 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
6954 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
6955 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
6956 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
6957 * libc/sys/linux/net/Makefile.am: Ditto.
6958 * libc/sys/linux/net/Makefile.in: Ditto.
6959 * libc/sys/linux/net/addr2ascii.3: Ditto.
6960 * libc/sys/linux/net/addr2ascii.c: Ditto.
6961 * libc/sys/linux/net/ascii2addr.c: Ditto.
6962 * libc/sys/linux/net/base64.c: Ditto.
6963 * libc/sys/linux/net/bindresvport.c: Ditto.
6964 * libc/sys/linux/net/byteorder.3: Ditto.
6965 * libc/sys/linux/net/ether_addr.c: Ditto.
6966 * libc/sys/linux/net/ethers.3: Ditto.
6967 * libc/sys/linux/net/getaddrinfo.3: Ditto.
6968 * libc/sys/linux/net/getaddrinfo.c: Ditto.
6969 * libc/sys/linux/net/gethostbydns.c: Ditto.
6970 * libc/sys/linux/net/gethostbyht.c: Ditto.
6971 * libc/sys/linux/net/gethostbyname.3: Ditto.
6972 * libc/sys/linux/net/gethostbynis.c: Ditto.
6973 * libc/sys/linux/net/gethostnamadr.c: Ditto.
6974 * libc/sys/linux/net/getifaddrs.3: Ditto.
6975 * libc/sys/linux/net/getifaddrs.c: Ditto.
6976 * libc/sys/linux/net/getipnodebyname.3: Ditto.
6977 * libc/sys/linux/net/getnameinfo.3: Ditto.
6978 * libc/sys/linux/net/getnameinfo.c: Ditto.
6979 * libc/sys/linux/net/getnetbydns.c: Ditto.
6980 * libc/sys/linux/net/getnetbyht.c: Ditto.
6981 * libc/sys/linux/net/getnetbynis.c: Ditto.
6982 * libc/sys/linux/net/getnetent.3: Ditto.
6983 * libc/sys/linux/net/getnetnamadr.c: Ditto.
6984 * libc/sys/linux/net/getproto.c: Ditto.
6985 * libc/sys/linux/net/getprotoent.3: Ditto.
6986 * libc/sys/linux/net/getprotoent.c: Ditto.
6987 * libc/sys/linux/net/getprotoname.c: Ditto.
6988 * libc/sys/linux/net/getservbyname.c: Ditto.
6989 * libc/sys/linux/net/getservbyport.c: Ditto.
6990 * libc/sys/linux/net/getservent.3: Ditto.
6991 * libc/sys/linux/net/getservent.c: Ditto.
6992 * libc/sys/linux/net/herror.c: Ditto.
6993 * libc/sys/linux/net/hesiod.3: Ditto.
6994 * libc/sys/linux/net/hesiod.c: Ditto.
6995 * libc/sys/linux/net/if_indextoname.3: Ditto.
6996 * libc/sys/linux/net/ifname.c: Ditto.
6997 * libc/sys/linux/net/inet.3: Ditto.
6998 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
6999 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
7000 * libc/sys/linux/net/inet_addr.c: Ditto.
7001 * libc/sys/linux/net/inet_lnaof.c: Ditto.
7002 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
7003 * libc/sys/linux/net/inet_net.3: Ditto.
7004 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
7005 * libc/sys/linux/net/inet_net_pton.c: Ditto.
7006 * libc/sys/linux/net/inet_neta.c: Ditto.
7007 * libc/sys/linux/net/inet_netof.c: Ditto.
7008 * libc/sys/linux/net/inet_network.c: Ditto.
7009 * libc/sys/linux/net/inet_ntoa.c: Ditto.
7010 * libc/sys/linux/net/inet_ntop.c: Ditto.
7011 * libc/sys/linux/net/inet_pton.c: Ditto.
7012 * libc/sys/linux/net/innetgr-stub.c: Ditto.
7013 * libc/sys/linux/net/ip6opt.c: Ditto.
7014 * libc/sys/linux/net/iso_addr.3: Ditto.
7015 * libc/sys/linux/net/iso_addr.c: Ditto.
7016 * libc/sys/linux/net/issetugid-stub.c: Ditto.
7017 * libc/sys/linux/net/linkaddr.3: Ditto.
7018 * libc/sys/linux/net/linkaddr.c: Ditto.
7019 * libc/sys/linux/net/map_v4v6.c: Ditto.
7020 * libc/sys/linux/net/name6.c: Ditto.
7021 * libc/sys/linux/net/namespace.h: Ditto.
7022 * libc/sys/linux/net/ns.3: Ditto.
7023 * libc/sys/linux/net/ns_addr.c: Ditto.
7024 * libc/sys/linux/net/ns_name.c: Ditto.
7025 * libc/sys/linux/net/ns_netint.c: Ditto.
7026 * libc/sys/linux/net/ns_ntoa.c: Ditto.
7027 * libc/sys/linux/net/ns_parse.c: Ditto.
7028 * libc/sys/linux/net/ns_print.c: Ditto.
7029 * libc/sys/linux/net/ns_ttl.c: Ditto.
7030 * libc/sys/linux/net/nsap_addr.c: Ditto.
7031 * libc/sys/linux/net/nsdispatch.3: Ditto.
7032 * libc/sys/linux/net/nsdispatch.c: Ditto.
7033 * libc/sys/linux/net/nslexer.c: Ditto.
7034 * libc/sys/linux/net/nslexer.l: Ditto.
7035 * libc/sys/linux/net/nsparser.c: Ditto.
7036 * libc/sys/linux/net/nsparser.h: Ditto.
7037 * libc/sys/linux/net/nsparser.y: Ditto.
7038 * libc/sys/linux/net/rcmd.3: Ditto.
7039 * libc/sys/linux/net/rcmd.c: Ditto.
7040 * libc/sys/linux/net/rcmdsh.3: Ditto.
7041 * libc/sys/linux/net/rcmdsh.c: Ditto.
7042 * libc/sys/linux/net/recv.c: Ditto.
7043 * libc/sys/linux/net/res_comp.c: Ditto.
7044 * libc/sys/linux/net/res_config.h: Ditto.
7045 * libc/sys/linux/net/res_data.c: Ditto.
7046 * libc/sys/linux/net/res_debug.c: Ditto.
7047 * libc/sys/linux/net/res_init.c: Ditto.
7048 * libc/sys/linux/net/res_mkquery.c: Ditto.
7049 * libc/sys/linux/net/res_mkupdate.c: Ditto.
7050 * libc/sys/linux/net/res_query.c: Ditto.
7051 * libc/sys/linux/net/res_send.c: Ditto.
7052 * libc/sys/linux/net/res_update.c: Ditto.
7053 * libc/sys/linux/net/resolver.3: Ditto.
7054 * libc/sys/linux/net/rthdr.c: Ditto.
7055 * libc/sys/linux/net/send.c: Ditto.
7056 * libc/sys/linux/net/un-namespace.h: Ditto.
7057 * libc/sys/linux/net/vars.c: Ditto.
7058 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
7059 * libc/sys/linux/stdlib/Makefile.am: Ditto.
7060 * libc/sys/linux/stdlib/Makefile.in: Ditto.
7061 * libc/sys/linux/stdlib/cclass.h: Ditto.
7062 * libc/sys/linux/stdlib/cname.h: Ditto.
7063 * libc/sys/linux/stdlib/collate.c: Ditto.
7064 * libc/sys/linux/stdlib/collate.h: Ditto.
7065 * libc/sys/linux/stdlib/collcmp.c: Ditto.
7066 * libc/sys/linux/stdlib/engine.c: Ditto.
7067 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
7068 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
7069 * libc/sys/linux/stdlib/glob.3: Ditto.
7070 * libc/sys/linux/stdlib/glob.c: Ditto.
7071 * libc/sys/linux/stdlib/reallocf.c: Ditto.
7072 * libc/sys/linux/stdlib/regcomp.c: Ditto.
7073 * libc/sys/linux/stdlib/regerror.c: Ditto.
7074 * libc/sys/linux/stdlib/regex.3: Ditto.
7075 * libc/sys/linux/stdlib/regex2.h: Ditto.
7076 * libc/sys/linux/stdlib/regexec.c: Ditto.
7077 * libc/sys/linux/stdlib/regfree.c: Ditto.
7078 * libc/sys/linux/stdlib/utils.h: Ditto.
7079 * libc/sys/linux/stdlib/wordexp.c: Ditto.
7080 * libc/sys/linux/stdlib/wordfree.c: Ditto.
7081 * libc/sys/linux/sys/dlfcn.h: Ditto.
7082 * libc/sys/linux/sys/elfclass.h: Ditto.
7083 * libc/sys/linux/sys/event.h: Ditto.
7084 * libc/sys/linux/sys/ioccom.h: Ditto.
7085 * libc/sys/linux/sys/libc-tsd.h: Ditto.
7086 * libc/sys/linux/sys/link.h: Ditto.
7087 * libc/sys/linux/sys/lock.h: Ditto.
7088 * libc/sys/linux/sys/param.h: Ditto.
7089 * libc/sys/linux/sys/socket.h: Ditto.
7090 * libc/sys/linux/sys/sockio.h: Ditto.
7091
17c0c97d 70922003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
82095e79 7093
17c0c97d 7094 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
82095e79
JJ
7095 normal mode
7096 * newlib/libc/machine/h8300/memset.S: Likewise
7097 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
7098 * newlib/lib/machine/h8300/reg_memset.S: Likewise
7099 * newlib/lib/machine/h8300/setjmp.S: Likewise
7100 * newlib/lib/machine/h8300/strcmp.S: Likewise
7101 * newlib/lib/sys/h8300hms/crt0.S: Likewise
7102
8a4b4764
CV
71032003-05-13 Corinna Vinschen <corinna@vinschen.de>
7104
7105 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
7106 * libc/include/stdio.h: Ditto.
7107 * libc/include/sys/config.h: Ditto.
7108 * libc/stdio/mktemp.c: Ditto.
7109
837e070f
CV
71102003-05-13 Corinna Vinschen <corinna@vinschen.de>
7111
7112 * libc/locale/ldpart.c (__part_load_locale): Substitute
7113 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
7114 * libc/search/hash.c (__hash_open): Ditto.
7115 (init_hash): Ditto.
7116 * libc/stdio/fseek.c (fseek): Ditto.
7117 * libc/stdio/makebuf.c (__smakebuf): Ditto.
7118 * libc/stdio/mktemp.c (_gettemp): Ditto.
7119
b47fcdf0
CV
71202003-05-12 Corinna Vinschen <corinna@vinschen.de>
7121
7122 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
7123
11e3a520
CV
71242003-05-12 Corinna Vinschen <corinna@vinschen.de>
7125
7126 * configure.host: Accomodate removing the libc/sys/cygwin dir.
7127 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
7128 if __CYGWIN_USE_BIG_TYPES__ is set.
7129 * libc/search/hash.c (__hash_open): Ditto.
7130 (init_hash): Ditto.
7131 * libc/stdio/fseek.c (fseek): Ditto.
7132 * libc/stdio/makebuf.c (__smakebuf): Ditto.
7133 * libc/stdio/mktemp.c (_gettemp): Ditto.
7134 * libc/sys/cygwin/Makefile.am: Remove.
7135 * libc/sys/cygwin/Makefile.in: Remove.
7136 * libc/sys/cygwin/aclocal.m4: Remove.
7137 * libc/sys/cygwin/configure: Remove.
7138 * libc/sys/cygwin/configure.in: Remove.
7139 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
7140 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
7141 directory.
7142 * libc/sys/cygwin/sys/param.h: Ditto.
7143 * libc/sys/cygwin/sys/utime.h: Ditto.
7144 * libc/sys/cygwin/sys/utmp.h: Ditto.
7145
d1b5e65b
CV
71462003-05-11 Corinna Vinschen <corinna@vinschen.de>
7147
7148 * libc/include/sys/types.h: Don't define key_t for Cygwin.
7149
ec48a953
CF
71502003-05-10 Christopher Faylor <cgf@redhat.com>
7151
7152 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
7153 64 bit inodes.
7154
a3cc5851
CV
71552003-05-09 Corinna Vinschen <corinna@vinschen.de>
7156
7157 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
7158 Include cygwin/config.h instead.
7159
57ff95d3
JJ
71602003-04-16 Jeff Johnston <jjohnstn@redhat.com>
7161
7162 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
7163 all code with #ifdef __SPE__ test.
7164 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
7165
cfd2c7be
CF
71662003-04-15 Chris January <chris@atomice.net>
7167
7168 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
7169 Cygwin.
7170
6f48c0ae
JR
71712003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
7172
7173 * libc/machine/sh/memset.S: Avoid clobbering volatile
7174 objects following a tiny to-be-set array in the same quadword.
7175
8f8d09c0
CV
71762001-04-09 Corinna Vinschen <corinna@vinschen.de>
7177
17c0c97d 7178 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
8f8d09c0
CV
7179 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
7180 * libc/string/Makefile.in: Regenerated.
7181 * libc/string/wcswidth.c: New file.
7182 * libc/string/wcwidth.c: New file.
7183 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
7184
40c3b2d0
JR
7185Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
7186
7187 * libc/machine/sh/memset.S: Fix problem with alloco region
7188 exceeding destination region for length >= 88 bytes, start
7189 & 0x16 == 0, end & 0x1f == 18.
7190
8ae6a3dd
CV
71912001-04-03 Corinna Vinschen <corinna@vinschen.de>
7192
7193 * libc/string/wcscoll.c: Fix comment.
7194
d122b1cc
CV
71952001-04-02 Corinna Vinschen <corinna@vinschen.de>
7196
7197 * libc/include/wchar.h: Add definition for wcscoll.
7198 * libc/string/Makefile.am: Add wcscoll.c.
7199 * libc/string/Makefile.in: Regenerated.
7200 * libc/string/wcscoll.c: New file.
17c0c97d 7201 * libc/string/wcstrings.tex: Add wcscoll.
d122b1cc 7202
31ee99a4
CV
72032003-04-01 Corinna Vinschen <corinna@vinschen.de>
7204
7205 * libc/stdio/sscanf.c: Update flags description.
7206 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
7207 type.
7208 (__svfscanf_r): Add 'hh' and 'll' handling.
7209
d78045ee
CV
72102003-04-01 Corinna Vinschen <corinna@vinschen.de>
7211
7212 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
7213 __d_position member to _off_t.
7214
e6bdc6c5
JJ
72152003-03-20 Jeff Johnston <jjohnstn@redhat.com>
7216
7217 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
7218 count all characters used to create number against maximum width.
7219 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
7220
e65d559e
JJ
72212003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
7222
7223 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
7224 support.
7225 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
7226 flag to support simulator only extensions.
7227
6b3bb52b
JJ
72282003-03-17 Bob Cassels <bcassels@abinitio.com>
7229
ba3ccd63 7230 * libc/string/wcschr.c: (wcschr): Look for character first,
6b3bb52b
JJ
7231 then for end of string, so you can do wcschr(x, '\0').
7232
17c0c97d 72332003-03-10 Corinna Vinschen <corinna@vinschen.de>
2a940c1a
CV
7234
7235 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
7236 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
7237 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
7238 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
7239 * libc/stdio/fseeko.c (fseeko): Ditto.
7240 * libc/stdio/ftello.c (ftello): Ditto.
7241 * libc/stdio/stdio.c (__swrite): Ditto.
7242 (__sseek): Ditto.
7243 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
7244 * libc/stdio/fseek.c (fseek): Ditto.
7245 * libc/stdio/fsetpos.c (fsetpos): Ditto.
7246 * libc/stdio/ftell.c (ftell): Ditto.
7247 * libc/stdio/local.h: Declare __sseek using _off_t.
7248
150c2818
CV
72492003-03-09 Corinna Vinschen <corinna@vinschen.de>
7250
7251 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
7252
2c440f9c
CV
72532003-03-09 Corinna Vinschen <corinna@vinschen.de>
7254
7255 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
7256 Cygwin.
7257
f882fd15
CV
72582003-03-09 Corinna Vinschen <corinna@vinschen.de>
7259
7260 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
7261 Cygwin.
7262 * libc/include/sys/stat.h: Ditto.
7263 * libc/include/sys/unistd.h: Ditto.
7264 * libc/sys/cygwin/sys/dirent.h: Ditto.
7265
01d61543
CF
72662003-03-07 Christopher Faylor <cgf@redhat.com>
7267
7268 * libc/include/sys/unistd.h: Guard getopt.h call to force only
7269 declaration of getopt and avoid getopt_long declaration.
7270 * libc/sys/cygwin/include/unistd.h: Remove.
7271
5582abd2
CV
72722003-03-07 Corinna Vinschen <corinna@vinschen.de>
7273
7274 * configure.host: Define stdio64_dir for Cygwin.
7275 * libc/include/stdio.h: Change definition of fpos_t to fulfill
7276 Cygwin 64bit file access requirements.
7277 Drop definition of f*64() functions when compiled for Cygwin.
7278 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
7279 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
7280 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
7281
641da1eb
JJ
72822003-03-07 Jeff Johnston <jjohnstn@redhat.com>
7283
7284 * libc/include/sys/reent.h: Remove extraneous _sig_func
7285 declaration.
7286
72872003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
41a639de
JJ
7288
7289 * libc/sys/h8300hms/Makefile.am: Add support for new files.
7290 * libc/sys/h8300hms/Makefile.in: Regenerated.
7291 * libc/sys/h8300hms/close.S: New file.
7292 * libc/sys/h8300hms/fstat.S: Ditto.
7293 * libc/sys/h8300hms/lseek.S: Ditto.
7294 * libc/sys/h8300hms/open.S: Ditto.
7295 * libc/sys/h8300hms/stat.S: Ditto.
7296 * libc/sys/h8300hms/read.S: New file to replace read.c.
7297 * libc/sys/h8300hms/read.c: Removed.
7298 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
7299 _lseek, _close, _stat, _fstat.
7300 * libc/sys/h8300hms/write.S: New file to replace write.c.
7301 * libc/sys/h8300hms/write.c: Removed.
7302
bac50d6b
NC
73032003-02-20 Nick Clifton <nickc@redhat.com>
7304
7305 * Add support for Cirrus Maverick ARM co-processor:
17c0c97d 7306
bac50d6b
NC
7307 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
7308
7309 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
7310 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
7311
7312 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
7313
7314 * configure.host: set sys_dir, syscall_dir, and
7315 newlib_cflags for ep9312 host.
7316
ba3ccd63 7317 * configure.host: Restore alpha sorting of entries in case
bac50d6b
NC
7318 statements.
7319
12ee7037
JJ
73202003-02-19 Jeff Johnston <jjohnstn@redhat.com>
7321
ba3ccd63 7322 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
12ee7037 7323
1e810ba0
JJ
73242003-02-18 Christian Groessler <chris@groessler.org>
7325
7326 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
7327 support z8001 segmented mode.
7328
b1ca765e
JJ
73292003-02-18 Earnie Boyd <earnie@users.sf.net>
7330
7331 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
7332 with a NULL value.
7333
51a46b54
CF
73342003-02-10 Christopher Faylor <cgf@redhat.com>
7335
7336 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
7337 Don't define some types under cygwin.
7338
313f1349
JJ
73392003-02-07 Jeff Johnston <jjohnstn@redhat.com>
7340
17c0c97d 7341 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
313f1349
JJ
7342 option to allow disabling of syscalls being supplied in newlib.
7343 * aclocal.m4: Regenerated.
7344 * configure: Ditto.
7345 * configure.host: Add support of new configuration option and add
7346 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
7347 * doc/aclocal.m4: Regenerated.
7348 * doc/configure: Ditto.
7349 * libc/*aclocal.m4: Ditto.
7350 * libc/*configure: Ditto.
7351 * libm/*aclocal.m4: Ditto.
7352 * libm/*configure: Ditto.
7353 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
7354 is disabled.
7355 * libc/sys/arm/Makefile.in: Regenerated.
7356
5017a3da
JJ
73572003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
7358
7359 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
7360 -1 to be sure it cannot later match a valid file fd causing
7361 isatty() to return 1.
7362 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
7363 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
7364 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
7365
ad36f7d1
JJ
73662003-02-03 Jeff Johnston <jjohnstn@redhat.com>
7367
7368 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
17c0c97d
EB
7369 buffer based on the precision, after we have processed the input value
7370 in a local buffer and know its relative magnitude.
ad36f7d1 7371
a74181ee
JJ
73722003-01-31 Michael Snyder <msnyder@redhat.com>
7373
7374 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
7375 into registers r1 and r2, so that the simulator can distinguish
7376 this trap from a breakpoint trap. Copied from libgloss.
7377
b85498d4
JJ
73782003-01-31 Michael Snyder <msnyder@redhat.com>
7379
7380 * libc/sys/h8300hms/crt0.S (_start): Change local label
7381 from .loop to .Loop, so that ld and gdb will ignore it.
7382
4700b829
JJ
73832003-01-29 Jason Tishler <jason@tishler.net>
7384
7385 * libc/include/time.h: Declare nanosleep() under Cygwin.
7386
0127ae40
NC
73872003-01-24 Nick Clifton <nickc@redhat.com>
7388
7389 * Add sh2e support:
7390
7391 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
7392
7393 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
7394 * libc/machine/sh/setjmp.S: Likewise.
7395 * libc/include/machine/ieeefp.h: Likewise.
7396
8bbcd9a1
CV
73972003-01-24 Corinna Vinschen <corinna@vinschen.de>
7398
7399 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
7400 for Cygwin.
7401
b8838e6f 74022003-01-21 Anita Kulkarni <anitak@kpit.com>
17c0c97d 7403
b8838e6f
JJ
7404 * libc/time/difftime.c : Typecast the result to double.
7405
f9e41155
CF
74062003-01-20 Christopher Faylor <cgf@redhat.com>
7407
7408 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
7409
6b5a7988
NC
74102003-01-18 Nick Clifton <nickc@redhat.com>
7411
7412 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
7413 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
7414
c3e92877
JJ
74152003-01-16 Joel Sherrill <joel@OARcorp.com>
7416
ba3ccd63
EB
7417 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
7418 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
7419 constants are defined in each file in the shared versions in
7420 libc/include.
7421 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
7422 autoconf can link programs.
7423 * libc/include/machine/types.h: Explicitly specify signed on
7424 intXX_t types to ensure they are signed.
c3e92877 7425
84510217
CF
74262003-01-14 Christopher Faylor <cgf@redhat.com>
7427
7428 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
7429 extensions.
7430
b3934ab3
RS
74312003-01-08 Richard Sandiford <rsandifo@redhat.com>
7432
7433 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
7434
be9c60e5
JJ
74352003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
7436
7437 * libc/stdio/sprintf.c: fix typo
7438 * libc/stdio/vfprintf.c: fix typo
7439
d4c3a750
JJ
74402003-01-07 Jeff Johnston <jjohnstn@redhat.com>
7441
7442 * configure.host: Support long double I/O for x86-linux.
7443 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
7444 large enough to hold formatted result.
7445 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
7446
b2294aaa
JJ
74472003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
7448
7449 * Makefile.am: Add vasprintf.
7450 * Makefile.in: Regenerated.
7451
ea5e5daf
JJ
74522003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
7453
7454 * asprintf.c (_asprintf_r): insure both declarations
7455 are the same.
7456
5c581eca
CF
74572002-12-28 Christopher Faylor <cgf@redhat.com>
7458
7459 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
7460 than defining getopt directly.
7461
60b0838f
JJ
74622002-12-20 Jeff Johnston <jjohnstn@redhat.com>
7463
7464 * NEWS: Update with 1.11.0 info.
7465 * README: Ditto.
7466 * acinclude.m4: Change version number to 1.11.0.
7467 * aclocal.m4: Regenerated.
7468 * configure: Ditto.
7469 * doc/aclocal.m4: Ditto.
7470 * doc/configure: Ditto.
7471 * libc/*/aclocal.m4: Ditto.
7472 * libc/*/configure: Ditto.
7473 * libc/libc.texinfo: Ditto.
7474 * libm/*/aclocal.m4: Ditto.
7475 * libm/*/configure: Ditto.
7476 * libm/libm.texinfo: Ditto.
7477 * libc/sys/linux/shared.ld: Add VERS_1.11.
7478
10501d57
JJ
74792002-12-20 Jeff Johnston <jjohnstn@redhat.com>
7480
7481 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
7482 Solutions to Red Hat Inc.
7483 * libc/machine/i386/f_atan2f.S: Ditto.
7484 * libc/machine/i386/f_exp.c: Ditto.
7485 * libc/machine/i386/f_expf.c: Ditto.
7486 * libc/machine/i386/f_frexp.S: Ditto.
7487 * libc/machine/i386/f_frexpf.S: Ditto.
7488 * libc/machine/i386/f_ldexp.S: Ditto.
7489 * libc/machine/i386/f_ldexpf.S: Ditto.
7490 * libc/machine/i386/f_log.S: Ditto.
7491 * libc/machine/i386/f_log10.S: Ditto.
7492 * libc/machine/i386/f_log10f.S: Ditto.
7493 * libc/machine/i386/f_logf.S: Ditto.
7494 * libc/machine/i386/f_pow.c: Ditto.
7495 * libc/machine/i386/f_powf.c: Ditto.
7496 * libc/machine/i386/f_tan.S: Ditto.
7497 * libc/machine/i386/f_tanf.S: Ditto.
7498 * libc/machine/i386/memchr.S: Ditto.
7499 * libc/machine/i386/memcmp.S: Ditto.
7500 * libc/machine/i386/memcpy.S: Ditto.
7501 * libc/machine/i386/memmove.S: Ditto.
7502 * libc/machine/i386/memset.S: Ditto.
7503 * libc/machine/i386/strchr.S: Ditto.
7504 * libc/machine/i386/strlen.S: Ditto.
7505 * libm/machine/i386/f_atan2.S: Ditto.
7506 * libm/machine/i386/f_atan2f.S: Ditto.
7507 * libm/machine/i386/f_exp.c: Ditto.
7508 * libm/machine/i386/f_expf.c: Ditto.
7509 * libm/machine/i386/f_frexp.S: Ditto.
7510 * libm/machine/i386/f_frexpf.S: Ditto.
7511 * libm/machine/i386/f_ldexp.S: Ditto.
7512 * libm/machine/i386/f_ldexpf.S: Ditto.
7513 * libm/machine/i386/f_log.S: Ditto.
7514 * libm/machine/i386/f_log10.S: Ditto.
7515 * libm/machine/i386/f_log10f.S: Ditto.
7516 * libm/machine/i386/f_logf.S: Ditto.
7517 * libm/machine/i386/f_pow.c: Ditto.
7518 * libm/machine/i386/f_powf.c: Ditto.
7519 * libm/machine/i386/f_tan.S: Ditto.
7520 * libm/machine/i386/f_tanf.S: Ditto.
7521
9b3f0d16
JJ
75222002-12-20 Jeff Johnston <jjohnstn@redhat.com>
7523
7524 * libc/stdlib/environ.c: Update license to Red Hat.
7525 * libc/machine/hppa/setjmp.S: Ditto.
7526 * libm/test/Makefile.in: Ditto.
7527
d693ad84
JJ
75282002-12-19 Jeff Johnston <jjohnstn@redhat.com>
7529
7530 * configure.host: Remove references to go32.
7531 * libc/sys/go32/*: Removed.
7532
7da92d15
JJ
75332002-12-16 Kazu Hirata <kazu@cs.umass.edu>
7534
7535 * libc/include/sys/config.h: Change setting of INT_MAX
7536 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
7537 __H8300S__. Also consolidate flag settings for these
7538 platforms.
7539
ea01c7f5
JJ
75402002-12-10 Joel Sherrill <joel@OARcorp.com>
7541
7542 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
7543 for i386-rtems targets.
7544
c049dd5a
JJ
75452002-12-06 Jeff Johnston <jjohnstn@redhat.com>
7546
7547 * libc/include/stdlib.h (strtof): New prototype (from C99).
7548 (strtodf): Changed from prototype to macro which redefines
7549 to strtof.
7550 * libc/stdlib/atof.c: Change documentation to refer to strtof
7551 instead of strtodf.
7552 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
7553 strtodf.
7554 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
7555 (strtof): New function.
7556 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
7557 calls strtof.
7558
46a402e0
CF
75592002-11-27 Christopher Faylor <cgf@redhat.com>
7560
7561 * libc/string/memset.c (memset): Fix comment.
7562
b3cc01b0
CF
75632002-11-26 Christopher Faylor <cgf@redhat.com>
7564
7565 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
7566 function.
7567
d90f3dc1
CF
75682002-11-25 Christopher Faylor <cgf@redhat.com>
7569
7570 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
7571 variable, introduced below, everywhere.
7572
f24585c6
KH
75732002-11-25 Kazu Hirata <kazu@cs.umass.edu>
7574
7575 * libc/string/memset.c (memset): Make it safe even if
7576 sizeof (int) = 2.
7577
2955fd76
JJ
75782002-11-22 Joe Buehler <jbuehler@hekimian.com>
7579
7580 * configure.in: Change check for libc/include in ${CC} to
7581 use an intermediate value so as to work with different shells.
7582 * configure: Regenerated.
7583 * Makefile.in: Ditto.
7584
40ce7368
JJ
75852002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
7586
7587 * libc/sys/h8300hms/read.c: Add support for normal mode
7588 architecture.
7589
505746ad
JJ
75902002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
7591
7592 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
7593 code for __H8300H__ and __H8300S__. Also return 32-bit return code
7594 when -mint32 is used.
7595
28ecb2f5
NC
75962002-11-18 Nick Clifton <nickc@redhat.com>
7597
7598 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
7599
665b994e
JJ
76002002-11-14 Jeff Johnston <jjohnstn@redhat.com>
7601
ba3ccd63
EB
7602 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
7603 only issue one pass/fail message for a compile/link/execute.
7604 * testsuite/newlib.elix/elix.exp: New file.
7605 * testsuite/newlib.elix/tmmap.c: Ditto.
665b994e 7606
e91ec2e3
CF
76072002-11-06 Christopher Faylor <cgf@redhat.com>
7608
7609 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
7610 * libc/stdlib/mlock.c: Ditto.
7611 * libc/stdlib/msize.c: Ditto.
7612 * libc/stdlib/msize.c: Ditto.
7613 * libc/stdlib/mtrim.c: Ditto.
7614 * libc/stdlib/valloc.c: Ditto.
7615
944772c7
JJ
76162002-11-12 Jeff Johnston <jjohnstn@redhat.com>
7617
ba3ccd63
EB
7618 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
7619 for inf/nan, make sure that the check ignores the sign bit.
944772c7 7620
dd7ee147
JJ
76212002-11-07 Joel Sherrill <joel@OARcorp.com>
7622
ba3ccd63
EB
7623 * libc/sys/rtems/machine: New directory.
7624 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
7625 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
7626 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
7627 targets more BSD like when installed without requiring files to
7628 be overwritten at install point when RTEMS itself is installed.
7629 * Makefile.am: Pick up system dependent machine .h files such as
7630 might be found on a BSD-ish system.
7631 * Makefile.in: Regenerate.
7632 * libc/include/machine/types.h: When on an RTEMS target, define a
7633 few BSD flavor types.
dd7ee147
JJ
7634
76352002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
503430d8
CF
7636
7637 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
7638
18cd62b7
JJ
76392002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7640
ba3ccd63
EB
7641 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
7642 * libc/include/wctype.h: Ditto.
18cd62b7 7643
d2888812
JJ
76442002-11-04 Jeff Johnston <jjohnstn@redhat.com>
7645
ba3ccd63
EB
7646 * libc/include/wchar.h: Add extern "C" specifier if C++.
7647 * libc/include/wctype.h: Ditto.
d2888812 7648
978ea3cf
JJ
76492002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7650
ba3ccd63
EB
7651 * testsuite/newlib.wctype/tiswctype.c: New test case.
7652 * testsuite/newlib.wctype/twctrans.c: Ditto.
978ea3cf 7653
a42cf80a
JJ
76542002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7655
ba3ccd63
EB
7656 * libc/sys/linux/machine/i386/include/endian.h: New file.
7657 * libc/sys/linux/machine/i386/include/param.h: Ditto.
a42cf80a 7658
c9ccb1f2
JJ
76592002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7660
7661 * libm/machine/i386/aclocal.m4: Regenerated.
7662 * libm/machine/i386/configure: Ditto.
7663
94c5b430
JJ
76642002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7665
ba3ccd63
EB
7666 * testsuite/include/check.h: New header file to use with
7667 test cases.
7668 * testsuite/lib/newlib.exp: Add testsuite/include directory
7669 to list of header files to use.
7670 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
7671 * testsuite/newlib.wctype/wctype.exp: New file.
94c5b430 7672
ccdae543
RS
76732002-10-11 Graham Stott <graham.stott@btinternet.com>
7674 Richard Sandiford <rsandifo@redhat.com>
f770cf44
RS
7675
7676 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
7677 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
7678 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
7679
73972116
JS
76802002-10-07 Joel Sherrill <joel@OARcorp.com>
7681
7682 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
7683 dummy programs.
7684
89e3fcba
JS
76852002-10-07 Joel Sherrill <joel@OARcorp.com>
7686
7687 * libc/include/pthread.h: Define PTHREAD_CANCELED.
7688
54ec52e4
JS
76892002-10-07 Joel Sherrill <joel@OARcorp.com>
7690
7691 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
7692 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
7693 compile with current GNU tools.
7694
d389acba
JJ
76952002-10-07 Jeff Johnston <jjohnstn@redhat.com>
7696
7697 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
7698 the build library.
7699 * configure.in: Ditto.
7700 * Makefile.in: Regenerated.
7701 * configure: Ditto.
7702 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
7703 for specifying configured libraries/directories.
7704 * libc/sys/linux/configure.in: Ditto.
7705 * libc/sys/linux/Makefile.in: Regenerated.
7706 * libc/sys/linux/configure: Ditto.
7707
af5a221f
JJ
77082002-10-03 Jeff Johnston <jjohnstn@redhat.com>
7709
7710 * libc/include/reent.h: Update documentation at start of file.
7711
59a758bd
JW
77122002-09-27 Jim Wilson <wilson@redhat.com>
7713
7714 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
7715 the ctbp register.
7716
1ed3c86d
JJ
77172002-09-27 Jeff Johnston <jjohnstn@redhat.com>
7718
7719 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
7720 Also convert to EUCJP before using arrays. For values not in
7721 the conversion arrays, return WEOF.
7722 * libc/ctype/jp2uc.h: Change from one array to a number of
7723 arrays to account for the fact that the originating table
7724 is not contiguous for the input values since some are invalid.
7725
6e1dfd2d
JJ
77262002-09-24 Jeff Johnston <jjohnstn@redhat.com>
7727
7728 * libc/time/ctime.c: Fix prototype documentation.
7729
06f1353a
CV
77302002-09-24 Corinna Vinschen <corinna@vinschen.de>
7731
7732 * libc/include/sys/errno.h: Add EOVERFLOW.
7733
1e0e64c9
JJ
77342002-09-20 Jeff Johnston <jjohnstn@redhat.com>
7735
7736 * libc/include/wctype.h: New file.
7737
1525d127
JJ
77382002-09-20 Jeff Johnston <jjohnstn@redhat.com>
7739
ba3ccd63
EB
7740 * libc/ctype/Makefile.am: Add new files.
7741 * libc/ctype/Makefile.in: Regenerated.
7742 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
7743 and wctrans functions to documentation index.
7744 * libc/ctype/iswalnum.c: New file.
7745 * libc/ctype/iswalpha.c: Ditto.
7746 * libc/ctype/iswblank.c: Ditto.
7747 * libc/ctype/iswcntrl.c: Ditto.
7748 * libc/ctype/iswctype.c: Ditto.
7749 * libc/ctype/iswdigit.c: Ditto.
7750 * libc/ctype/iswgraph.c: Ditto.
7751 * libc/ctype/iswlower.c: Ditto.
7752 * libc/ctype/iswprint.c: Ditto.
7753 * libc/ctype/iswpunct.c: Ditto.
7754 * libc/ctype/iswspace.c: Ditto.
7755 * libc/ctype/iswupper.c: Ditto.
7756 * libc/ctype/iswxdigit.c: Ditto.
7757 * libc/ctype/jp2uc.c: Ditto.
7758 * libc/ctype/jp2uc.h: Ditto.
7759 * libc/ctype/local.h: Ditto.
7760 * libc/ctype/towctrans.c: Ditto.
7761 * libc/ctype/towlower.c: Ditto.
7762 * libc/ctype/towupper.c: Ditto.
7763 * libc/ctype/utf8alpha.h: Ditto.
7764 * libc/ctype/utf8print.h: Ditto.
7765 * libc/ctype/utf8punct.h: Ditto.
7766 * libc/ctype/wctrans.c: Ditto.
7767 * libc/ctype/wctype.c: Ditto.
7768 * libc/locale/locale.c (__lc_ctype): New external array to
7769 replace static lc_ctype array.
7770 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
7771 rather than reentrancy structure's _current_locale field.
7772 * libc/stdlib/wctomb_r.c: Ditto.
1525d127 7773
da25e61f
JJ
77742002-09-20 Jeff Johnston <jjohnstn@redhat.com>
7775
7776 * configure.host: Minor comment and formatting changes.
7777 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
7778 * libc/Makefile.in: Regenerated.
7779 * libc/include/sys/config.h: Minor format change.
7780
5b9ee539
JJ
77812002-09-19 Jeff Johnston <jjohnstn@redhat.com>
7782
7783 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
7784 statement comment.
7785
50558bf3
JJ
77862002-09-19 Jeff Johnston <jjohnstn@redhat.com>
7787
7788 * libc/posix/opendir.c (opendir): Change code to check
7789 for HAVE_FCNTL before calling fcntl.
7790 * libc/search/hash.c (hash_open): Ditto.
7791 * libc/search/hash_page.c (open_tmp): Ditto.
7792 * libc/reent/Makefile.am: Add fcntlr.c.
7793 * libc/reent/Makefile.in: Regenerated.
7794 * libc/reent/fcntlr.c: New file.
7795 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
7796 instead of _fcntl when HAVE_FCNTL flag is set.
7797 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
7798 to see if _fcntl or _fcntl_r should be called. If flag is not
7799 set, default to ENOSYS stub.
7800
9211a1ad
JJ
78012002-09-16 Jeff Johnston <jjohnstn@redhat.com>
7802
7803 * libc/include/wchar.h (mbstate_t): Change protective flag to
7804 be _MBSTATE_T.
7805 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
7806 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
7807 for Cygwin.
7808 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
7809
a8615092
JJ
78102002-09-11 Jeff Johnston <jjohnstn@redhat.com>
7811
ba3ccd63
EB
7812 * acinclude.m4 (enable-newlib-mb): Change check to
7813 default newlib_mb variable to empty string rather than "no".
7814 * configure.host: Remove hard-coding of -DMB_CAPABLE for
7815 x86-linux and Cygwin. Add code to check for newlib_mb
7816 being unset in which case set to "yes" for x86-linux and
7817 Cygwin. Change check for newlib_mb being "yes" to allow
7818 for an empty string.
7819 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
7820 * newlib.hin (_MB_LEN_MAX): New define to configure.
7821 * aclocal.m4: Regenerated.
7822 * configure: Ditto.
7823 * libc/include/limits.h: New file.
7824 * libc/sys/linux/include/limits.h: Ditto.
7825 * doc/aclocal.m4 doc/configure libc/aclocal.m4
7826 libc/configure libc/machine/aclocal.m4
7827 libc/machine/configure libc/machine/a29k/aclocal.m4
7828 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
7829 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
7830 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
7831 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
7832 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
7833 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
7834 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
7835 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
7836 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
7837 libc/machine/i386/configure libc/machine/i960/aclocal.m4
7838 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
7839 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
7840 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
7841 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
7842 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
7843 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
7844 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
7845 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
7846 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
7847 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
7848 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
7849 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
7850 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
7851 libc/machine/v850/configure libc/machine/w65/aclocal.m4
7852 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
7853 libc/machine/xscale/configure
7854 libc/machine/xstormy16/aclocal.m4
7855 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
7856 libc/machine/z8k/configure libc/sys/aclocal.m4
7857 libc/sys/configure libc/sys/a29khif/aclocal.m4
7858 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
7859 libc/sys/arc/configure libc/sys/arm/aclocal.m4
7860 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
7861 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
7862 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
7863 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
7864 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
7865 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
7866 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
7867 libc/sys/idt/configure libc/sys/linux/aclocal.m4
7868 libc/sys/linux/configure
7869 libc/sys/linux/machine/aclocal.m4
7870 libc/sys/linux/machine/configure
7871 libc/sys/linux/machine/i386/aclocal.m4
7872 libc/sys/linux/machine/i386/configure
7873 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
7874 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
7875 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
7876 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
7877 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
7878 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
7879 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
7880 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
7881 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
7882 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
7883 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
7884 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
7885 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
7886 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
7887 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
7888 libm/aclocal.m4 libm/configure: Regenerated.
a8615092 7889
be83844e
JJ
78902002-09-09 Jeff Johnston <jjohnstn@redhat.com>
7891
ba3ccd63
EB
7892 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
7893 code that clears the .bss section.
be83844e 7894
9c64d2a7
JJ
78952002-09-09 Jeff Johnston <jjohnstn@redhat.com>
7896
ba3ccd63
EB
7897 * libc/include/sys/_types.h (_mbstate_t): Changed to use
7898 unsigned char internally.
7899 * libc/sys/linux/sys/_types.h: Ditto.
7900 * libc/include/sys/reent.h
7901 * libc/stdlib/mblen.c (mblen): Use function-specific state
7902 value from default reentrancy structure.
7903 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
7904 _mbtowc_r is less than 0, reset state __count value and
7905 return -1.
7906 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
7907 is NULL, use the function-specific pointer provided in the
7908 default reentrancy structure.
7909 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
7910 If input state pointer is NULL, use function-specific area
7911 provided in reentrancy structure.
7912 * libc/stdlib/mbsrtowcs.c: Ditto.
7913 * libc/stdlib/wcrtomb.c: Ditto.
7914 * libc/stdlib/wcsrtombs.c: Ditto.
7915 * libc/stdlib/mbstowcs.c: Reformat.
7916 * libc/stdlib/wcstombs.c: Ditto.
7917 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
7918 reset the state's __count value and return -1.
7919 * libc/stdlib/mbtowc.c: Ditto.
7920 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
7921 If number of bytes is used up before completing a valid multibyte
7922 character, return -2 and save the state.
7923 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
7924 and change some __count references to __state for clarity.
9c64d2a7 7925
218b7a56
JJ
79262002-09-06 Jeff Johnston <jjohnstn@redhat.com>
7927
7928 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
7929 is defined by <limits.h>.
7930
c210a6ea
JJ
79312002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7932
7933 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
7934 defined.
7935
efa077ce
JJ
79362002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7937
ba3ccd63
EB
7938 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
7939 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
7940 __WCHAR_MAX__ or 0x7fffffffu.
7941 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
7942 * libc/string/wcsncmp.c: Ditto.
efa077ce 7943
e4b0ebc1
JJ
79442002-09-03 Jeff Johnston <jjohnstn@redhat.com>
7945
7946 * libc/string/wcschr.c: Add include of <stddef.h>.
7947 * libc/string/wcspbrk.c: Ditto.
7948 * libc/string/wcsrchr.c: Ditto.
7949 * libc/string/wcsstr.c: Ditto.
7950
3db40db7
JJ
79512002-09-03 Jeff Johnston <jjohnstn@redhat.com>
7952
ba3ccd63
EB
7953 * libc/include/sys/_types.h (_flock_t): Added.
7954 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
7955 (__lock_try_acquire_recursive): Ditto.
7956 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
7957 _lock field.
7958 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
7959 field.
7960 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
7961 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
7962 * libc/sys/linux/include/time.h (struct timespec): Moved from
7963 <sys/types.h> and added check for __need_timespec flag so type
7964 can be defined by itself.
7965 * libc/sys/linux/sys/_types.h (_flock_t): New type.
7966 * libc/sys/linux/sys/types.h (struct timespec): Moved to
7967 <time.h>.
3db40db7 7968
cd45f029
TF
79692002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
7970
7971 * libc/sys/linux/argp: New directory.
7972 * libc/sys/linux/getopt.c: New file.
7973 * libc/sys/linux/getopt1.c: New file.
7974 * libc/sys/linux/getoptlong.c: Remove file.
7975 * libc/sys/linux/include/argp.h: New file.
7976 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
7977 based on ELIX level.
7978 (SUBDIRS): Add argp_dir.
7979 (SUBLIBS): Add ARGP_LIB.
7980 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
7981 getopt_long.$(oext).
7982 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
7983
3c689185
JJ
79842002-08-29 Jeff Johnston <jjohnstn@redhat.com>
7985
ba3ccd63
EB
7986 * libc/libc.texinfo: Add node reference to wide-character strings.
7987 * libc/string/wcstrings.tex: New file.
3c689185 7988 * libc/string/strtok_r.c: Remove outdated advertising clause.
ba3ccd63
EB
7989 * libc/string/Makefile.am (doc): Add wide-character string
7990 chapter to documentation.
7991 * libc/string/Makefile.in: Regenerated.
3c689185 7992
890e7a1d
JJ
79932002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7994
ba3ccd63
EB
7995 * libc/include/wchar.h: Define NULL. Define WEOF more general
7996 way. Declare functions in newlib manner.
7997 * libc/stdlib/Makefile.am: Delete wmem*.c
7998 * libc/stdlib/Makefile.in: Regenerated.
7999 * libc/stdlib/wmemchr.c: Delete.
8000 * libc/stdlib/wmemcmp.c: Ditto.
8001 * libc/stdlib/wmemcpy.c: Ditto.
8002 * libc/stdlib/wmemmove.c: Ditto.
8003 * libc/stdlib/wmemset.c: Ditto.
8004 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
8005 * libc/string/Makefile.in: Regenerated.
8006 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
8007 * libc/string/wcschr.c: Ditto.
8008 * libc/string/wcscmp.c: Ditto.
8009 * libc/string/wcscpy.c: Ditto.
8010 * libc/string/wcscspn.c: Ditto.
8011 * libc/string/wcslcat.c: Ditto.
8012 * libc/string/wcslcpy.c: Ditto.
8013 * libc/string/wcslen.c: Ditto.
8014 * libc/string/wcsncat.c: Ditto.
8015 * libc/string/wcsncmp.c: Ditto.
8016 * libc/string/wcsncpy.c: Ditto.
8017 * libc/string/wcspbrk.c: Ditto.
8018 * libc/string/wcsrchr.c: Ditto.
8019 * libc/string/wcsspn.c: Ditto.
8020 * libc/string/wcsstr.c: Ditto.
8021 * libc/string/wmemchr.c: Ditto.
8022 * libc/string/wmemcmp.c: Ditto.
8023 * libc/string/wmemcpy.c: Ditto.
8024 * libc/string/wmemmove.c: Ditto.
8025 * libc/string/wmemset.c: Ditto.
890e7a1d 8026
86620e21
JJ
80272002-08-29 Jeff Johnston <jjohnstn@redhat.com>
8028
ba3ccd63
EB
8029 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
8030 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
8031 and is treated as if "C" was specified.
86620e21 8032
f3741c27
JJ
80332002-08-28 Jeff Johnston <jjohnstn@redhat.com>
8034
ba3ccd63
EB
8035 * Makefile.am (install-data-local): Move install of build
8036 newlib.h after installing headers in libc/include so as to
8037 overwrite default newlib.h.
8038 * Makefile.in: Regenerated.
f3741c27 8039
48da61f5
JJ
80402002-08-28 Jeff Johnston <jjohnstn@redhat.com>
8041
ba3ccd63
EB
8042 * libc/include/newlib.h: New file for tools that use newlib
8043 headers but don't build newlib first (e.g. gcc).
48da61f5 8044
d82a94ac
JJ
80452002-08-28 Jeff Johnston <jjohnstn@redhat.com>
8046
8047 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
8048 * libc/stdlib/wmemcmp.c: Ditto.
8049 * libc/stdlib/wmemcpy.c: Ditto.
8050 * libc/stdlib/wmemmove.c: Ditto.
8051 * libc/stdlib/wmemset.c: Ditto.
8052
7d08241b
JJ
80532002-08-27 Egor Duda <deo@logos-m.ru>
8054
8055 * libc/stdlib/wmemchr.c: New file.
8056 * libc/stdlib/wmemcmp.c: Ditto.
8057 * libc/stdlib/wmemcpy.c: Ditto.
8058 * libc/stdlib/wmemmove.c: Ditto.
8059 * libc/stdlib/wmemset.c: Ditto.
8060 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
8061 * configure.host: Default -DMB_CAPABLE for cygwin.
8062 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
8063 wmemmove() and wmemset(). Add include of <_ansi.h>.
8064 * libc/stdlib/Makefile.in: Regenerate.
8065
8da1639b
JJ
80662002-08-27 Jeff Johnston <jjohnstn@redhat.com>
8067
ff2bf852 8068 * configure.host: Remove _ELIX_LEVEL flag setting.
8da1639b
JJ
8069 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
8070 (install-data-local): Install newlib.h.
8071 * Makefile.in: Regenerated.
8072 * aclocal.m4: Ditto.
8073 * configure: Ditto.
17c0c97d 8074 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
8da1639b
JJ
8075 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
8076 and _NEWLIB_VERSION to fill in newlib.h header file entries.
8077 In AC_OUTPUT statement, unset ac_file so multilib support does
8078 not use last ac_file temporary used in newlib.h configuration.
8079 * libc/include/_ansi.h: Include <newlib.h>.
8080 * newlib.hin: New template file for newlib.h.
8081 * stamp-h.in: New file.
8082
a4421c11
JJ
80832002-08-26 Wu Yongwei <adah@netstd.com>
8084
ba3ccd63 8085 * time.h (timezonevar): Change "#if" to "#ifdef".
a4421c11 8086
90b65e2d
JJ
80872002-08-26 Jeff Johnston <jjohnstn@redhat.com>
8088
8089 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
8090 * Makefile.in: Regenerated.
8091 * acinclude.m4: Add support for --enable-newlib-elix-level option.
8092 * aclocal.m4: Regenerated.
8093 * configure: Ditto.
8094 * configure.host: Add code to define _ELIX_LEVEL if
8095 --enable-newlib-elix-level option is used.
17c0c97d 8096 * configure.in:
90b65e2d
JJ
8097 * libc/aclocal.m4: Regenerated.
8098 * libc/configure: Ditto.
8099 * libc/argz/Makefile.am: Add EL/IX level checking.
8100 * libc/argz/Makefile.in: Regenerated.
8101 * libc/argz/dummy.c: New file.
8102 * libc/ctype/Makefile.am: Add EL/IX level checking.
8103 * libc/ctype/Makefile.in: Regenerated.
8104 * libc/locale/Makefile.am: Add EL/IX level checking.
8105 * libc/locale/Makefile.in: Regenerated.
8106 * libc/posix/Makefile.am: Add EL/IX level checking.
8107 * libc/posix/Makefile.in: Regenerated.
8108 * libc/posix/telldir.c: Add EL/IX level checking.
8109 * libc/reent/Makefile.am: Ditto.
8110 * libc/reent/fstat64r.c: Ditto.
8111 * libc/reent/lseek64r.c: Ditto.
8112 * libc/reent/open64r.c: Ditto.
8113 * libc/reent/Makefile.in: Regenerated.
8114 * libc/search/Makefile.am: Add EL/IX level checking.
8115 * libc/search/Makefile.in: Regenerated.
8116 * libc/stdio/Makefile.am: Add EL/IX level checking.
8117 * libc/stdio/Makefile.in: Regenerated.
8118 * libc/stdio64/Makefile.am: Add EL/IX level checking.
8119 * libc/stdio64/Makefile.in: Regenerated.
8120 * libc/stdio64/dummy.c: New file.
9b487837 8121 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
90b65e2d
JJ
8122 after first include.
8123 * libc/stdio64/fopen64.c: Ditto.
8124 * libc/stdio64/freopen64.c: Ditto.
8125 * libc/stdio64/fseeko64.c: Ditto.
8126 * libc/stdio64/fsetpos64.c: Ditto.
8127 * libc/stdio64/ftello64.c: Ditto.
8128 * libc/stdio64/tmpfile64.c: Ditto.
8129 * libc/stdlib/Makefile.am: Add EL/IX level checking.
8130 * libc/stdlib/Makefile.in: Regenerated.
8131 * libc/stdlib/mstats.c: Add EL/IX level checking.
8132 * libc/string/Makefile.am: Ditto.
8133 * libc/string/Makefile.in: Regenerated.
8134 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
8135 * libc/sys/linux/Makefile.in: Regenerated.
8136 * libc/sys/linux/aclocal.m4: Ditto.
8137 * libc/sys/linux/configure: Ditto.
8138 * libc/sys/linux/aio.c: Add EL/IX level checking.
8139 * libc/sys/linux/ftok.c: Ditto.
8140 * libc/sys/linux/getdate.c: Ditto.
8141 * libc/sys/linux/ids.c: Ditto.
8142 * libc/sys/linux/inode.c: Ditto.
8143 * libc/sys/linux/io.c: Ditto.
8144 * libc/sys/linux/process.c: Ditto.
8145 * libc/sys/linux/resource.c: Ditto.
8146 * libc/sys/linux/sched.c: Ditto.
8147 * libc/sys/linux/sig.c: Ditto.
8148 * libc/sys/linux/termios.c: Ditto.
8149 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
8150 __libc___waitpid weak aliases.
8151 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
8152 that generate the code for a syscall, but do not create a
8153 weak alias.
8154 * libc/syscalls/Makefile.am: Add EL/IX level checking.
8155 * libc/syscalls/Makefile.in: Regenerated.
8156 * libc/time/tzset_r.c: Change to replace strdup with equivalent
8157 functionality.
8158 * libc/unix/Makefile.am: Add EL/IX level checking.
8159 * libc/unix/Makefile.in: Regenerated.
8160
2e2b268c
CF
81612002-08-26 Christopher Faylor <cgf@redhat.com>
8162
8163 * libc/include/malloc.h: On cygwin, define malloc _r functions as
8164 wrapper macros to standard malloc functions.
8165 * libc/include/stdlib.h: Ditto.
8166 * configure.host: Always define MALLOC_PROVIDED on cygwin.
8167
8d9112f2
TF
81682002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
8169
8170 * libc/include/langinfo.h: New file.
8171 * libc/include/wchar.h: Likewise.
8172 * libc/include/sys/syslimits.h: Likewise.
8173 * libc/locale/fix_grouping.c: Likewise.
8174 * libc/locale/ldpart.c: Likewise.
8175 * libc/locale/ldpart.h: Likewise.
8176 * libc/locale/lmessages.c: Likewise.
8177 * libc/locale/lmessages.h: Likewise.
8178 * libc/locale/lmonetary.c: Likewise.
8179 * libc/locale/lmonetary.h: Likewise.
8180 * libc/locale/lnumeric.c: Likewise.
8181 * libc/locale/lnumeric.h: Likewise.
8182 * libc/locale/nl_langinfo.3: Likewise.
8183 * libc/locale/nl_langinfo.c: Likewise.
8184 * libc/locale/timelocal.c: Likewise.
8185 * libc/locale/timelocal.h: Likewise.
8186 * libc/stdlib/btowc.c: Likewise.
8187 * libc/stdlib/mbrlen.c: Likewise.
8188 * libc/stdlib/mbrtowc.c: Likewise.
8189 * libc/stdlib/mbsinit.c: Likewise.
8190 * libc/stdlib/mbsrtowcs.c: Likewise.
8191 * libc/stdlib/wcrtomb.c: Likewise.
8192 * libc/stdlib/wcsrtombs.c: Likewise.
8193 * libc/stdlib/wctob.c: Likewise.
8194 * libc/sys/linux/prof-freq.c: Likewise.
8195 * libc/sys/linux/profile.c: Likewise.
8196 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
8197 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
8198 * libc/include/stdlib.h: Change re-entrant functions to take
8199 mbstate_t pointers.
8200 * libc/include/sys/_types.h: Define _mbstate_t.
8201 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
8202 * libc/include/sys/errno.h (EILSEQ): New error code.
8203 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
8204 structure to use mbstate_t.
8205 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
8206 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
8207 * libc/machine/powerpc/vfscanf.c: Likewise.
8208 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
8209 * libc/stdio/vfprintf.c: Likewise.
8210 * libc/stdio/vfscanf.c: Likewise.
8211 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
8212 * libc/stdlib/mblen.c: Use mbstate_t.
8213 * libc/stdlib/mblen_r.c: Likewise.
8214 * libc/stdlib/mbstowcs.c: Likewise.
8215 * libc/stdlib/mbstowcs_r.c: Likewise.
8216 * libc/stdlib/mbtowc.c: Likewise.
8217 * libc/stdlib/mbtowc_r.c: Likewise.
8218 * libc/stdlib/wcstombs.c: Likewise.
8219 * libc/stdlib/wcstombs_r.c: Likewise.
8220 * libc/stdlib/wctomb_r.c: Likewise.
8221 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
8222 profile.c.
8223 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
8224 dl-procinfo.c.
8225 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
8226 * libc/sys/linux/sys/types.h (off_t): Define type.
8227 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
8228 to C-UTF-8.
8229 * testsuite/newlib.locale/UTF-8.exp: Likewise.
8230
fe47ea33
JJ
82312002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
8232
ba3ccd63
EB
8233 * libc/stdlib/mallocr.c: #include windows.h on Win32.
8234 (AlignPage): Continue macro on next line.
fe47ea33 8235
ada73509
JJ
82362002-08-19 Jeff Johnston <jjohnstn@redhat.com>
8237
8238 * libc/sys/linux/include/pthread.h: New file.
8239
64b5e8f2
JJ
82402002-08-19 Jeff Johnston <jjohnstn@redhat.com>
8241
8242 * libc/include/sys/types.h: Support __need_inttypes macro
17c0c97d 8243 that only sets the __intxx and __uintxx types.
64b5e8f2
JJ
8244 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
8245 to get mprec.h.
8246 * libc/machine/powerpc/Makefile.in: Regenerated.
8247 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
8248 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
8249 redundant fixed-point conversion prototypes.
8250 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
8251 after setting __need_inttypes.
8252
a94b60ce
CF
82532002-08-18 Christopher Faylor <cgf@redhat.com>
8254
8255 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
8256
29e17a86
JJ
82572002-08-17 Jeff Johnston <jjohnstn@redhat.com>
8258
ba3ccd63
EB
8259 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
8260 _LONG_DOUBLE to double.
29e17a86 8261
936b520f
JJ
82622002-08-17 Jeff Johnston <jjohnstn@redhat.com>
8263
8264 * configure.host: Add powerpc*-*-eabispe* configuration.
8265 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
8266 * libc/machine/powerpc/atosfix32.c: Ditto.
8267 * libc/machine/powerpc/atosfix64.c: Ditto.
8268 * libc/machine/powerpc/atoufix16.c: Ditto.
8269 * libc/machine/powerpc/atoufix32.c: Ditto.
8270 * libc/machine/powerpc/atoufix64.c: Ditto.
8271 * libc/machine/powerpc/fix64.h: Ditto.
8272 * libc/machine/powerpc/simdldtoa.c: Ditto.
8273 * libc/machine/powerpc/strtosfix16.c: Ditto.
8274 * libc/machine/powerpc/strtosfix32.c: Ditto.
8275 * libc/machine/powerpc/strtosfix64.c: Ditto.
8276 * libc/machine/powerpc/strtoufix16.c: Ditto.
8277 * libc/machine/powerpc/strtoufix32.c: Ditto.
8278 * libc/machine/powerpc/strtoufix64.c: Ditto.
8279 * libc/machine/powerpc/ufix64toa.c: Ditto.
8280 * libc/machine/powerpc/configure.in: Add check for
8281 powerpc*-eabispe and add fixed-point conversion functions.
8282 * libc/machine/powerpc/configure: Regenerated.
8283 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
8284 %r and %R format specifiers which handle fixed-point data.
8285 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
8286 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
8287 function prototypes.
8288
ad552766
JJ
82892002-08-17 Jeff Johnston <jjohnstn@redhat.com>
8290
8291 * Makefile.am: Move cmath stuff into libc/sys/linux.
8292 * Makefile.in: Regenerated.
8293 * configure.host: Default -DMB_CAPABLE for x86-linux.
8294 * libc/include/reent.h: Define _sbrk to take signed int argument.
8295 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
17c0c97d
EB
8296 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
8297 make locale name checking more efficient. Also allow "C-ISO-8859-1"
ad552766
JJ
8298 locale for LC_CTYPE and LC_MESSAGES.
8299 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
8300 * libc/sys/linux/brk.c: Change sbrk prototype.
8301 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
8302 include <sys/features.h>.
8303 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
8304 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
8305 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
8306 with a few local additions.
8307 * libc/sys/linux/sys/features.h: New file.
8308 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
8309 to take signed argument.
8310 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
8311 prototypes to take signed size argument.
8312
d3bd3632
TF
83132002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
8314
8315 * libc/sys/linux/cmath: New directory.
8316 * libc/sys/linux/include/cmathcalls.h: New file.
8317 * libc/sys/linux/include/complex.h: New file.
8318 * libc/sys/linux/machine/i386/huge_val.h: New file
8319 * libm/math/w_sincos.c: New file
8320 * libm/math/wf_sincos.c: New file
8321 * libm/mathfp/s_sincos.c: New file
8322 * libm/mathfp/sf_sincos.c: New file
8323 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
8324 * libc/include/math.h: Add sincos and sincosf declarations.
8325 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
8326 (SUBLIBS): Likewise.
8327 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
8328 * libm/math/Makefile.am (src): Add w_sincos.c.
8329 (fsrc): Add wf_sincos.c.
8330 * libm/mathfp/Makefile.am (src): Add s_sincos.c
8331 (fsrc): Add sf_sincos.c.
8332
b3a9676b
JJ
83332002-08-12 Jeff Johnston <jjohnstn@redhat.com>
8334
8335 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
8336 Declare as extern chars and use the address operator to
8337 properly use values set in linker script.
8338
659e7062
JJ
83392002-08-09 Jason Tishler <jason@tishler.net>
8340
8341 * libc/stdlib/mallocr.c: Include <limits.h>.
8342 (request2size): Change macro to do
8343 unsigned long comparisons and avoid signed overflow.
8344 (mALLOc): Add overflow check for the number of bytes to allocate.
8345 (rEALLOc): Ditto.
8346
037240a2
JJ
83472002-08-09 Jeff Johnston <jjohnstn@redhat.com>
8348
8349 * configure.host: Add check for --enable-newlib-io-pos-args
8350 and define WANT_IO_POS_ARGS flag if enabled. Define
8351 the flag by default for x86-linux configurations.
8352 * configure.in: Add support for --enable-newlib-io-pos-args.
8353 * libc/configure.in: Ditto.
8354 * configure: Regenerated.
8355 * libc/configure: Ditto.
8356 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
8357 vfprintf.c and vfiprintf.c.
8358 * libc/stdio/Makefile.in: Regenerated.
8359 * libc/stdio/vfprintf.c: Add positional argument support that
8360 is enabled by compiling with -DWANT_IO_POS_ARGS.
8361
172fda76
RS
83622002-08-07 Richard Sandiford <rsandifo@redhat.com>
8363
8364 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
8365 based on __mips_soft_float rather than __mips64.
8366 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
8367 of both 32-bit and 64-bit code.
8368
4866247e
CF
83692002-08-04 Christopher Faylor <cgf@redhat.com>
8370
8371 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
8372 arguments for popen to match similar functionality in fopen.
8373
b96332ce
CV
83742002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
8375
8376 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
8377
60d99bce
JJ
83782002-07-29 Jeff Johnston <jjohnstn@redhat.com>
8379
ba3ccd63
EB
8380 * libc/sys/linux/Makefile.am: Add aio64.c.
8381 * libc/sys/linux/Makefile.in: Regenerated.
8382 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
8383 * libc/sys/linux/aio64.c: New file.
60d99bce 8384
80a21be0
JJ
83852002-07-26 Jeff Johnston <jjohnstn@redhat.com>
8386
8387 * libc/include/sys/param.h (MAX, MIN): Added macros.
8388 * libc/sys/linux/Makefile.am: Add new files.
8389 * libc/sys/linux/Makefile.in: Regenerated.
8390 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
8391 * libc/sys/linux/inode.c (fchdir): Added syscall.
8392 * libc/sys/linux/ftw.c: New file.
8393 * libc/sys/linux/ftw64.c: Ditto.
8394 * libc/sys/linux/getwd.c: Ditto.
8395 * libc/sys/linux/scandir64.c: Ditto.
8396 * libc/sys/linux/strverscmp.c: Ditto.
8397 * libc/sys/linux/versionsort.c: Ditto.
8398 * libc/sys/linux/versionsort64.c: Ditto.
8399
6b6425cb
JJ
84002002-07-26 Jeff Johnston <jjohnstn@redhat.com>
8401
8402 * libc/string/strings.tex: Fix typo for memccpy.
8403
dc8ac8e6
JJ
84042002-07-25 Jeff Johnston <jjohnstn@redhat.com>
8405
8406 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
8407 * libc/sys/linux/sys/types.h (off64_t): Definition added.
8408
aa0ca6fd
JJ
84092002-07-25 Jeff Johnston <jjohnstn@redhat.com>
8410
8411 * libc/sys/linux/Makefile.am: Add fclean.c.
8412 * libc/sys/linux/Makefile.in: Regenerated.
8413 * libc/sys/linux/fclean.c: New file.
8414
61921945
JJ
84152002-07-25 Jeff Johnston <jjohnstn@redhat.com>
8416
8417 * libc/sys/linux/Makefile.am: Add confstr.c.
8418 * libc/sys/linux/Makefile.in: Regenerated.
8419 * libc/sys/linux/confstr.c: New file.
8420 * libc/sys/linux/confstr.h: Ditto.
8421 * libc/sys/linux/sys/unistd.h: Include <features.h> and
8422 <bits/environments.h>.
8423
3d966a92
JJ
84242002-07-25 Jeff Johnston <jjohnstn@redhat.com>
8425
8426 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
8427 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
8428 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
8429 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
8430 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
8431 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
8432
53b5bff7
JJ
84332002-07-24 Jeff Johnston <jjohnstn@redhat.com>
8434
8435 * libc/sys/linux/Makefile.am: Add new files.
8436 * libc/sys/linux/Makefile.in: Regenerated.
8437 * libc/sys/linux/fstab.c: New file.
8438 * libc/sys/linux/fstatvfs.c: Ditto.
8439 * libc/sys/linux/fstatvfs64.c: Ditto.
8440 * libc/sys/linux/internal_statvfs.c: Ditto.
8441 * libc/sys/linux/mntent.c: Ditto.
8442 * libc/sys/linux/mntent_r.c: Ditto.
8443 * libc/sys/linux/statvfs.c: Ditto.
8444 * libc/sys/linux/statvfs64.c: Ditto.
8445 * libc/sys/linux/include/paths.h: Ditto.
8446 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
8447 with double-underscore weak-aliases.
8448 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
8449
9cef8ef5
JJ
84502002-07-24 Jeff Johnston <jjohnstn@redhat.com>
8451
8452 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
8453 to use _sig_func_ptr type casted constants.
8454 (_sig_func_ptr): Typedef moved to sys/signal.h.
8455 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
8456 For __rtems, use POSIX definition, otherwise default to ANSI.
8457 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
8458
a703e0f2
JJ
84592002-07-24 Stephane Carrez <stcarrez@nerim.fr>
8460
ba3ccd63
EB
8461 * configure.host: Recognize m6811-elf and m6812-elf targets.
8462 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
8463 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
8464 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
8465 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
8466 according to __INT_MAX__.
8467 (_POINTER_INT): Define to short.
8468 * libc/machine/m68hc11/Makefile.am: New file.
8469 * libc/machine/m68hc11/Makefile.in: New file.
8470 * libc/machine/m68hc11/configure.in: New file.
8471 * libc/machine/m68hc11/configure: New file.
8472 * libc/machine/m68hc11/aclocal.m4: New file.
8473 * libc/machine/m68hc11/setjmp.S: New file.
a703e0f2 8474
d254189b
JJ
84752002-07-23 Jeff Johnston <jjohnstn@redhat.com>
8476
8477 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
8478 prototypes.
8479 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
8480 * libc/stdlib/Makefile.in: Regenerated.
8481 * libc/stdlib/strdup.c: Removed.
8482 * libc/stdlib/strdup_r.c: Removed.
8483 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
8484 mempcpy.c, strndup.c, and strndup_r.c.
8485 * libc/string/Makefile.in: Regenerated.
8486 * libc/string/memccpy.c: New file.
8487 * libc/string/mempcpy.c: Ditto.
8488 * libc/string/strndup.c: Ditto.
8489 * libc/string/strndup_r.c: Ditto.
8490 * libc/string/strdup.c: New file moved from stdlib.
8491 * libc/string/strdup_r.c: Ditto.
8492 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
8493
bc100655
JJ
84942002-07-23 Jeff Johnston <jjohnstn@redhat.com>
8495
ba3ccd63
EB
8496 * libc/include/stdio.h: Move fcloseall prototype within
8497 #ifndef _REENT_ONLY section.
8498 * libc/sys/linux/Makefile.am: Add new files.
8499 * libc/sys/linux/Makefile.in: Regenerated.
8500 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
8501 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
bc100655 8502 * libc/sys/linux/sys/types.h: Add ino64_t type.
ba3ccd63
EB
8503 * libc/sys/linux/ctermid.c: New file.
8504 * libc/sys/linux/ttyname_r.c: Ditto.
bc100655
JJ
8505 * libc/sys/linux/readdir64.c: Ditto.
8506
f5f27f07
JJ
85072002-07-22 Jeff Johnston <jjohnstn@redhat.com>
8508
8509 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
8510 * libc/stdio/Makefile.am: Added fcloseall.c support.
8511 * libc/stdio/Makefile.in: Regenerated.
8512 * libc/stdio/fcloseall.c: New file.
8513 * libc/stdio64/Makefile.am: Remove missing .def references.
8514 * libc/stdio64/Makefile.in: Regenerated.
8515
d541ba3e
JJ
85162002-07-22 Jeff Johnston <jjohnstn@redhat.com>
8517
8518 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
8519 * libc/machine/powerpc/times.c: New file.
8520 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
8521 * libc/machine/powerpc/Makefile.in: Regenerated.
8522
85232002-07-22 Aldy Hernandez <aldyh@redhat.com>
e964bca8 8524
ba3ccd63
EB
8525 * libc/machine/powerpc/time.c: New file.
8526 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
8527 time.c.
e964bca8
JJ
8528 * libc/machine/powerpc/Makefile.in: Regenerated.
8529
5e7d0a55
TF
85302002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
8531
8532 * libc/libc.texinfo: Change copyright notices to Red Hat from
8533 Cygnus.
8534 * libm/libm.texinfo: Likewise.
8535 * README: Change docs URL to
8536 http://sources.redhat.com/newlib/docs.html.
8537
504628e7
JJ
85382002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8539
ba3ccd63
EB
8540 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
8541 * libc/sys/linux/Makefile.in: Regenerated.
8542 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
8543 * libc/sys/linux/io.c: Add ftruncate syscall.
8544 * libc/sys/linux/fpathconf.c: New file.
8545 * libc/sys/linux/pathconf.c: Ditto.
504628e7 8546 * libc/sys/linux/linux_fsinfo.h: Ditto.
ba3ccd63 8547 * libc/sys/linux/sys/unistd.h: Ditto.
504628e7 8548
b155ad9f
JJ
85492002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8550
8551 * libc/stdio64/Makefile.am: Remove missing files.
8552 * libc/stdio64/Makefile.in: Regenerated.
8553
c119e0ab
JJ
85542002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8555
ba3ccd63
EB
8556 * libc/include/sys/config.h[__i386__][__linux__]: Define
8557 _LARGE64FILE_SOURCE to 1.
8558 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
8559 * libc/sys/linux/Makefile.in: Regenerated.
8560 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
8561 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
8562 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
8563 of <linux/resource.h>.
8564 * libc/sys/linux/getrlimit64.c: New file.
8565 * libc/sys/linux/setrlimit64.c: Ditto.
c119e0ab 8566
9b022d6d
TF
85672002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
8568
8569 * libc/argz/argz_replace.c: Include buf_findstr.h.
8570 * libc/argz/buf_findstr.c: Likewise.
8571 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
8572 value to (char *).
8573 * libc/argz/envz_get.c: Likewise.
8574 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
8575 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
8576 * libc/stdlib/getsubopt.3: New file.
8577 * libc/stdlib/getsubopt.c: New file.
8578 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
8579 Change esp to ebp.
8580
dee51391
JJ
85812002-07-17 Jeff Johnston <jjohnstn@redhat.com>
8582
8583 * configure.host(stdio64_dir): New setting that is used to
8584 enable building of new stdio64 directory.
8585 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
8586 large files.
8587 (stmp-stdio64,stdio64.texi): New targets to optionally add in
8588 stdio64 info to info files.
8589 * libc/Makefile.in: Regenerated.
8590 * libc/configure: Ditto.
8591 * libc/configure.in: Add configuration variables that are set
8592 when stdio64 is selected as subdir in configure.host.
8593 * libc/libc.texinfo: Add optional menu item for Stdio64, based
8594 on whether STDIO64 flag is set or not.
8595 * libc/sys.tex: Add optional stdio64 syscalls based on whether
8596 STDIO64 flag is set or not.
8597 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
8598 _r sycall routines.
8599 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
8600 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
8601 (__SL64): New file flag indicating file is opened via fopen64.
8602 * libc/include/sys/_types.h(_off64_t): Added.
8603 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
8604 * libc/include/sys/reent.h(struct __sFILE64): New file structure
8605 for 64-bit offset large file support.
8606 (__FILE): New intermediate type either set to struct __sFILE64 or
8607 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
8608 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
8609 * libc/reent/Makefile.in: Regenerated.
8610 * libc/reent/fstat64r.c: New file.
8611 * libc/reent/lseek64r.c: Ditto.
8612 * libc/reent/open64r.c: Ditto.
8613 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
17c0c97d 8614 based on whether STDIO64 flag is set.
dee51391
JJ
8615 * libc/stdio/stdio.tex: Add blank line.
8616 * libc/stdio64/Makefile.am: New file.
8617 * libc/stdio64/Makefile.in: Ditto.
8618 * libc/stdio64/fgetpos64.c: Ditto.
8619 * libc/stdio64/fopen64.: Ditto.
8620 * libc/stdio64/freopen64.c: Ditto.
8621 * libc/stdio64/fseeko64.c: Ditto.
8622 * libc/stdio64/fsetpos64.c: Ditto.
8623 * libc/stdio64/ftello64.c: Ditto.
8624 * libc/stdio64/local64.h: Ditto.
8625 * libc/stdio64/stdio64.c: Ditto.
8626 * libc/stdio64/stdio64.tex: Ditto.
8627 * libc/stdio64/tmpfile64.c: Ditto.
8628 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
8629 open64.
8630
778876f6
JJ
86312002-07-16 Jeff Johnston <jjohnstn@redhat.com>
8632
ba3ccd63
EB
8633 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
8634 if LIBC_EXTRA_LIB is present.
8635 * libc/Makefile.in: Regenerated.
778876f6 8636 * libc/libc.texinfo: Add blank line.
ba3ccd63
EB
8637 * libc/argz/Makefile.am: Add doc support.
8638 * libc/search/Makefile.am: Ditto.
8639 * libc/argz/Makefile.in: Regenerated.
8640 * libc/search/Makefile.in: Ditto.
8641 * libc/misc/misc.tex: Add ffs function.
8642 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
778876f6 8643
37981145
JJ
86442002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8645
8646 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
8647 definition that was removed in error.
8648
38b5dc59
JJ
86492002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8650
8651 * libc/include/machine/ieeefp.h: Change to only define
17c0c97d 8652 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
38b5dc59
JJ
8653 __IEEE_LITTLE_ENDIAN must be defined for each platform).
8654 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
8655 remove redundant floating point definitions.
8656
8cb61a96
JJ
86572002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8658
ba3ccd63
EB
8659 * libc/sys/linux/callocr.c: Fix so code references
8660 calloc.
8cb61a96 8661
edba3282
JJ
86622002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8663
ba3ccd63
EB
8664 * libc/sys/linux/Makefile.am: Add new files.
8665 * libc/sys/linux/Makefile.in: Regenerated.
8666 * libc/sys/linux/bp-sym.h: Moved to include directory.
8667 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
8668 * libc/sys/linux/inode.c: Set _LIBC to 1.
8669 * libc/sys/linux/mq_close.c: Ditto.
8670 * libc/sys/linux/mq_getattr.c: Ditto.
8671 * libc/sys/linux/mq_open.c: Ditto.
8672 * libc/sys/linux/mq_receive.c: Ditto.
8673 * libc/sys/linux/mq_send.c: Ditto.
8674 * libc/sys/linux/mq_setattr.c: Ditto.
8675 * libc/sys/linux/mq_unlink.c: Ditto.
8676 * libc/sys/linux/calloc.c: New file.
8677 * libc/sys/linux/callocr.c: Ditto.
8678 * libc/sys/linux/cfreer.c: Ditto.
8679 * libc/sys/linux/config.h: Ditto.
8680 * libc/sys/linux/free.c: Ditto.
8681 * libc/sys/linux/freer.c: Ditto.
8682 * libc/sys/linux/msize.c: Ditto.
8683 * libc/sys/linux/msizer.c: Ditto.
8684 * libc/sys/linux/mstats.c: Ditto.
8685 * libc/sys/linux/mtrim.c: Ditto.
8686 * libc/sys/linux/mtrimr.c: Ditto.
8687 * libc/sys/linux/pvallocr.c: Ditto.
8688 * libc/sys/linux/realloc.c: Ditto.
8689 * libc/sys/linux/reallocr.c: Ditto.
8690 * libc/sys/linux/thread-m.h: Ditto.
8691 * libc/sys/linux/vallocr.c: Ditto.
8692 * libc/sys/linux/bp-checks.h: Ditto.
8693 * libc/sys/linux/libc-symbols.h: Ditto.
8694 * libc/sys/linux/libc-tsd.h: Ditto.
8695 * libc/sys/linux/libintl.h: Ditto.
8696 * libc/sys/linux/malign.c: Ditto.
8697 * libc/sys/linux/malignr.c: Ditto.
8698 * libc/sys/linux/mallinfor.c: Ditto.
8699 * libc/sys/linux/malloc.c: Ditto.
8700 * libc/sys/linux/mallocr.c: Ditto.
8701 * libc/sys/linux/malloptr.c: Ditto.
8702 * libc/sys/linux/mallstatsr.c: Ditto.
8703 * libc/sys/linux/mcheck.c: Ditto.
8704 * libc/sys/linux/mhooks.h: Ditto.
8705 * libc/sys/linux/include/bp-sym.h: Ditto.
8706 * libc/sys/linux/include/malloc.h: Ditto.
8707 * libc/sys/linux/include/mcheck.h: Ditto.
8708 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
8709 getpagesize.c.
8710 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
8711 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
8712 * libc/sys/linux/machine/i386/getpagesize.c: New file.
8713 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
8714 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8715 * libc/sys/linux/machine/i386/sysdep.h: New file.
8716 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
8717 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
8718 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
edba3282 8719
ea20b60a
JJ
87202002-07-12 Jeff Johnston <jjohnstn@redhat.com>
8721
8722 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
8723 instead of <asm/siginfo.h>.
8724 * libc/sys/linux/sys/signal.h: Change to include various linux
8725 <bits/xxx.h> header files, rather than <linux/signal.h> so as
8726 to work with multiple releases of glibc header files.
8727
2fc82912
JJ
87282002-07-11 Chris Demetriou <cgd@broadcom.com>
8729
ba3ccd63
EB
8730 * testsuite/newlib.search/hsearchtest.c: New file to test
8731 newlib/libc/search.
8732 * testsuite/newlib.search/hsearchtest.exp: Likewise.
2fc82912 8733
4a404e97 87342002-07-10 Florian Schrack <florian.schrack@freenet.de>
2a8b4ea3
JJ
8735
8736 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
8737 a terminal.
8738 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
8739
6aec558e
JJ
87402002-07-08 Jeff Johnston <jjohnstn@redhat.com>
8741
ba3ccd63 8742 * libc/include/math.h (MAXFLOAT): Added.
6aec558e 8743
e47e6f0e 8744Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
a31df303
JR
8745
8746 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
8747 Make strcmp.S unconditional.
8748 * libc/machine/sh/Makefile.in: Regenerate.
8749 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
8750 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
8751 for SHcompact.
8752
89ffbd66
JJ
87532002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8754
8755 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
8756 define before including <sys/lock.h>.
8757
ae6c4c84
JJ
87582002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8759
8760 * libc/include/utime.h: Add include of <_ansi.h>.
8761 * libc/sys/linux/Makefile.am: Add utimes.c.
8762 * libc/sys/linux/Makefile.in: Regenerated.
8763 * libc/sys/linux/inode.c(__umask): New static routine.
8764 (umask): Written to use __umask and attempt to thread lock.
8765 (getumask): New function written to use __umask and thread lock.
8766 * libc/sys/linux/utimes.c: New file.
8767 * libc/sys/linux/sys/time.h: Fix utimes prototype.
8768 * libc/sys/linux/sys/utime.h: New file.
8769
a6cac46c
TF
87702002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
8771
8772 * libtool.m4: New file.
8773 * libc/sys/linux/process.c: Implement vfork in terms of fork,
8774 rather than as a syscall.
8775
30b2092f
JJ
87762002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8777
8778 * libc/include/stdio.h: Add new prototypes.
8779 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
8780 * libc/stdio/Makefile.in: Regenerated.
8781 * libc/stdio/fseek.c: Add fseeko documentation.
8782 * libc/stdio/ftell.c: Add ftello documentation.
8783 * libc/stdio/fseeko.c: New file.
8784 * libc/stdio/ftello.c: New file.
8785
7501704d
JJ
87862002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8787
ba3ccd63
EB
8788 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
8789 * libc/stdio/Makefile.in: Regenerated.
8790 * libc/stdio/asprintf.c: New file.
8791 * libc/stdio/vasprintf.c: Ditto.
8792 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
8793 the buffer for asprintf support.
8794 * libc/stdio/sprintf.c: Add asprintf documentation.
8795 * libc/stdio/vfprintf.c: Add vasprintf documentation.
8796 * libc/include/stdio.h: Add new prototypes.
7501704d 8797
66eee32b
TF
87982002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
8799
8800 * libc/search/hcreate.c: Remove advertising clause from license.
8801 * libc/search/hcreate_r.c: Likewise.
8802
cec4a9f8
JJ
88032002-07-02 Chris Demetriou <cgd@broadcom.com>
8804
ba3ccd63
EB
8805 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
8806 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
8807 Check that one of them is defined and error out if not.
cec4a9f8 8808 Add any platforms defined in <machine/ieeefp.h> that are missing.
ba3ccd63
EB
8809 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
8810 (DB_LITTLE_ENDIAN): New defines.
8811 * libc/search/hash.c: Replace all incorrect checks for
8812 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
8813 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
8814 * libc/search/hash_page.c: Likewise.
cec4a9f8 8815
2d5eb17e
TF
88162002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
8817
8818 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
8819
c1a3171f
JJ
88202002-06-27 Benjamin Kosnik <bkoz@redhat.com>
8821
ba3ccd63
EB
8822 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
8823 * libc/include/time.h: Same.
8824 * libc/include/string.h: Same.
8825 * libc/include/stdlib.h: Same.
8826 * libc/include/signal.h: Same.
8827 * libc/include/setjmp.h: Same.
8828 * libc/include/math.h: Same.
8829 * libc/include/locale.h: Same.
8830 * libc/include/ctype.h: Same.
8831 * libc/include/machine/setjmp.h: Same.
8832 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
8833 (_END_STD_C): Add.
c1a3171f 8834
533b4e66
JJ
88352002-06-27 Jeff Johnston <jjohnstn@redhat.com>
8836
ba3ccd63
EB
8837 * libc/include/sys/_types.h: Define _ssize_t as int if int is
8838 32-bits, otherwise define it as long.
8839 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
8840 and define ssize_t as _ssize_t.
8841 * libc/reent/readr.c: Change return type to _ssize_t.
8842 * libc/reent/writer.c: Ditto.
8843 * libc/sys/linux/Makefile.am: Add aio.c.
8844 * libc/sys/linux/Makefile.in: Regenerated.
8845 * libc/sys/linux/aio.c: New file.
8846 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
8847 * libm/common/fdlibm.h: Undef __P before defining it.
533b4e66 8848
c36e6dd7
TF
88492002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
8850
54be629f
TF
8851 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
8852 exponent_is_even_int variable. Handle case where x is
8853 negative, and y is an odd integer.
8854 * libm/mathfp/sf_pow.c (powf): Likewise.
8855
c36e6dd7
TF
8856 * libm/mathfp/er_lgamma.c: Remove __kernel references.
8857 * libm/mathfp/erf_lgamma.c: Likewise.
8858 * libm/mathfp/s_tgamma.c: Likewise.
8859 * libm/mathfp/sf_tgamma.c: Likewise.
8860
baf051ca
JJ
88612002-06-27 Jeff Johnston <jjohnstn@redhat.com>
8862
ba3ccd63
EB
8863 * libc/sys/linux/Makefile.am: Add new clock routines.
8864 * libc/sys/linux/Makefile.in: Regenerated.
8865 * libc/sys/linux/clock_getres.c: New file.
8866 * libc/sys/linux/clock_gettime.c: Ditto.
8867 * libc/sys/linux/clock_settime.c: Ditto.
8868 * libc/sys/linux/hp-timing.h: Ditto.
8869 * libc/sys/linux/libc-internal.h: Ditto.
8870 * libc/sys/linux/sysconf.c: Fix typo.
8871 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
8872 * libc/sys/linux/machine/hp-timing.h: New file.
8873 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
8874 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8875 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
8876 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
8877 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
8878 * libc/sys/linux/sys/linux_time.h: New file.
8879 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
8880 replace with <sys/linux_time.h>.
baf051ca 8881
0431ed4e
JR
8882Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
8883
8884 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
8885
fc067ba5
JJ
88862002-06-25 Jeff Johnston <jjohnstn@redhat.com>
8887
ba3ccd63
EB
8888 * libc/sys/linux/Makefile.am: Consolidate additional items under
8889 ADD_OBJS.
8890 * libc/sys/linux/Makefile.in: Regenerated.
fc067ba5 8891
ffddf61e
JJ
88922002-06-25 Jeff Johnston <jjohnstn@redhat.com>
8893
ba3ccd63
EB
8894 * libc/sys/linux/sethostname.c: New file.
8895 * libc/sys/linux/Makefile.am: Add sethostname.c support.
8896 * libc/sys/linux/Makefile.in: Regenerated.
ffddf61e 8897
d5487d3f
TF
88982002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8899
8900 * libc/search/db_local.h: New file.
8901 * libc/include/db.h: Remove.
8902 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
8903 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
8904 "db_local.h".
8905 * libc/search/hash_bigkey.c: Likewise.
8906 * libc/search/hash_buf.c: Likewise.
8907 * libc/search/hash_func.c: Likewise.
8908 * libc/search/hash_log2.c: Likewise.
8909 * libc/search/hash_page.c: Likewise.
8910
89112002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
e08a6118 8912
1e7ca711 8913 * libc/machine/sh/strlen.S: New file.
e08a6118
JR
8914 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
8915 * libc/machine/sh/Makefile.am: Regenerate.
8916
59c6d6c4
JJ
89172002-06-24 Jeff Johnston <jjohnstn@redhat.com>
8918
ba3ccd63
EB
8919 * libc/sys/linux/gethostname.c: Change name to __gethostname and
8920 add gethostname alias.
59c6d6c4 8921
a70486d7
JJ
89222002-06-24 Jeff Johnston <jjohnstn@redhat.com>
8923
8924 * libc/include/math.h: Remove <sys/types.h>.
a5dadf33 8925 (__dmath): Use __ULong instead of __uint32_t.
a70486d7 8926 * libc/include/sys/reent.h: If long or int is not 32-bits,
a5dadf33 8927 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
a70486d7
JJ
8928 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
8929 * libm/common/fdlibm.h: Ditto.
8930
3118725a
TF
89312002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8932
8933 * libc/include/ndbm.h: Remove.
8934 * libc/search/ndbm.c: Remove.
8935
30a06168
TF
89362002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
8937
8938 * libc/stdio/fseek.c (fseek): Fix braces.
8939
01f5155e
CV
89402002-06-21 Corinna Vinschen <corinna@vinschen.de>
8941
8942 * libc/time/strftime.c (strftime): Add %e format specifier.
8943
930bc96b
TF
89442002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
8945
8946 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
8947 previously defined.
8948
55105f86
JJ
89492002-06-21 Richard Earnshaw (rearnsha@arm.com)
8950
ba3ccd63
EB
8951 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
8952 (BYTE_ORDER): Define as appropriate for the target.
55105f86 8953
2e78444a
JJ
89542002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8955
8956 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
8957 to _ssize_t.
8958 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
8959
d427d092
JJ
89602002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8961
8962 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
8963 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
8964 [HAVE_GETDATE](getdate_err): New error code.
8965 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
8966 * libc/stdio/Makefile.in: Regenerated.
8967 * libc/stdio/getdelim.c: New file.
8968 * libc/stdio/getline.c: Ditto.
8969 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
8970 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
8971 * libc/sys/linux/Makefile.in: Regenerated.
8972 * libc/sys/linux/getdate.c: New file.
8973 * libc/sys/linux/getdate_err.c: Ditto.
8974 * libc/sys/linux/ntp_gettime.c: Ditto.
8975 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
8976 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
8977
35728d4f
JJ
89782002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8979
8980 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
8981 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
8982 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
8983 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
8984 * libc/include/sys/param.h: Remove i386 case which is handled
8985 by default case.
8986 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
8987 definitions in case they are already defined.
8988 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
8989 _IEEE_LITTLE_ENDIAN flags.
8990 * libc/include/sys/reent.h: Change __uint32_t references to
8991 use _ULong instead.
8992 (_REENT_GETDATE_REENT_P): New macro.
8993 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
8994 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
8995 * libc/search/hash.h: Add default setting of BYTE_ORDER,
8996 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
8997 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
8998 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
8999 pid_t, off_t, loff_t, caddr_t, and daddr_t type
9000 definitions which are done by subsequent glibc headers.
9001 Add macro definitions to prevent subsequent header files from
9002 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
9003 intptr_t to after glibc definitions of types they are based on.
9004
4a2bfab7
JJ
90052002-06-21 Jeff Johnston <jjohnstn@redhat.com>
9006
9007 * libc/include/errno.h: Protect from multiple inclusion.
9008
f42d18ea
NC
90092002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
9010
9011 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
9012
a7b23a8f
TF
90132002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
9014
9015 * Makefile.am (LIB_OBJECTLISTS): Add
9016 libc/search/objectlist.awk.in.
9017 * libc/Makefile.am (SUBDIRS): Add search.
9018 (SUBLIBS): Add search/libsearch.la.
9019 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
9020 * libc/search: New directory.
9021 * libc/search/Makefile.am: New file.
9022 * libc/search/extern.h: New file.
9023 * libc/search/hash.c: New file.
9024 * libc/search/hash.h: New file.
9025 * libc/search/hash_bigkey.c: New file.
9026 * libc/search/hash_buf.c: New file.
9027 * libc/search/hash_func.c: New file.
9028 * libc/search/hash_log2.c: New file.
9029 * libc/search/hash_page.c: New file.
9030 * libc/search/hcreate.3: New file.
9031 * libc/search/hcreate.c: New file.
a7b23a8f
TF
9032 * libc/search/hcreate_r.c: New file.
9033 * libc/search/ndbm.c: New file.
9034 * libc/search/page.h: New file.
9035 * libc/search/tdelete.c: New file.
9036 * libc/search/tdestroy.c: New file.
9037 * libc/search/tfind.c: New file.
9038 * libc/search/tsearch.3: New file.
9039 * libc/search/tsearch.c: New file.
9040 * libc/search/twalk.c: New file.
9041 * libc/include/db.h: New file.
9042 * libc/include/ndbm.h: New file.
9043 * libc/include/search.h: New file.
9044 * libc/include/sys/queue.h: New file.
9045 * libc/include/sys/cdefs.h: New file.
9046 * libc/include/sys/param.h
9047 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
9048 LITTLE_ENDIAN or BIG_ENDIAN.
9049 * libc/include/sys/errno.h (EFTYPE): New macro.
9050 * libc/search/bsearch.c: Move from libc/stdlib.
9051 * libc/search/qsort.c: Likewise.
9052 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
9053 qsort.c.
9054 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
9055 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
9056
ef467338
JJ
90572002-06-19 Jeff Johnston <jjohnstn@redhat.com>
9058
ba3ccd63
EB
9059 * libc/sys/linux/Makefile.am: Add support for message queue routines,
9060 ipc routines, and ftok.
9061 * libc/sys/linux/Makefile.in: Regenerated.
9062 * libc/sys/linux/ftok.c: New file.
9063 * libc/sys/linux/ipc.c: Ditto.
9064 * libc/sys/linux/mq_close.c: Ditto.
9065 * libc/sys/linux/mq_getattr.c: Ditto.
9066 * libc/sys/linux/mq_notify.c: Ditto.
9067 * libc/sys/linux/mq_open.c: Ditto.
9068 * libc/sys/linux/mq_receive.c: Ditto.
9069 * libc/sys/linux/mq_send.c: Ditto.
9070 * libc/sys/linux/mq_setattr.c: Ditto.
9071 * libc/sys/linux/mq_unlink.c: Ditto.
9072 * libc/sys/linux/mqlocal.h: Ditto.
9073 * libc/sys/linux/include/mqueue.h: Ditto.
9074 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
9075 __uid_t_defined.
ef467338 9076
7f55c08c
TF
90772002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
9078
9079 * libm/common/sf_lround.c (round): Change name to: (lround).
9080 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
9081 remquof.
9082
c9ca68d7
TF
90832002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
9084
9085 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
9086 procedure.
9087 (newlib_pass_fail): Change to compile and run only one file.
9088 * testsuite/newlib.locale/locale.exp: Use new
9089 newlib_pass_fail_all procedure.
9090 * testsuite/newlib.string/string.exp: Likewise.
9091
4ecedd09
DB
90922002-06-18 Dave Brolley <brolley@redhat.com>
9093
9094 From Catherine Moore, Michael Meissner, Richard Sandiford:
9095 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
9096 (_JBTYPE): Ditto.
9097 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
9098 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
9099 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
9100 * configure.host: Support frv-*-*.
9101 * libc/machine/frv/Makefile.am: New file.
9102 * libc/machine/frv/configure.in: New file.
9103 * libc/machine/frv/setjmp.S: New file.
9104
af1c257a
TF
91052002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
9106
9107 * libc/include/ctype.h: Remove isblank macro.
9108
9109 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
9110 * libc/ctype/isblank.c: New file.
9111 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
9112 declaration. Add isblank macro.
9113
4e04fa90
JJ
91142002-06-18 Jeff Johnston <jjohnstn@redhat.com>
9115
ba3ccd63
EB
9116 * testsuite/newlib.stdlib/atexit.c: New file.
9117 * testsuite/newlib.stdlib/atexit.exp: Ditto.
9118 * testsuite/newlib.string/tstring.c: Change default start size
9119 to something more reasonable for embedded platforms.
4e04fa90 9120
b56d7e79
TF
91212002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
9122
ece3c72f
TF
9123 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
9124
b56d7e79
TF
9125 * libc/argz: New directory.
9126 * libc/argz/*: New files.
9127 * libc/argz/argz_add.c: New file.
9128 * libc/argz/argz_add_sep.c: New file.
9129 * libc/argz/argz_append.c: New file.
9130 * libc/argz/argz_count.c: New file.
9131 * libc/argz/argz_create.c: New file.
9132 * libc/argz/argz_create_sep.c: New file.
9133 * libc/argz/argz_delete.c: New file.
9134 * libc/argz/argz_extract.c: New file.
9135 * libc/argz/argz_insert.c: New file.
9136 * libc/argz/argz_next.c: New file.
9137 * libc/argz/argz_replace.c: New file.
9138 * libc/argz/argz_stringify.c: New file.
9139 * libc/argz/buf_findstr.c: New file.
9140 * libc/argz/envz_add.c: New file.
9141 * libc/argz/envz_entry.c: New file.
9142 * libc/argz/envz_get.c: New file.
9143 * libc/argz/envz_merge.c: New file.
9144 * libc/argz/envz_remove.c: New file.
9145 * libc/argz/envz_strip.c: New file.
9146 * libc/include/argz.h: New file.
9147 * libc/include/envz.h: New file.
9148 * Makefile.am (LIBC_OBJECTLISTS): Add
9149 libc/argz/objectlist.awk.in.
9150 * libc/Makefile.am (SUBDIRS): Add argz.
9151 (SUBLIBS): Add argz/libargz.la.
9152 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
9153 * libc/include/errno.h: Add error_t typedef.
9154
d062d3dd
JJ
91552002-06-13 Jeff Johnston <jjohnstn@redhat.com>
9156
9157 * libc/include/stdlib.h: Add _Exit prototype.
9158 * libc/stdlib/Makefile.am: Add _Exit.c support.
9159 * libc/stdlib/Makefile.in: Ditto.
9160 * libc/stdlib/_Exit.c: New file.
9161
a47e66ae
JJ
91622002-06-13 Stephen L. Moshier <steve@moshier.net>
9163
9164 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
9165 x is close to -1.0 and y is very large to use ax (absolute value)
9166 instead of x.
9167 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
9168
13f7d71f
JR
9169Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
9170
9171 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
9172 Fix clobbering bytes before destination if src and dst have same
9173 non-zero misalignment.
1f1fb421
JR
9174
9175 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
9176 Fixed bug in writing end of set region.
9177
b2e8018f
CF
91782002-06-10 Christopher Faylor <cgf@redhat.com>
9179
9180 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
9181 spawnve declaration.
9182
0953fe64
TF
91832002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
9184
9185 * libm/common/s_fdim.c: New file.
9186 * libm/common/s_fma.c: Likewise.
9187 * libm/common/s_fmax.c: Likewise.
9188 * libm/common/s_fmin.c: Likewise.
9189 * libm/common/s_fpclassify.c: Likewise.
9190 * libm/common/s_lrint.c: Likewise.
9191 * libm/common/s_lround.c: Likewise.
9192 * libm/common/s_nearbyint.c: Likewise.
9193 * libm/common/s_remquo.c: Likewise.
9194 * libm/common/s_round.c: Likewise.
9195 * libm/common/s_scalbln.c: Likewise.
9196 * libm/common/s_signbit.c: Likewise.
9197 * libm/common/s_trunc.c: Likewise.
9198 * libm/common/sf_fdim.c: Likewise.
9199 * libm/common/sf_fma.c: Likewise.
9200 * libm/common/sf_fmax.c: Likewise.
9201 * libm/common/sf_fmin.c: Likewise.
9202 * libm/common/sf_lrint.c: Likewise.
9203 * libm/common/sf_lround.c: Likewise.
9204 * libm/common/sf_nearbyint.c: Likewise.
9205 * libm/common/sf_remquo.c: Likewise.
9206 * libm/common/sf_round.c: Likewise.
9207 * libm/common/sf_scalbln.c: Likewise.
9208 * libm/common/sf_trunc.c: Likewise.
9209 * libm/math/w_exp2.c: Likewise.
9210 * libm/math/w_tgamma.c: Likewise.
9211 * libm/math/wf_exp2.c: Likewise.
9212 * libm/math/wf_tgamma.c: Likewise.
9213 * libm/mathfp/s_exp2.c: Likewise.
9214 * libm/mathfp/s_tgamma.c: Likewise.
9215 * libm/mathfp/sf_exp2.c: Likewise.
9216 * libm/mathfp/sf_tgamma.c: Likewise.
9217 * libm/math/er_gamma.c: Fix return value.
9218 * libm/math/erf_gamma.c: Likewise.
9219 * libm/mathfp/er_gamma.c: Likewise.
9220 * libm/mathfp/erf_gamma.c: Likewise.
9221 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
9222 declarations and macros.
9223 Regenerated all Makefile.in, aclocal.m4 and configure files to
9224 use new libtool macros in top-level libtool.m4
9225
39e65e01
JJ
92262002-06-05 Jeff Johnston <jjohnstn@redhat.com>
9227
ba3ccd63
EB
9228 * libc/include/string.h[__linux__]: Add strsignal prototype.
9229 * libc/include/sys/lock.h: New file with default locking support.
9230 * libc/include/sys/reent.h: Add signal buffer support for strsignal
9231 and psignal.
9232 * libc/posix/Makefile.am: Add support for readdir_r.c.
9233 * libc/posix/Makefile.in: Regenerated.
9234 * libc/posix/closedir.c: Add locking support and hash table cleanup.
9235 * libc/posix/opendir.c: Add lock support.
9236 * libc/posix/readdir.c: Ditto.
9237 * libc/posix/rewinddir.c: Ditto.
9238 * libc/posix/scandir.c: Ditto.
9239 * libc/posix/seekdir.c: Ditto.
9240 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
9241 clean up leftover hash table entries.
9242 * libc/posix/readdir_r.c: New file.
9243 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
9244 * libc/sys/linux/Makefile.in: Regenerated.
9245 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
9246 * libc/sys/linux/sys/signal.h: Add psignal prototype.
9247 * libc/sys/linux/psignal.c: New file.
9248 * libc/sys/linux/strsignal.c: Ditto.
39e65e01 9249
cc890e89
CV
92502002-06-03 Corinna Vinschen <corinna@vinschen.de>
9251
9252 * libc/include/sys/types.h: Don't define dev_t when compiling for
9253 Cygwin.
9254
ea55e3f7
JJ
92552002-05-31 Jeff Johnston <jjohnstn@redhat.com>
9256
ba3ccd63
EB
9257 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
9258 make siglist.inc dependent on sig.c instead of signal.c.
9259 * libc/sys/linux/Makefile.in: Regenerated.
9260 * libc/sys/linux/sig.c: Rename from signal.c and change code to
9261 use NSIG instead of _NSIG.
9262 * libc/sys/linux/sigaction.c: New file.
9263 * libc/sys/linux/signal.c: Changed to be linux signal() function
9264 so as to override regular newlib default signal.c.
9265 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
9266 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
9267 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
9268 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
9269 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
9270 default linux sigset_t typedef by defining it equal to __sigset_t.
9271 * libc/unix/sigset.c: Add check so code isn't compiled on systems
9272 with a sigset_t that isn't implemented with a single int.
ea55e3f7 9273
9d362914
JJ
92742002-05-30 Jeff Johnston <jjohnstn@redhat.com>
9275
ba3ccd63
EB
9276 * libc/sys/linux/Makefile.am: Add support for new files.
9277 * libc/sys/linux/Makefile.in: Regenerated.
9278 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
9279 * libc/sys/linux/signal.c: Change to use real-time syscalls for
9280 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
9281 it is in a separate file now.
9282 * libc/sys/linux/machine/i386/Makefile.am
9283 * libc/sys/linux/machine/i386/Makefile.in
9284 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
9285 * libc/sys/linux/sigaction.c: New file.
9286 * libc/sys/linux/sigqueue.c: Ditto.
9287 * libc/sys/linux/sigwait.c: Ditto.
9288 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
9289 * libc/sys/linux/kernel_sigaction.h: Ditto.
9d362914 9290
b1f07180
JJ
92912002-05-28 Jeff Johnston <jjohnstn@redhat.com>
9292
ba3ccd63
EB
9293 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
9294 tcsendbrk.c.
9295 * libc/sys/linux/Makefile.in: Regenerated.
9296 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
9297 tcgetpgrp(), and tcsetpgrp() functions.
9298 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
9299 to get __MAX_BAUD rate.
9300 * libc/sys/linux/machine/i386/include/termios.h: New file.
9301 * libc/include/machine/termios.h: Ditto.
9302 * libc/sys/linux/cfspeed.c: Ditto.
9303 * libc/sys/linux/tcsendbrk.c: Ditto.
b1f07180 9304
d29587b4
JJ
93052002-05-24 Jeff Johnston <jjohnstn@redhat.com>
9306
ba3ccd63
EB
9307 * libc/include/string.h: Add strnlen and strerror_r prototypes.
9308 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
9309 * libc/string/Makefile.in: Regenerated.
9310 * libc/string/strerror_r.c: New file.
9311 * libc/string/strnlen.c: New file.
9312 * libc/sys/linux/Makefile.am: Add rename.c.
9313 * libc/sys/linux/Makefile.in: Regenerated.
9314 * libc/sys/linux/rename.c: New file to override default rename.
d29587b4 9315
9a292385
TF
93162002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
9317
9318 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
9319 * libc/sys/linux/sys/time.h: Add conversion macros.
9320 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
9321 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
9322 * libc/sys/linux/gethostname.c: New file.
9323 * libc/sys/linux/seteuid.c: New file.
9324 * libc/sys/linux/sysctl.c: New file.
17c0c97d 9325
7a364eb3
JJ
93262002-05-23 Jeff Johnston <jjohnstn@redhat.com>
9327
ba3ccd63
EB
9328 * libc/string/Makefile.am: Add support for strsep.c.
9329 * libc/string/Makefile.in: Regenerated.
9330 * libc/string/strsep.c: New file.
9331 * libc/string/strtok.c: Change to call __strtok_r service routine.
9332 * libc/string/strtok_r.c: Add __strtok_r routine which takes
9333 additional flag parameter regarding whether to skip leading delimeters.
9334 Change strtok_r to call __strtok_r.
7a364eb3 9335
164ee5b0
JJ
93362002-05-23 Gareth Pearce <tilps@hotmail.com>
9337
ba3ccd63
EB
9338 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
9339 * libc/stdio/Makefile.in: Regenerated.
9340 * libc/stdio/setbuffer.c: New file.
9341 * libc/stdio/setlinebuf.c: New file.
164ee5b0 9342
f6b2b567
JJ
93432002-05-23 Jeff Johnston <jjohnstn@redhat.com>
9344
ba3ccd63
EB
9345 * libc/sys/linux/Makefile.am: Add resource.c.
9346 * libc/sys/linux/Makefile.in: Regenerated.
9347 * libc/sys/linux/resource.c: New file.
9348 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
9349 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
9350 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
9351 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
9352 are now found in libc/sys/linux/resource.c.
f6b2b567 9353
afe56517
JJ
93542002-05-23 Jeff Johnston <jjohnstn@redhat.com>
9355
ba3ccd63
EB
9356 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
9357 to use void * pointers and comply with Single Unix spec.
9358 * libc/string/bcmp.c: Change to use void * instead of char *.
9359 * libc/string/bcopy.c: Ditto.
9360 * libc/string/bzero.c: Ditto.
afe56517 9361
7736feb2
JJ
93622002-05-22 Jeff Johnston <jjohnstn@redhat.com>
9363
9364 * libc/sys/linux/shm_open.c: New file.
9365 * libc/sys/linux/shm_unlink.c: Ditto.
9366 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
9367 shm_unlink.c.
9368 * libc/sys/linux/Makefile.in: Regenerated.
9369 * libc/sys/linux/sys/types.h: Add some additional checks to see
9370 if clock_t or time_t is already defined.
9371
19f111bd
JJ
93722002-05-22 Jeff Johnston <jjohnstn@redhat.com>
9373
ba3ccd63
EB
9374 * Makefile.am: Don't pass $toollibdir down directly in
9375 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
9376 Pass it under the name: top_toollibdir.
9377 * Makefile.in: Regenerated.
19f111bd 9378
c811b1ee
CV
93792002-05-22 Corinna Vinschen <vinschen@redhat.com>
9380
9381 * libc/include/sys/types.h: Revert previous patch.
9382
2b43ad33
CV
93832002-05-22 Corinna Vinschen <vinschen@redhat.com>
9384
9385 * libc/include/sys/types.h: Include cygwin/types.h always under
9386 Cygwin, not only if _POSIX_THREADS is defined.
9387
dd671cde
TF
93882002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
9389
9390 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
9391
5e2cbfb6
JJ
93922002-05-17 Jeff Johnston <jjohnstn@redhat.com>
9393
9394 * Makefile.am: Copy and install headers from sys/machine/include
9395 directory. Also pass $toollibdir to lower-level directories.
9396 * Makefile.in: Regenerated.
17c0c97d 9397 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
5e2cbfb6
JJ
9398 stderr to use _REENT macro instead of _impure_ptr directly.
9399 * libc/include/sys/config.h[__i386__][__linux__]: Define
9400 __DYNAMIC_REENT__.
17c0c97d 9401 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
5e2cbfb6
JJ
9402 call to __getreent() function if !__SINGLE_THREAD__ and
9403 __DYNAMIC_REENT__ is set.
9404 * libc/reent/Makefile.am: Add support for getreent.c.
9405 * libc/reent/Makefile.in: Regenerated.
9406 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
9407 * libc/sys/linux/Makefile.am: Add support for new files.
9408 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
9409 * libc/sys/linux/Makefile.in: Regenerated.
9410 * libc/sys/linux/configure: Ditto.
9411 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
9412 __close, __read, __write, __poll, __open, __lseek, __fcntl from
9413 their __libc_ counterparts.
9414 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
9415 and weak-alias to regular names.
9416 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
9417 to pread64 and __pread64.
9418 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
9419 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
9420 weak-alias to pwrite64.
9421 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
9422 __libc_sched_getscheduler, __libc_sched_get_priority_max,
9423 __libc_sched_get_priority_min, and __libc_sched_setschedule to
17c0c97d 9424 name with __ instead of __libc_.
5e2cbfb6
JJ
9425 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
9426 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
9427 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
9428 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
9429 to raise.
9430 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
9431 __libc_send to __send.
9432 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
9433 __gettimeofday.
9434 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
9435 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
9436 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
9437 type and typedef __jmp_buf to jmp_buf.
9438 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
9439 setjmp.S.
9440 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
9441 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
9442 section.
9443 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
9444 prefix for function macros and then use weak_alias() to regular names.
9445 * libc/sys/linux/machine/i386/syscall.h: Ditto.
9446 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
9447 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
9448 to be flockfile() and funlockfile() respectively.
9449 * libc/sys/linux/sys/types.h
9450 * libc/reent/getreent.c: New file.
9451 * libc/sys/linux/flockfile.c: Ditto.
9452 * libc/sys/linux/funlockfile.c: Ditto.
9453 * libc/sys/linux/getreent.c: Ditto.
9454 * libc/sys/linux/pread.c: Ditto.
9455 * libc/sys/linux/pwrite.c: Ditto.
9456 * libc/sys/linux/raise.c: Ditto.
9457 * libc/sys/linux/system.c: Ditto.
9458 * libc/sys/linux/tcdrain.c: Ditto.
9459 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
9460 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
9461 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
9462 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
9463 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
9464
7fc85bd1
TF
94652002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
9466
9467 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
9468 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
9469 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
9470 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
9471
6935231f 9472Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
d7a2f413
JR
9473
9474 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
6935231f
JR
9475 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
9476 exit point.
d7a2f413 9477
3a6cb01b
TF
94782002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
9479
a68fa571
TF
9480 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
9481 options when testing natively on i[3456]86-*-linux.
9482
3a6cb01b
TF
9483 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
9484 only one pass or fail per test file. Trim \r's from output
9485 values received from test programs. Remove support for named
9486 tests.
9487 * testsuite/newlib.locale/UTF-8.exp: Update to support new
9488 newlib_check_output behaviour.
9489 * testsuite/newlib.locale/UTF-8.c: Likewise.
9490
dc824ef7
JJ
94912002-05-15 Jeff Johnston <jjohnstn@redhat.com>
9492
ba3ccd63
EB
9493 * libc/include/stdlib.h: Add on_exit prototype.
9494 * libc/include/sys/reent.h (struct _atexit): Add argument array
9495 and bits to track type of exit routine to support both on_exit
9496 and atexit.
9497 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
9498 by default and change the setting of the atexit structure.
9499 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
9500 * libc/stdlib/on_exit.c: New file.
9501 * libc/stdlib/Makefile.am: Add support for on_exit.
9502 * libc/stdlib/Makefile.in: Regenerated.
9503 * libc/stdlib/atexit.c: Change to initialize types field.
9504 * libc/stdlib/exit.c: Change to look at types field for each
9505 exit routine and either call an atexit-style or an on_exit-style
9506 routine accordingly.
dc824ef7 9507
48d91b4a
JJ
95082002-05-13 Jeff Johnston <jjohnstn@redhat.com>
9509
ba3ccd63
EB
9510 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
9511 allow v specifier with n or L specifiers. For vector c format,
9512 move tmp declaration to the top.
48d91b4a 9513
024739eb
JJ
95142002-05-13 Jeff Johnston <jjohnstn@redhat.com>
9515
ba3ccd63
EB
9516 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
9517 the original format specifier when looping for vectors to compensate
9518 for any changes made in vector %g format processing.
9519 Also add syntax checking for various invalid scenarios
9520 involving vector format extensions.
9521 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
9522 return code setting for vector formats. Also treat vector
9523 separator mismatch as a match error instead of an input error.
9524 Perform some syntax checking for vector formats.
024739eb 9525
7d2ce898
TF
95262002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9527
9528 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
9529 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
9530 * libc/string/strlcat.c: New file.
9531 * libc/string/strlcpy.c: New file.
9532
809b6ce7
JJ
95332002-05-10 Jeff Johnston <jjohnstn@redhat.com>
9534
9535 * libc/string/strchr.c: Fix comment typo.
9536
76490806
TF
95372002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
9538
0c048a9a
TF
9539 * acinclude.m4: Add support for --enable-newlib-multithread.
9540 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
9541 --enable-newlib-multithread=no.
9542
76490806
TF
9543 * libc/stdio/getc_u.c: New file.
9544 * libc/stdio/getchar_u.c: New file.
9545 * libc/stdio/putc_u.c: New file.
9546 * libc/stdio/putchar_u.c: New file.
9547 * libc/include/stdio.h: Add declarations for getc_unlocked,
9548 getchar_unlocked, putc_unlocked and putchar_unlocked.
9549 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
9550 (CHEWOUT_FILES): Add new files' .def's.
9551 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
9552
96bff22c
JR
9553Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
9554
9555 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
9556 Also handle as single quad word when destination ends at last
9557 byte of first quad word. Fix byte selection in single quad code.
9558
e71372fa
TF
95592002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
9560
9561 * libc/include/sys/stdio.h: New file.
9562 * libc/sys/linux/sys/stdio.h: New file.
9563 * libc/include/stdio.h: Add declarations for flockfile,
9564 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
9565 * libc/stdio/clearerr.c: Add file locking.
9566 * libc/stdio/fclose.c: Likewise.
9567 * libc/stdio/feof.c: Likewise.
9568 * libc/stdio/ferror.c: Likewise.
9569 * libc/stdio/fflush.c: Likewise.
9570 * libc/stdio/fgetc.c: Likewise.
9571 * libc/stdio/fgetpos.c: Likewise.
9572 * libc/stdio/fgets.c: Likewise.
9573 * libc/stdio/fileno.c: Likewise.
9574 * libc/stdio/fputc.c: Likewise.
9575 * libc/stdio/fputs.c: Likewise.
9576 * libc/stdio/fread.c: Likewise.
9577 * libc/stdio/freopen.c: Likewise.
9578 * libc/stdio/fseek.c: Likewise.
9579 * libc/stdio/ftell.c: Likewise.
9580 * libc/stdio/fwrite.c: Likewise.
9581 * libc/stdio/getc.c: Likewise.
9582 * libc/stdio/putc.c: Likewise.
9583 * libc/stdio/setvbuf.c: Likewise.
9584 * libc/stdio/ungetc.c: Likewise.
9585 * libc/stdio/vfprintf.c: Likewise.
9586
a03790e4
JJ
95872002-05-06 Jeff Johnston <jjohnstn@redhat.com>
9588
60b2107c
TF
9589 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
9590 support for 'p' format. Fix code to print bytes for vector
9591 integer formats that do not specify 'h' or 'l'.
9592 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
9593 for 'p' specifier. Fix code to scan 16 bytes for vector integer
9594 formats that do not specify 'h' or 'l'.
9595
9596 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
9597
9c7d6a9d
TF
95982002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
9599
9600 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
9601 (_sbrk): Add cast of return value.
9602
c33c3635
JJ
96032002-05-06 Jeff Johnston <jjohnstn@redhat.com>
9604
9605 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
9606 (_REENT_L64A_BUF): New macro for accessing area.
9607 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
9608 * libc/stdlib/Makefile.in: Regenerated.
9609 * libc/stdlib/a64l.c: New file.
9610 * libc/stdlib/l64a.c: New file.
9611
f78e59a8
JJ
96122002-05-06 Jeff Johnston <jjohnstn@redhat.com>
9613
ba3ccd63
EB
9614 * libc/unix/pread.c: Fix typo for _pread_r.
9615 * libc/unix/pwrite.c: Fix type for _pwrite_r.
9616 * libc/sys/linux/pread64.c: Fix typo for read syscall.
9617 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
f78e59a8 9618
4b3f6588
CF
96192002-05-03 Christopher Faylor <cgf@redhat.com>
9620
9621 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
9622
e911832c
TF
96232002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
9624
9625 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
9626
0d0fdc8d
CF
96272002-05-01 Christopher Faylor <cgf@redhat.com>
9628
9629 * utmp.h: Define more UNIX constants.
9630
1e997c56
TF
96312002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
9632
0717f01c
TF
9633 * Makefile.am: Add support for checking multilibs.
9634
09841445
TF
9635 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
9636 (SUBDEFS): Add LIBC_EXTRA_DEF.
9637 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
9638 (LIBC_EXTRA_DEF): Likewise.
9639 (extra_dir): Likewise.
9640 * libc/machine/xscale/machine: New directory.
9641 * libc/machine/xscale/machine/profile.h: New file.
9642
1e997c56
TF
9643 * Makefile.am (site.exp): Remove newlib_cflags. Add
9644 multibuildtop.
9645 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
9646 * testsuite/lib/flags.exp: New file.
9647 * testsuite/lib/newlib.exp: Load flags.exp.
9648 (newlib_target_compile): Remove libgloss directory references.
9649 (newlib_init): Remove newlib_cflags references.
9650
4cf4f010
TF
96512002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
9652
f6bdb6f9
TF
9653 * testsuite/lib/newlib.exp (newlib_target_compile): Change
9654 method of finding libgloss_target_dir.
9655
4cf4f010
TF
9656 * Makefile.am (site.exp): Change host_alias, host_triplet,
9657 target_alias, target_triplet to refer to gcc's host and target
9658 variables (newlib's build and host variables).
9659 * testsuite/lib/newlib.exp (newlib_init): Change build
9660 references to host references, host references to target
9661 references to reflect Makefile.am changes.
9662 (newlib_target_compile): Likewise.
9663 (newlib_finish): Likewise.
9664
83096ae8
JJ
96652002-04-29 Jeff Johnston <jjohnstn@redhat.com>
9666
9667 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
9668
822afa53
JL
96692002-04-29 Jonathan Larmour <jlarmour@redhat.com>
9670
9671 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
9672 (_system): New function. Ditto.
9673 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
9674 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
9675 targets.
9676
29798f0d
JJ
96772002-04-29 Jeff Johnston <jjohnstn@redhat.com>
9678
ba3ccd63
EB
9679 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
9680 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
9681 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
9682 * libc/sys/linux/Makefile.in: Regenerated.
9683 * libc/unix/Makefile.in: Ditto.
9684 * libc/sys/linux/pread64.c: New file.
9685 * libc/sys/linux/pwrite64.c: Ditto.
9686 * libc/unix/pread.c: Ditto.
9687 * libc/unix/pwrite.c: Ditto.
29798f0d 9688
557856bd
JJ
96892002-04-26 Jeff Johnston <jjohnstn@redhat.com>
9690
9691 * libc/sys/linux/Makefile.am: Add io64.c.
9692 * libc/sys/linux/Makefile.in: Regenerated.
9693 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
17c0c97d 9694 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
557856bd
JJ
9695 * libc/sys/linux/io64.c: New file.
9696
7b2b12d5
JJ
96972002-04-26 Jeff Johnston <jjohnstn@redhat.com>
9698
9699 * configure.in (CC_FOR_NEWLIB): New variable that
9700 bases on $(CC) and adds targ-include and libc/include as
9701 -isystem directives if they are not already part of $(CC).
9702 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
9703 $(CC_FOR_NEWLIB).
9704 * configure: Regenerated.
9705 * Makefile.in: Ditto.
9706
c62adacc
JJ
97072002-04-25 Jeff Johnston <jjohnstn@redhat.com>
9708
9709 * libc/sys/linux/Makefile.am: Add support for sched.c.
9710 * libc/sys/linux/Makefile.in: Regenerated.
9711 * libc/sys/linux/sched.c: New file.
9712 * libc/sys/linux/sys/types.h: Add struct timespec.
9713
217ad4a0
TF
97142002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
9715
9716 * configure.in (CC_FOR_BUILD): Set to gcc whether
9717 cross-compiling or not.
9718 (CC): Add -isystem's for targ-include and libc/include when they
9719 do not already appear in CC.
9720
eaa75b70
TF
97212002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
9722
9723 * Makefile.am (check-DEJAGNU): New target.
9724 (site.exp): Likewise.
9725 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
9726 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
9727 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
9728 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
9729 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
9730 * testsuite: New directory.
9731 * testsuite/config: Likewise.
9732 * testsuite/lib: Likewise.
9733 * testsuite/newlib.locale: Likewise.
9734 * testsuite/newlib.string: Likewise.
9735 * testsuite/config/default.exp: New file.
9736 * testsuite/lib/checkoutput.exp: New file.
9737 * testsuite/lib/newlib.exp: New file.
9738 * testsuite/lib/passfail.exp: New file.
9739 * testsuite/newlib.locale/UTF-8.c: New file.
9740 * testsuite/newlib.locale/UTF-8.exp: New file.
9741 * testsuite/newlib.locale/locale.exp: New file.
9742 * testsuite/newlib.string/string.exp: New file.
9743 * testsuite/newlib.string/tstring.c: New file.
9744
b9f9f699
JJ
97452002-04-23 Jeff Johnston <jjohnstn@redhat.com>
9746
ba3ccd63
EB
9747 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
9748 * libc/sys/linux/Makefile.am: Add support for mmap.c.
9749 * libc/sys/linux/Makefile.in: Regenerated.
9750 * libc/sys/linux/mmap.c: New file.
9751 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
9752 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
b9f9f699 9753
7394edbb
TF
97542002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
9755
9756 * acinclude.m4 (newlib_cflags): Remove include directories that
9757 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
9758
b9f9f699 97592002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
59be2290
JJ
9760
9761 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
9762 * libc/machine/xscale/memcmp.c: Ditto.
9763 * libc/machine/xscale/memcpy.c: Ditto.
9764 * libc/machine/xscale/memmove.c: Ditto.
9765 * libc/machine/xscale/memset.c: Ditto.
9766 * libc/machine/xscale/strchr.c: Ditto.
9767 * libc/machine/xscale/strcmp.c: Ditto.
9768 * libc/machine/xscale/strcpy.c: Ditto.
9769 * libc/machine/xscale/strlen.c: Ditto.
9770
2dd4c4dc
JJ
97712002-04-19 Alexandre Oliva <aoliva@redhat.com>
9772
ba3ccd63
EB
9773 * libc/include/sys/config.h: Remove include of <limits.h>.
9774 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
9775 define INT_MAX and LONG_MAX. Use them in tests.
2dd4c4dc 9776
0d844014
JJ
97772002-04-19 Jeff Johnston <jjohnstn@redhat.com>
9778
9779 * configure.host: Add support for powerpc-eabialtivec*.
9780 * libc/include/malloc.h: Add include of <machine/malloc.h>.
9781 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
9782 * libc/include/machine/malloc.h: New file.
9783 * libc/include/machine/stdlib.h: Ditto.
9784 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
9785 * libc/machine/powerpc/Makefile.am: Add conditional objects and
9786 sources based on configuration.
9787 * libc/machine/powerpc/Makefile.in: Regenerated.
9788 * libc/machine/powerpc/configure: Ditto.
9789 * libc/machine/powerpc/configure.in: Add check for
9790 powerpc-eabialtivec* in which case add in additional source files.
9791 * libc/machine/powerpc/setjmp.S: Add altivec support.
9792 * libc/machine/powerpc/vec_calloc.c: New file.
9793 * libc/machine/powerpc/vec_free.c: Ditto.
9794 * libc/machine/powerpc/vec_malloc.c: Ditto.
9795 * libc/machine/powerpc/vec_mallocr.c: Ditto.
9796 * libc/machine/powerpc/vec_realloc.c: Ditto.
9797 * libc/machine/powerpc/machine/malloc.h: Ditto.
9798 * libc/machine/powerpc/machine/stdlib.h: Ditto.
9799 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
9800 with added altivec format specifiers.
9801 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
9802 added altivec format specifiers.
9803
d413aadc
JS
98042002-04-19 Joel Sherrill <joel@OARcorp.com>
9805
9806 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
9807 while autoconf is trying to link main(){}.
9808
27193895
JJ
98092002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9810
ba3ccd63
EB
9811 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
9812 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
27193895 9813
10d00216
JJ
98142002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9815
6b0f808e
JJ
9816 * libc/time/time.tex: Add tzset info.
9817
98182002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9819
9820 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
9821 (strptime): Moved prototype to be within !__STRICT_ANSI__.
9822 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
9823 (tzname): Defined for all platforms.
9824 (daylight, timezone): Defined only for CYGWIN.
9825 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
9826 environment set up.
9827 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
9828 environment variable is set.
9829 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
9830 tzset_r.c.
9831 * libc/time/Makefile.in: Regenerated.
9832 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
9833 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
9834 * libc/time/lcltime_r.c (lcltime_r): Ditto.
9835 * libc/time/local.h: New local header file.
9836 * libc/time/mktime.c (mktime): Add timezone support.
9837 * libc/time/mktm_r.c: New file which is the common engine
9838 for gmtime_r and lcltime_r. This code has timezone support.
9839 * libc/time/strftime.c (strftime): Add %Z timezone support.
9840 * libc/time/tzlock.c: New file containing timezone lock stubs.
9841 * libc/time/tzset.c: New file containing tzset() routine.
9842 * libc/time/tzset_r.c: New file containing _tzset_r and
9843 internal routine for calculating timezone changes for specified year.
9844
98452002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
9846
9847 * configure.in (CRT0_DIR): Set to libc/.
9848 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
9849 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
9850 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
9851 $(CRT1_DIR)/$(CRT1).
9852 * libc/machine/xstormy16/Makefile.in: Regenerated.
9853 * libc/machine/xstormy16/aclocal.m4: Regenerated.
9854 * libc/machine/xstormy16/configure: Regenerated.
9855
98562002-04-13 Alexandre Oliva <aoliva@redhat.com>
9857
9858 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
9859 fails, don't bail out, and try to correct next time.
9860
9861 * libc/include/sys/config.h: Include limits.h.
9862
98632002-04-12 Eric Norum <eric.norum@usask.com>
9864
9865 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
9866 routine to allow autoconf to determine that building executables
9867 for rtems works.
9868 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
9869 (rtems_gxx_mutex_once): Ditto.
9870
98712002-04-09 Tom Rix <trix@redhat.com>
9872
9873 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
9874
98752002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9876
ba3ccd63
EB
9877 * libc/include/time.h: Fix strptime declaration.
9878 * libc/time/Makefile.am: Add strptime.c.
6b0f808e 9879 * libc/time/Makefile.in: Regenerated.
ba3ccd63 9880 * libc/time/strptime.c: New file.
6b0f808e
JJ
9881
98822002-04-08 Jeff Johnston <jjohnstn@redhat.com>
9883
9884 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
9885 siglongjmp prototype, and sigsetjmp macro definition.
9886 * libc/sys/linux/siglongjmp.c: New file.
9887 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
9888 * libc/sys/linux/Makefile.in: Regenerated.
9889
98902002-04-04 Jeff Johnston <jjohnstn@redhat.com>
9891
9892 * Makefile.am: Add support for installing crt1.o if one exists.
9893 * configure.host: Specify crt1.o for linux.
9894 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
9895 * Makefile.in: Regenerated.
9896 * configure: Ditto.
9897 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
9898 Added for non-Cygwin, non-RTEMS configurations.
9899 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
9900 * libc/sys/linux/Makefile.in: Regenerated.
9901 * libc/sys/linux/crt1.c: New empty file to override one defaulted
9902 by gcc. This fixes problem with reconfiguring linux newlib build.
9903 * libc/sys/linux/sysconf.c: New file.
9904
99052002-04-03 Jeff Johnston <jjohnstn@redhat.com>
9906
9907 * configure.host: Add support for machine subdirectory of
9908 sys subdirectory.
9909 * configure.in: Add check for sys machine subdirectory.
9910 * Makefile.am: Ditto.
9911 * configure: Regenerated.
9912 * Makefile.in: Ditto.
9913 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
9914 * libc/sys/linux/sys/syscall.h: Ditto.
9915 * libc/sys/linux/sleep.c: New file.
9916 * libc/sys/linux/socket.c: Ditto.
9917 * libc/sys/linux/sockops.h: Ditto.
9918 * libc/sys/linux/stack.c: Ditto.
9919 * libc/sys/linux/usleep.c: Ditto.
9920 * libc/sys/linux/machine/Makefile.am: Ditto.
9921 * libc/sys/linux/machine/Makefile.in: Ditto.
9922 * libc/sys/linux/machine/aclocal.m4: Ditto.
9923 * libc/sys/linux/machine/configure: Ditto.
9924 * libc/sys/linux/machine/configure.in: Ditto.
9925 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
9926 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
9927 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
9928 * libc/sys/linux/machine/i386/configure: Ditto.
9929 * libc/sys/linux/machine/i386/configure.in: Ditto.
9930 * libc/sys/linux/machine/i386/crt0.c: Ditto.
9931 * libc/sys/linux/machine/i386/sigset.c: Ditto.
9932 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
9933 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
9934 * libc/sys/linux/machine/i386/syscall.h: Ditto.
9935 * libc/sys/linux/sys/select.h: Ditto.
9936 * libc/sys/linux/configure.in: Add support for machine directory.
9937 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
9938 * libc/sys/linux/Makefile.in: Regenerated.
9939 * libc/sys/linux/configure: Ditto.
9940 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
9941 * libc/sys/linux/inode.c: Ditto.
9942 * libc/sys/linux/linux.c: Ditto.
9943 * libc/sys/linux/process.c: Ditto.
9944 * libc/sys/linux/systat.c: Ditto.
9945 * libc/sys/linux/time.c: Ditto.
9946 * libc/sys/linux/wait.c: Ditto.
9947 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
9948 * libc/sys/linux/io.c: Change header plus add readv/writev.
9949 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
9950 use __sigsuspend syscall.
9951 * libc/sys/linux/select.c: Change header plus change select to
9952 use _newselect syscall.
9953 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
9954 used by glibc header files.
9955 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
9956 types.
9957
99582002-04-01 Jeff Johnston <jjohnstn@redhat.com>
9959
9960 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
9961 initializing a struct _reent that has been dynamically allocated.
9962 (_REENT_CHECK_MISC): New macro that checks _misc struct for
9963 _REENT_SMALL and does nothing otherwise.
9964 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
9965 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
9966 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
9967 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
9968 [_REENT_SMALL](struct _misc_reent): New structure containing
9969 miscellaneous reentrant areas needed by newlib.
9970 [_REENT_SMALL](struct _reent): Add _misc pointer.
9971 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
9972 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
9973 and _REENT_STRTOK_LAST macros.
9974 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
9975 and _REENT_MBLEN_STATE macros.
9976 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
9977 and _REENT_MBTOWC_STATE macros.
9978 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
9979 and _REENT_WCTOMB_STATE macros.
9980
99812002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
9982
9983 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
9984
9985Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
9986
9987 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
9988
9989Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
9990
9991 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
9992 Store high part of leading bytes too.
9993
99942002-03-22 Richard Sandiford <rsandifo@redhat.com>
9995
9996 * libm/math/ef_hypot.c: Increase scale factor to 68.
9997
99982002-03-13 Alexandre Oliva <aoliva@redhat.com>
9999
10000 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
10001 error.
10002
100032002-03-12 Jeff Johnston <jjohnstn@redhat.com>
10004
ba3ccd63
EB
10005 * libc/sys/go32/access.c: Change license to relaxed license
10006 used in identical file throughout newlib/libgloss.
6b0f808e
JJ
10007
100082002-03-12 Richard Earnshaw <rearnsha@arm.com>
10009
10010 * libc/sys/arm/access.c: New file.
10011 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
10012 * libc/sys/arm/Makefile.in: Regenerate.
10013 * libc/sys/arm/syscalls.c (_stat): New function.
10014
100152002-03-11 Michael Meissner <meissner@redhat.com>
10016
10017 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
10018 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
10019 * libc/machine/mips/Makefile.in: Regenerate.
10020 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
10021 * libc/machine/mips/memset.c: Dito.
10022 * libc/machine/mips/strcmp.c: Dito.
10023 * libc/machine/mips/strlen.c: Dito.
10024 * libc/machine/mips/strncmp.c: Dito.
10025
100262002-03-06 Jeff Johnston <jjohnstn@redhat.com>
10027
10028 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
10029 object so it works for shared library or statici library.
100302002-04-17 Jeff Johnston <jjohnstn@redhat.com>
10031
10d00216
JJ
10032 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
10033 (strptime): Moved prototype to be within !__STRICT_ANSI__.
10034 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
10035 (tzname): Defined for all platforms.
10036 (daylight, timezone): Defined only for CYGWIN.
10037 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
10038 environment set up.
10039 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
10040 environment variable is set.
10041 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
10042 tzset_r.c.
10043 * libc/time/Makefile.in: Regenerated.
10044 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
10045 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
10046 * libc/time/lcltime_r.c (lcltime_r): Ditto.
10047 * libc/time/local.h: New local header file.
10048 * libc/time/mktime.c (mktime): Add timezone support.
10049 * libc/time/mktm_r.c: New file which is the common engine
10050 for gmtime_r and lcltime_r. This code has timezone support.
10051 * libc/time/strftime.c (strftime): Add %Z timezone support.
10052 * libc/time/tzlock.c: New file containing timezone lock stubs.
10053 * libc/time/tzset.c: New file containing tzset() routine.
10054 * libc/time/tzset_r.c: New file containing _tzset_r and
10055 internal routine for calculating timezone changes for specified year.
10056
5f1c13c6
TF
100572002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
10058
10059 * configure.in (CRT0_DIR): Set to libc/.
10060 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
10061 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
10062 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
10063 $(CRT1_DIR)/$(CRT1).
10064 * libc/machine/xstormy16/Makefile.in: Regenerated.
10065 * libc/machine/xstormy16/aclocal.m4: Regenerated.
10066 * libc/machine/xstormy16/configure: Regenerated.
10067
0cc261b1
AO
100682002-04-13 Alexandre Oliva <aoliva@redhat.com>
10069
2f3009bd
AO
10070 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
10071 fails, don't bail out, and try to correct next time.
10072
0cc261b1
AO
10073 * libc/include/sys/config.h: Include limits.h.
10074
26116455
JJ
100752002-04-12 Eric Norum <eric.norum@usask.com>
10076
10077 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
10078 routine to allow autoconf to determine that building executables
10079 for rtems works.
10080 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
10081 (rtems_gxx_mutex_once): Ditto.
10082
4608280d
TR
100832002-04-09 Tom Rix <trix@redhat.com>
10084
10085 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
10086
dea7e25c
JJ
100872002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
10088
ba3ccd63
EB
10089 * libc/include/time.h: Fix strptime declaration.
10090 * libc/time/Makefile.am: Add strptime.c.
dea7e25c 10091 * libc/time/Makefile.in: Regenerated.
ba3ccd63 10092 * libc/time/strptime.c: New file.
dea7e25c 10093
c5ef1e95
JJ
100942002-04-08 Jeff Johnston <jjohnstn@redhat.com>
10095
10096 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
10097 siglongjmp prototype, and sigsetjmp macro definition.
10098 * libc/sys/linux/siglongjmp.c: New file.
10099 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
10100 * libc/sys/linux/Makefile.in: Regenerated.
10101
6e6cd5bd
JJ
101022002-04-04 Jeff Johnston <jjohnstn@redhat.com>
10103
10104 * Makefile.am: Add support for installing crt1.o if one exists.
10105 * configure.host: Specify crt1.o for linux.
10106 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
10107 * Makefile.in: Regenerated.
10108 * configure: Ditto.
10109 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
10110 Added for non-Cygwin, non-RTEMS configurations.
10111 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
10112 * libc/sys/linux/Makefile.in: Regenerated.
10113 * libc/sys/linux/crt1.c: New empty file to override one defaulted
10114 by gcc. This fixes problem with reconfiguring linux newlib build.
10115 * libc/sys/linux/sysconf.c: New file.
10116
fa4a16a1
JJ
101172002-04-03 Jeff Johnston <jjohnstn@redhat.com>
10118
10119 * configure.host: Add support for machine subdirectory of
10120 sys subdirectory.
10121 * configure.in: Add check for sys machine subdirectory.
10122 * Makefile.am: Ditto.
10123 * configure: Regenerated.
10124 * Makefile.in: Ditto.
10125 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
10126 * libc/sys/linux/sys/syscall.h: Ditto.
10127 * libc/sys/linux/sleep.c: New file.
10128 * libc/sys/linux/socket.c: Ditto.
10129 * libc/sys/linux/sockops.h: Ditto.
10130 * libc/sys/linux/stack.c: Ditto.
10131 * libc/sys/linux/usleep.c: Ditto.
10132 * libc/sys/linux/machine/Makefile.am: Ditto.
10133 * libc/sys/linux/machine/Makefile.in: Ditto.
10134 * libc/sys/linux/machine/aclocal.m4: Ditto.
10135 * libc/sys/linux/machine/configure: Ditto.
10136 * libc/sys/linux/machine/configure.in: Ditto.
10137 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
10138 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
10139 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
10140 * libc/sys/linux/machine/i386/configure: Ditto.
10141 * libc/sys/linux/machine/i386/configure.in: Ditto.
10142 * libc/sys/linux/machine/i386/crt0.c: Ditto.
10143 * libc/sys/linux/machine/i386/sigset.c: Ditto.
10144 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
10145 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
10146 * libc/sys/linux/machine/i386/syscall.h: Ditto.
10147 * libc/sys/linux/sys/select.h: Ditto.
10148 * libc/sys/linux/configure.in: Add support for machine directory.
10149 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
10150 * libc/sys/linux/Makefile.in: Regenerated.
10151 * libc/sys/linux/configure: Ditto.
10152 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
10153 * libc/sys/linux/inode.c: Ditto.
10154 * libc/sys/linux/linux.c: Ditto.
10155 * libc/sys/linux/process.c: Ditto.
10156 * libc/sys/linux/systat.c: Ditto.
10157 * libc/sys/linux/time.c: Ditto.
10158 * libc/sys/linux/wait.c: Ditto.
10159 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
10160 * libc/sys/linux/io.c: Change header plus add readv/writev.
10161 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
10162 use __sigsuspend syscall.
10163 * libc/sys/linux/select.c: Change header plus change select to
10164 use _newselect syscall.
10165 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
10166 used by glibc header files.
10167 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
10168 types.
10169
d4dca0e4
JJ
101702002-04-01 Jeff Johnston <jjohnstn@redhat.com>
10171
10172 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
10173 initializing a struct _reent that has been dynamically allocated.
10174 (_REENT_CHECK_MISC): New macro that checks _misc struct for
10175 _REENT_SMALL and does nothing otherwise.
10176 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
10177 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
10178 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
10179 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
10180 [_REENT_SMALL](struct _misc_reent): New structure containing
10181 miscellaneous reentrant areas needed by newlib.
10182 [_REENT_SMALL](struct _reent): Add _misc pointer.
10183 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
10184 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
10185 and _REENT_STRTOK_LAST macros.
10186 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
10187 and _REENT_MBLEN_STATE macros.
10188 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
10189 and _REENT_MBTOWC_STATE macros.
10190 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
10191 and _REENT_WCTOMB_STATE macros.
10192
54a7c6d2
JJ
101932002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
10194
10195 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
10196
c82479b1
CF
10197Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
10198
10199 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
10200
43ecf6e8
JR
10201Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
10202
10203 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
10204 Store high part of leading bytes too.
10205
a485d93f
RS
102062002-03-22 Richard Sandiford <rsandifo@redhat.com>
10207
10208 * libm/math/ef_hypot.c: Increase scale factor to 68.
10209
62a963ee
AO
102102002-03-13 Alexandre Oliva <aoliva@redhat.com>
10211
10212 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
10213 error.
10214
c53d8453
JJ
102152002-03-12 Jeff Johnston <jjohnstn@redhat.com>
10216
ba3ccd63
EB
10217 * libc/sys/go32/access.c: Change license to relaxed license
10218 used in identical file throughout newlib/libgloss.
c53d8453 10219
d2a246ad
JJ
102202002-03-12 Richard Earnshaw <rearnsha@arm.com>
10221
10222 * libc/sys/arm/access.c: New file.
10223 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
10224 * libc/sys/arm/Makefile.in: Regenerate.
10225 * libc/sys/arm/syscalls.c (_stat): New function.
10226
eabb48d5
MM
102272002-03-11 Michael Meissner <meissner@redhat.com>
10228
10229 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
10230 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
10231 * libc/machine/mips/Makefile.in: Regenerate.
10232 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
10233 * libc/machine/mips/memset.c: Dito.
10234 * libc/machine/mips/strcmp.c: Dito.
10235 * libc/machine/mips/strlen.c: Dito.
10236 * libc/machine/mips/strncmp.c: Dito.
10237
2a606041
JJ
102382002-03-06 Jeff Johnston <jjohnstn@redhat.com>
10239
eabb48d5
MM
10240 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
10241 object so it works for shared library or statici library.
10242 * libc/machine/i386/Makefile.in: Regenerated.
2a606041 10243
55f26f11
JR
10244Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
10245
96bff22c
JR
10246 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
10247 Add memcpy.S, memset.S and strcpy.S.
10248 * libc/machine/sh/Makefile.in: Regenerate.
10249 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
55f26f11 10250 (SHHI, SHLO): Define.
96bff22c
JR
10251 * libc/machine/sh/memset.S: Add code for SH5.
10252 * libc/machine/sh/memset.S: Likewise.
10253 * libc/machine/sh/strcpy.S: Likewise.
55f26f11 10254
afecf2fa
JJ
102552002-02-27 Jeff Johnston <jjohnstn@redhat.com>
10256
10257 * configure.host: Add check for --disable-newlib-io-float
10258 configuration option and add -DNO_FLOATING_POINT to newlib cflags
10259 if appropriate.
10260 * acinclude.m4: Added --disable-newlib-io-float option.
10261 * aclocal.m4: Regenerated.
10262 * configure: Ditto.
10263 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
17c0c97d 10264 * libc/*/aclocal.m4 libc/*/configure
afecf2fa
JJ
10265 * libm/*/aclocal.m4 libm/*/configure: Ditto.
10266 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
10267 if NO_FLOATING_POINT flag is not defined.
10268
c1010a63
JJ
102692002-02-25 Jeff Johnston <jjohnstn@redhat.com>
10270
10271 * libc/include/sys/config.h: Add __extension__ in front of
10272 long long references.
10273
630c657e
CV
102742002-02-23 Corinna Vinschen <corinna@vinschen.de>
10275
10276 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
10277 (_stat): Ditto.
10278
59ee2e20
CV
102792002-02-23 Corinna Vinschen <corinna@vinschen.de>
10280
10281 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
10282 of off_t.
10283
2dd68dc2
NC
102842002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
10285
10286 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
10287 clobbered registers.
10288
55500bf1
TF
102892002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
10290
10291 * configure.host (newlib_cflags): When host is in m68* add
10292 -DCOMPACT_CTYPE.
10293
ba0173f0
JJ
102942002-02-15 Jeff Johnston <jjohnstn@redhat.com>
10295
ba3ccd63
EB
10296 * libc/include/sys/config.h: Add definitions for
10297 __int16_t, __uint16_t, __int64_t, and __uint64_t.
ba0173f0 10298
7b61d0c5
JJ
102992002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
10300
ba3ccd63
EB
10301 * libc/sys/mmixware/link.c: New.
10302 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
10303 volatile.
10304 * libc/sys/mmixware/times.c (_times): Renamed from times.
10305 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
10306 properly by reading previous contents, not through BinaryReadWrite.
10307 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
10308 * libc/sys/mmixware/Makefile.in: Regenerate.
7b61d0c5 10309
a505db65
CV
103102002-02-10 Corinna Vinschen <corinna@vinschen.de>
10311
10312 * libc/include/grp.h: Don't declare group functions when compiling
10313 Cygwin.
10314
f3b39c45
CV
103152002-02-09 Corinna Vinschen <corinna@vinschen.de>
10316
10317 * libc/include/grp.h: Include Cygwin specific header.
10318 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
10319 when compiling for Cygwin.
10320 * libc/include/sys/types.h: Don't define off_t, uid_t
10321 and gid_t when compiling for Cygwin.
10322
82b3ac56
MG
103232002-02-08 matthew green <mrg@redhat.com>
10324
10325 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
10326 _REENT_EMERGENCY_SIZE, not sizeof(char *).
10327
9f25eed9
AO
103282002-02-08 Alexandre Oliva <aoliva@redhat.com>
10329
10330 Contribute sh64-elf.
10331 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
10332 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
10333 support in printf.
10334 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
10335 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
10336 any labels.
10337 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
10338 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
10339 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
10340 * libc/machine/sh/configure.in: Rework conditionals.
10341 * libc/machine/sh/Makefile.am: Likewise.
10342 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
10343 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
10344 * configure.host: Match `sh*'.
10345 * libc/include/machine/setjmp.h: Define for SH5.
10346 * libc/machine/sh/configure.in: Detect SH5.
10347 * libc/machine/sh/configure: Rebuilt.
10348 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
10349 * libc/machine/sh/Makefile.in: Rebuilt.
10350 * libc/machine/sh/asm.h: Adjust for SH5.
10351 * libc/machine/sh/setjmp.S: Implement in SHmedia.
10352 * libc/sys/sh/crt0.S: Likewise.
10353 * libc/sys/sh/trap.S: Likewise.
10354
a2a405ae
JJ
103552002-02-07 Jeff Johnston <jjohnstn@redhat.com>
10356
10357 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
10358 (mach_add_obj): Conditionally set to setjmp.o or nothing.
10359 (LIB_SOURCES): Remove $(mach_add_src).
10360 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
10361 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
10362 * libc/machine/i386/Makefile.in: Regenerate.
10363
27478365
JJ
103642002-02-05 Manik Raina <manik@cisco.com>
10365
994fa212 10366 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
27478365
JJ
10367 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
10368 s, p, k, and outstr.
10369 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
10370
815a37f7
JJ
103712002-02-04 Jeff Johnston <jjohnstn@redhat.com>
10372
10373 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
10374 _REENT_CHECK_EMERGENCY macro.
10375
a4139c12
MG
103762002-02-03 matthew green <mrg@redhat.com>
10377
10378 * libc/reent/signgam.c (__signgam): Fix error in previous.
10379
8195aff7
MG
103802002-02-02 matthew green <mrg@redhat.com>
10381
10382 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
10383
10384 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
10385 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
10386 * libc/include/sys/reent.h (struct _reent): Completely new version
10387 for _REENT_SMALL.
10388 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
10389 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
10390 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
10391 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
10392 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
10393 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
10394 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
10395 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
10396 (_REENT_EMERGENCY): Likewise.
10397
10398 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
10399 the start of the real __sFILE, used for stdin, stdout and stderr until
10400 they are setup properly.
10401 (struct __sFILE): Move location of _data in _REENT_SMALL case.
10402 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
10403 allocated stdin, stdout and stderr.
10404 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
10405 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
10406 * libc/stdio/perror.c (_perror_r): Likewise.
10407 * libc/stdio/printf.c (printf, _printf_r): Likewise.
10408 * libc/stdio/putchar.c (_putchar_r): Likewise.
10409 * libc/stdio/puts.c (_puts_r): Likewise.
10410 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
10411 * libc/stdio/vprintf.c (vprintf): Likewise.
10412 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
10413
10414 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
10415
10416 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
10417 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
10418 for _REENT_SMALL.
10419 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
10420 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
10421
10422 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
10423 _REENT_SMALL.
10424 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
10425 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
10426 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
10427 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
10428 * libc/stdlib/rand48.c (__dorand48): Likewise.
10429 * libc/stdlib/seed48.c (_seed48_r): Likewise.
10430 * libc/stdlib/srand48.c (_srand48_r): Likewise.
10431 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
10432 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
10433 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
10434 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
10435 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
10436 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
10437 * libc/stdlib/rand.c (rand): Likewise.
10438
10439 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
10440 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
10441
10442 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
10443 _REENT_MP_FREELIST() and _REENT_MP_P5S.
10444 * libc/include/sys/reent.h (struct _mprec): New structure.
10445
10446 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
10447 _unused_strtok_last.
10448 * libc/string/strtok.c (strtok): Use a local static variable.
10449
10450 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
10451 (_REENT_EMERGENCY_SIZE): Likewise.
10452 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
10453 _REENT_ASCTIME_BUF().
10454 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
10455 _REENT_TM().
10456
10457 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
10458 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
10459 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
10460 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
10461 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
10462 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
10463
9c2e7642
GK
104642002-02-01 Geoffrey Keating <geoffk@redhat.com>
10465
10466 * configure.host (xstormy16): Don't use the generic malloc.
10467 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
10468 * libc/machine/xstormy16/Makefile.in: Regenerate.
10469 * libc/machine/xstormy16/mallocr.c: New file.
10470 * libc/machine/xstormy16/tiny-malloc.c: New file.
10471
4bb6112f
TF
104722002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
10473
10474 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
10475 when _CYGWIN_TYPES_H is not defined.
10476
8d345552
TF
104772002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
10478
10479 * libc/include/sys/signal.h: Revert 2002-01-23 change.
10480
bcc49082
TF
104812002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
10482
10483 * libc/include/sys/signal.h: Remove pthread_kill declaration
10484 when __CYGWIN__ is defined.
10485
13baedeb
CF
104862002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
10487
10488 * libc/include/time.h: Add prototype for strptime for Cygwin.
10489
b2db0ebc
NC
104902002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
10491
ebf139fb
NC
10492 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
10493 dst was not word aligned.
10494
b2db0ebc
NC
10495 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
10496 if too much memory is requested.
10497
798c015d
JJ
104982002-01-11 Jeff Johnston <jjohnstn@redhat.com>
10499
10500 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
10501 reads blanks from the input file to break if EOF reached
10502 rather than end processing.
10503
46ad2ef4
JJ
105042002-01-07 Jeff Johnston <jjohnstn@redhat.com>
10505
10506 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
10507
86b06396
JJ
105082002-01-07 Alan Matsuoka <alanm@redhat.com>
10509
ba3ccd63
EB
10510 * libc/include/machine/ieeefp.h: Configure d10v doubles to
10511 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
10512 libc/include/sys/config.h: Ditto.
86b06396 10513
423d5064
CV
105142001-12-28 Corinna Vinschen <corinna@vinschen.de>
10515
10516 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
10517
f6eff1c0
GK
105182001-12-22 Geoffrey Keating <geoffk@redhat.com>
10519 Catherine Moore <clm@redhat.com>
10520 Richard Henderson <rth@redhat.com>
10521 Corinna Vinschen <vinschen@redhat.com>
10522
10523 * configure.host: Add support for xstormy16.
10524 * libc/include/machine/ieeefp.h: Add support for xstormy16.
10525 * libc/include/machine/setjmp.h: Add support for xstormy16.
10526 * libc/include/sys/config.h: Add support for xstormy16.
10527 * libc/machine/xstormy16/Makefile.am: New file.
10528 * libc/machine/xstormy16/Makefile.in: New file.
10529 * libc/machine/xstormy16/aclocal.m4: New file.
10530 * libc/machine/xstormy16/configure: New file.
10531 * libc/machine/xstormy16/configure.in: New file.
10532 * libc/machine/xstormy16/setjmp.S: New file.
10533
1f93c55f
TF
105342001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
10535
10536 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
10537 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
10538
13b918be
CV
105392001-12-19 Corinna Vinschen <corinna@vinschen.de>
10540
10541 * libm/machine/Makefile.am: Change rules to create correct lib.a.
10542 * libm/machine/Makefile.in: Regenerated through automake.
10543
08e857b4
TF
105442001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
10545
10546 * Makefile.am (DOCDIR): Force to empty string when doc
10547 directory is not present.
10548
60565ed6
TF
105492001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
10550
10551 * libc/machine/i386/f_*: Move to libm/machine/i386.
10552
105532001-12-18 Joel Sherrill <joel@OARcorp.com>
10554
10555 * libm/machine/Makefile.am: Add dummy doc stub so
10556 "make info" works.
10557
105582001-12-17 Joel Sherrill <joel@OARcorp.com>
10559
10560 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
10561
fc504135
TF
105622001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
10563
10564 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
10565 $(COMPILE) rather than $(CC).
10566 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
10567 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
10568 $(LIB_COMPILE) change.
10569 (vfiprintf.$(oext)): Likewise.
10570
efeae9a3
CV
105712001-12-17 Corinna Vinschen <vinschen@redhat.de>
10572
10573 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
10574 conditionalized including of getopt stuff.
10575
cdf7120d
TF
105762001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
10577
10578 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
10579 compile line.
f85be99c 10580 (vfiprintf.$(oext)): Likewise.
cdf7120d 10581
2e1a7175
TF
105822001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
10583
10584 * Makefile.shared: New file.
10585 * libc/sys/linux/shared.ld: New file.
10586 * libm/machine/*: New files.
10587 * libm/machine/i386/*: New files.
10588 * Makefile.am: Add libtool support. Change math and mathfp
10589 references to variables.
10590 * configure.host: Add variables for libtool support. Add
10591 libm_machine_dir variable.
10592 * configure.in: Add objectlist variables, for libtool
10593 support. Add CC_FOR_BUILD tests.
10594 * libc/Makefile.am: Add libtool support. Change crt0.o
10595 reference to be a variable reference.
10596 * libc/configure.in: Add libtool support. Change sublib
10597 names to be lib${subdir}.la when using libtool.
10598 * libc/ctype/Makefile.am: Add libtool support.
10599 * libc/errno/Makefile.am: Likewise.
10600 * libc/locale/Makefile.am: Likewise.
10601 * libc/machine/Makefile.am: Likewise.
10602 * libc/machine/configure.in: Likewise.
10603 * libc/machine/i386/Makefile.am: Likewise.
10604 * libc/machine/i386/configure.in: Likewise.
10605 * libc/misc/Makefile.am: Likewise.
10606 * libc/posix/Makefile.am: Likewise.
10607 * libc/reent/Makefile.am: Likewise.
10608 * libc/signal/Makefile.am: Likewise.
10609 * libc/stdio/Makefile.am: Likewise.
10610 * libc/stdlib/Makefile.am: Likewise.
10611 * libc/string/Makefile.am: Likewise.
10612 * libc/sys/Makefile.am: Likewise.
10613 * libc/sys/configure.in: Likewise.
10614 * libc/sys/linux/Makefile.am: Add libtool support. Change
10615 awk reference to a variable reference. Change signal.h
10616 reference to a variable reference.
10617 * libc/sys/linux/configure.in: Add libtool support.
10618 * libc/syscalls/Makefile.am: Likewise.
10619 * libc/time/Makefile.am: Likewise.
10620 * libc/unix/Makefile.am: Likewise.
10621 * libm/Makefile.am: Add libtool support. Change math and
10622 mathfp references to variables.
10623 * libm/configure.in: Add libtool support. Add
10624 LIBM_MACHINE_LIB variable.
10625 * libm/common/Makefile.am: Add libtool support.
10626 * libm/math/Makefile.am: Likewise.
10627 * libm/mathfp/Makefile.am: Likewise.
10628 Regenerate all Makefile.in, aclocal.m4, and configure.
10629
b92591a1
JJ
106302001-12-13 Anita Kulkarni <anitak@kpit.com>
10631
ba3ccd63 10632 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
b92591a1 10633
355b664e
CF
106342001-12-06 John Peacock <jpeacock@rowman.com>
10635
10636 * libc/include/sys/unistd.h: Correct ualarm declaration.
10637
e9853806
NC
106382001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
10639
10640 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
10641 vector before calling the initialisation functions.
10642
a8e091b0
CF
106432001-11-29 Christopher Faylor <cgf@redhat.com>
10644
10645 * libc/include/dirent.h: Protect against multiple inclusion.
10646
ab634123
CF
106472001-11-27 Christopher Faylor <cgf@redhat.com>
10648
10649 * libc/include/sys/types.h: Define useconds_t.
10650 * libc/include/sys/ulimit.h: Declare ualarm.
10651
d37e401e
CF
106522001-11-21 Christopher Faylor <cgf@redhat.com>
10653
10654 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
10655
8ac90051
HPN
106562001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
10657
10658 * libc/sys/mmixware/*: Tweak license header in all source files.
10659
d7ca37e4
CV
106602001-11-12 Corinna Vinschen <vinschen@redhat.com>
10661
10662 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
10663 to here. Rearrange for general inclusion by stdlib.h.
10664 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
10665 isn't defined.
10666 * libc/sys/linux/include/alloca.h: Move to libc/include.
10667
28f8744e
AG
106682001-11-12 Anthony Green <green@redhat.com>
10669
10670 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
10671
4cede8c4
HPN
106722001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
10673
10674 * libc/sys/mmixware/*: Correct spacing in all source files.
10675 * libc/sys/mmixware/syscall.h: Move misplaced file...
10676 * libc/sys/mmixware/sys/syscall.h: ...here.
10677
8be9b48b
JJ
106782001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
10679
ba3ccd63
EB
10680 * libc/include/machine/ieeefp.h: Add support for mmix target.
10681 * libc/include/machine/setjmp.h: Ditto.
10682 * configure.host: Ditto.
10683 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
10684 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
10685 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
10686 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
10687 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
10688 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
10689 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
10690 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
10691 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
10692 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
10693 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
10694 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
10695 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
10696 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
10697 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
10698 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
10699 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
10700 libc/sys/mmixware/aclocal.m4: Generate.
8be9b48b 10701
c7dd4f95
CV
107022001-11-05 Corinna Vinschen <corinna@vinschen.de>
10703
10704 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
10705 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
10706 when __CYGWIN__ is defined.
10707 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
10708 logwtmp().
10709
a6a6f9fe
JJ
107102001-11-01 Arati Dikey <aratidikey@hotmail.com>
10711
10712 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
10713 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
10714 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
10715 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
10716
d0504c35
JJ
107172001-10-24 Christopher Faylor <cgf@redhat.com>
10718
10719 * libc/stdio/fseek.c: Reset pointer to buffer base
10720 when forced to seek outside of current buffer contents.
10721 This prevents the code from erroneously thinking there is
10722 anything in the current buffer.
10723
0280c8c0
GK
107242001-10-22 Geoffrey Keating <geoffk@redhat.com>
10725
10726 * libc/include/math.h: The C++ standard adds the single-precision
10727 versions of the elementary functions.
10728
333d6098
CF
107292001-10-22 Christopher Faylor <cgf@redhat.com>
10730
10731 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
10732 throughout.
10733 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
10734 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
10735 * system.c (_system_r): Ditto.
10736
c7118319
CV
107372001-10-17 Corinna Vinschen <corinna@vinschen.de>
10738
10739 * libc/include/sys/unistd.h: Add prototype for fchdir() when
b4e98df6 10740 __CYGWIN__ or __rtems__ is defined.
c7118319 10741
5665b0e1
JJ
107422001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
10743
ba3ccd63
EB
10744 * libc/include/stdlib.h: add declarations for
10745 _strtoull_r, _strtoll_r, strtoull, and strtoll.
10746 * libc/stdio/local.h: remove declarations of
10747 __strtoull_r and __strtoll_r.
10748 * libc/stdio/vfscanf.c(__svfscanf_r): call
10749 _strtoull_r instead of __strtoull_r. Ditto
10750 _strtoll_r vs. __strtoll_r.
10751 * libc/stdlib/Makefile.am: add new files to
10752 .c list and .def list
10753 * libc/stdlib/Makefile.in: regenerate
10754 * libc/stdlib/strtoll_r.c: rename __strtoll_r
10755 as _strtoll_r
10756 * libc/stdlib/strtoull_r.c: rename __strtoull_r
10757 as _strtoull_r
10758 * libc/stdlib/strtoull.c: new file
10759 * libc/stdlib/strtoll.c: new file
5665b0e1 10760
d2d5eb41
CF
10761Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
10762
10763 * libc/include/process.h: Add getpid() declaration.
10764
448e3c14
NC
107652001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
10766
10767 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
10768 for new style arm/elf ctor/dtor handling.
10769 Minor formatting tidy up.
10770
7a2afbbb
JJ
107712001-09-13 Jeff Johnston <jjohnstn@redhat.com>
10772
10773 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
10774 and strtoull_r.c.
10775 * libc/stdlib/Makefile.in: Regenerated.
10776 * libc/stdlib/strtoll_r.c: New file.
10777 * libc/stdlib/strtoull_r.c: New file.
10778 * libc/stdio/local.h: Add prototypes for long long string
10779 conversion routines.
10780 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
10781 tied to %L integer conversion specifier.
10782
6342caa4
JJ
10783Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
10784
ba3ccd63
EB
10785 * strftime.c (strftime): Fix "%W" implementation to properly handle
10786 Mondays too.
6342caa4 10787
b2d319cb
JJ
107882001-09-07 Jeff Law <law@redhat.com>
10789
ba3ccd63
EB
10790 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
10791 __fini with "mov.l" instead of "mov.w".
b2d319cb 10792
233823ba
CV
107932001-09-05 Corinna Vinschen <corinna@vinschen.de>
10794
10795 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
10796 and getopt.h.
10797
63c17b54
JJ
107982001-09-04 Jason Merrill <jason_merrill@redhat.com>
10799
10800 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
10801
a3e67ddf
CV
108022001-09-03 Corinna Vinschen <corinna@vinschen.de>
10803
10804 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
10805 field.
10806 (__DIRENT_VERSION): New define.
10807
6d47f33a
CV
108082001-09-03 Corinna Vinschen <corinna@vinschen.de>
10809
10810 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
4f79e37e
CV
10811 Shrink __d_reserved accordingly to keep structure size.
10812 (dirfd): Declare external.
6d47f33a 10813
348c5e06
JJ
108142001-08-29 Joel Sherrill <joel@OARcorp.com>
10815
10816 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
10817
108182001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
10819
10820 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
10821 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
10822 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
10823 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
10824 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
10825 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
10826 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
10827 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
10828 Add conditional compilation to avoid HW FPU instructions
10829 when compiled for soft-float.
10830
f29865c5
JJ
108312001-08-29 Jeff Johnston <jjohnstn@redhat.com>
10832
10833 * Makefile.am: Add check for ln failing when creating libg.a
10834 so that cp gets used as a backup.
10835 * Makefile.in: Regenerated.
10836
9e2a4ef8
JJ
108372001-08-29 Jeff Johnston <jjohnstn@redhat.com>
10838
10839 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
10840 No longer include time.h. Add struct __tm to use for
10841 _localtime_buf in the reentrant structure. Add a
10842 _NULL definition to use in initializing the reentrant struct.
10843 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
10844 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
10845 <sys/_types.h>.
10846 * libc/include/sys/unistd.h: Include <sys/_types.h>.
10847 * libc/time/lcltime.c (localtime): Cast the reentrant struct
10848 _localtime_buf to be struct tm *.
10849
1ae900d6
JR
10850Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
10851
10852 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
10853 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
10854 __ctors_end.
10855 * libc/sys/h8300hms/syscalls.c: Include errno.h.
10856 (_unlink): New stub function.
10857
8e26d5b5
CF
10858Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
10859
10860 * libc/include/sys/errno.h: Add a cautionary comment.
10861
e8267664
JJ
108622001-08-21 Jeff Johnston <jjohnstn@redhat.com>
10863
10864 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
10865 for SIZE_SZ so that alignment ends up a minimum of 8.
10866
4acf3edf
CF
10867Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
10868
10869 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
10870 arguments.
10871
10872 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
10873 Cygwin.
10874
52c80be8
JJ
108752001-08-13 Jeff Johnston <jjohnstn@redhat.com>
10876
10877 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
10878 macro constants for mallopt options.
10879 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
10880
a7061f7f
JJ
108812001-08-02 Jeff Johnston <jjohnstn@redhat.com>
10882
10883 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
10884 otherwise default.
10885
0b4bfdd5
AH
108862001-07-12 Aldy Hernandez <aldyh@redhat.com>
10887
ba3ccd63 10888 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
0b4bfdd5 10889
2b6b730c
NC
108902001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
10891
10892 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
10893 Define for little endian ARMs.
10894
10895 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
10896 __IEEE_BYTES_LITTLE_ENDIAN is defined.
10897
25842b68
JJ
108982001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
10899
ba3ccd63 10900 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
25842b68 10901
371b76ef
JJ
109022001-06-11 Egor Duda <deo@logos-m.ru>
10903
ba3ccd63
EB
10904 * libc/ctype/ctype_.c: When compiled with gcc on platforms
10905 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
10906 initialized memory region. Platform can define COMPACT_CTYPE
10907 to avoid allocation of the additional 128 bytes of data.
10908 Add pointer to _ctype_ array. Always initialize all _ctype_
10909 array elements.
371b76ef 10910
43b44bc5
JL
109112001-06-08 Jonathan Larmour <jlarmour@redhat.com>
10912
10913 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
10914 NULL pointer.
10915
188bc140
NC
109162001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
10917
10918 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
10919
2ce88418
NC
109202001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
10921
10922 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
10923 matching, non-word alignment, and the length is <= 4 but more than
10924 enough to move them over a word boundary.
10925 Add comments explaining what each instruction does.
10926
ca60ed47
CF
10927Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
10928
10929 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
c63e9997 10930 * libc/include/sys/unistd.h: Ditto.
ca60ed47 10931
8b3bcfba
JJ
109322001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
10933
ba3ccd63 10934 * libc/string/strrchr.c: Use strchr for the speed improvements.
8b3bcfba 10935
b09e3cf8
JJ
109362001-05-01 Jeff Johnston <jjohnstn@redhat.com>
10937
10938 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
10939 real file systems, let __smakebuf() determine if line buffering
10940 should be used for stdout.
10941
0ca66974
JJ
109422001-04-27 Jeff Johnston <jjohnstn@redhat.com>
10943
10944 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
10945
7cb7017a
JJ
109462001-04-27 Jeff Johnston <jjohnstn@redhat.com>
10947
10948 * libc/include/stdlib.h: Add prototype for _strtod_r.
10949
a874cd21
JJ
109502001-04-24 Charles Wilson <cwilson@ece.gatech.edu
10951
ba3ccd63
EB
10952 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
10953 * libc/stdio/vprintf.c (_vprintf_r): new function
10954 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
10955 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
10956 _DEFUN, and call _vfprintf_r, not vfprintf.
10957 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
10958 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
10959 _DEFUN, and call _vfprintf_r, not vfprintf.
a874cd21 10960
cb4cc283 109612001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
17c0c97d 10962
cb4cc283
CF
10963 * libc/include/sys/unistd.h [X_OK]: Use better protection against
10964 Cygwin X_OK definitions in sys/file.h.
10965
8c9df1d5
CF
10966Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
10967
10968 * libc/include/sys/time.h: Define timercmp and other macros for
10969 __CYGWIN__, too.
10970
3ac6f3a7 109712001-04-20 Jeff Johnston <jjohnstn@redhat.com>
17c0c97d 10972
3ac6f3a7
JJ
10973 * acinclude.m4: Added --enable-malloc-debugging configure flag.
10974 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
10975 --enable-malloc-debugging selected.
10976 * aclocal.m4 configure: Regenerated.
10977 libm/aclocal.m4 libm/configure: Ditto.
10978 * libc/aclocal.m4 libc/configure: Ditto.
10979 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
10980 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
10981 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
10982 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
10983 * doc/aclocal.m4 doc/configure: Ditto.
10984
52cb9e69
JJ
109852001-04-20 Jeff Johnston <jjohnstn@redhat.com>
10986
10987 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
10988 into one list.
10989 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
10990 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
10991 function prototypes.
10992 (_fscanf_r, _sscanf_r): Ditto.
10993 * libc/include/stdlib.h: Added _strtod_r prototype.
10994 * libc/stdio/Makefile.am: Add new v*scanf functions.
10995 * libc/stdio/Makefile.in: Regenerate.
10996 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
10997 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
10998 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
10999 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
11000 (sscanf): Changed to call __svfscanf_r with _REENT argument.
11001 (_sscanf_r): New routine.
11002 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
11003 with __svfscanf_r prototype.
11004 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
11005 routines.
11006 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
11007 structure as argument as calls reentrant versions of helper functions
11008 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
11009 to _strtol_r and _strtod_r respectively.
11010 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
11011 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
11012 _REENT argument.
11013 * libc/stdio/vscanf.c: New file.
11014 * libc/stdio/vsscanf.c: Ditto.
11015
ee9f39fb
JJ
110162001-04-19 Robert Collins <rbtcollins@hotmail.com>
11017
11018 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
11019 Define daylight to _daylight if it is not defined
17c0c97d 11020 Prepare a variable export of timezone based on timezonevariable.
ee9f39fb
JJ
11021 (Cannot be used with the timezone() function.)
11022
273861e3
JJ
110232001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
11024
ba3ccd63
EB
11025 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
11026 Correct the numerical values.
273861e3 11027
a25b8414
CF
110282001-04-13 Robert Collins <rbtcollins@hotmail.com>
11029
11030 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
11031
b8a8c59d
CV
11032Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
11033
11034 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
11035 on case insensitve file systems.
11036
74f8cc63
CF
110372001-04-12 Robert Collins <rbtcollins@hotmail.com>
11038
11039 * libc/include/sys/features.h: Add appropriate defines for Cygwin
11040 pthread support.
11041 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
11042 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
11043 types. Include <cygwin/types.h> for the cygwin specific typedefs.
11044
16740220
RS
110452001-04-04 Richard Sandiford <rsandifo@redhat.com>
11046
11047 * libc/include/machine/ieeefp.h: Comment about new configuration
11048 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
11049 * libm/common/fdlib.h: Define new macros for testing floats.
11050 * libm/common/sf_*: Use them.
11051 * libm/math/ef_*: Likewise.
11052 * libm/math/sf_*: Likewise.
11053
0694d8d3
JJ
110542001-03-29 Jeff Johnston <jjohnstn@redhat.com>
11055
11056 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
11057 prolog to by-pass possible assembler error.
11058
4833b38c
JJ
110592001-03-21 Egor Duda <deo@logos-m.ru>
11060
ba3ccd63
EB
11061 Allow building internal stubs for non-reentrant syscalls
11062 if target provides its own malloc
11063 * libc/reent/reent.c (errno): Move definition here.
11064 * libc/reent/sbrkr.c: From here.
4833b38c 11065
d17d6d42
CF
110662001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
11067
11068 * libc/include/sys/types.h (BSD int typedefs): Guard with
11069 _BSDTYPES_DEFINED rather than _WINSOCK_H.
11070 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
11071 _SYS_TYPES_FD_SET.
11072 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
11073 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
11074
c7ee75cd
CV
11075Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
11076
11077 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
11078 _PC_POSIX_SECURITY constants for Cygwin.
11079
63dc5d80
CV
11080Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
11081
11082 * libc/sys/cygwin/crt0.c: Add copyright hint.
11083 * libc/sys/cygwin/sys/dirent.h: Ditto.
11084 * libc/sys/cygwin/sys/param.h: Ditto.
11085 * libc/sys/cygwin/sys/utime.h: Ditto.
11086 * libc/sys/cygwin/sys/utmp.h: Ditto.
11087
6f637037
AO
110882001-03-13 Alexandre Oliva <aoliva@redhat.com>
11089
11090 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
11091 equivalent to LONGINT.
11092
e69b6f73
JJ
110932001-03-08 Richard Sandiford <rsandifo@redhat.com>
11094
ba3ccd63
EB
11095 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
11096 jmpbuf on MIPS64 targets.
11097 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
e69b6f73 11098
6198dece
CF
11099Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
11100
17c0c97d 11101 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
ba3ccd63 11102 declarations.
6198dece 11103
cfc05d96
JJ
11104Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
11105
ba3ccd63
EB
11106 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
11107 For RTEMS, define to be ssize_t. Default to int if not defined.
11108 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
11109 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
11110 * libc/stdio/local.h (__sread, __swrite): Likewise.
11111 * libc/include/sys/reent.h (_read, _write): Likewise.
11112 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
11113 * libc/syscalls/sysread.c (read): Likewise.
11114 * libc/syscalls/syswrite.c (write): Likewise.
cfc05d96 11115
6249353a
JJ
111162001-03-05 Jeff Johnston <jjohnstn@redhat.com>
11117
ba3ccd63 11118 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
6249353a 11119
658b5db9
CF
11120Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
11121
11122 * libc/include/sys/stat.h: Use special defines for executable stat bits
11123 when compiling for Cygwin.
11124 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
11125 for Cygwin.
11126
19ca46d5
JJ
111272001-03-02 Jeff Johnston <jjohnstn@redhat.com>
11128
11129 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
11130 of strtok_r is always defined.
11131
b73ed85e
JJ
111322001-03-02 Jeff Johnston <jjohnstn@redhat.com>
11133
11134 * libc/include/machine/ansi.h: New dummy header file.
11135
ee37ede1
JJ
111362001-02-22 Jeff Johnston <jjohnstn@redhat.com>
11137
11138 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
11139 changed the copyright information to allow free modification of the
11140 file with no reference to "copying.dj".
11141 * libc/include/sys/stat-dj.h: Ditto.
11142 * libc/machine/i386/setjmp.S: Ditto.
11143 * libc/sys/h8300hms/sys/file.h: Ditto.
11144 * libc/sys/sysmec/access.c: Ditto.
11145 * libc/sys/sysnecv850/access.c: Ditto.
11146 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
11147 * libc/stdlib/getenv_r.c: Ditto.
11148 * libc/stdlib/putenv_r.c: Ditto.
11149 * libc/stdlib/setenv_r.c: Ditto.
11150 * libc/stdlib/getenv.c: Removed DJ reference since any possible
11151 modifications will now be in the _r version of this file.
11152 * libc/stdlib/putenv.c: Ditto.
11153 * libc/stdlib/setenv.c: Ditto.
11154 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
11155 valid. Added a reference to DJ's web page that contains his address.
11156 * libc/sys/go32/*.s: Removed references to DJ's old address.
11157 * libc/sys/go32/*.c: Ditto.
11158 * libc/sys/go32/*.h: Ditto.
11159 * libc/sys/go32/*.S: Ditto.
11160 * libc/sys/go32/sys/*.h: Ditto.
11161
3a8fc0e4
JJ
111622001-02-21 Jeff Johnston <jjohnstn@redhat.com>
11163
11164 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
11165 HAVE_FCNTL flag check.
11166 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
11167 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
11168
b24ee749
CF
11169Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
11170
11171 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
11172
ab4745dc
JJ
111732001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
11174
ba3ccd63
EB
11175 * libc/include/stdlib.h: Add declarations of rand48 functions and
11176 their reentrant versions.
11177 * libc/include/sys/reent.h: Move macros from rand48.h. Add
11178 struct _rand48 for shared parameters of rand48 functions.
11179 (struct _reent): Add a variable _r48 of struct _rand48.
11180 (_REENT_INIT): Add _r48 initialization.
11181 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
11182 (CHEWOUT_FILES): Add rand48.def.
11183 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
11184 * libc/stdlib/Makefile.in: Regenerated.
11185 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
11186 NetBSD C library.
11187 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
11188 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
11189 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
11190 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
11191 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
11192 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
11193 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
11194 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
11195 * libc/stdlib/rand48.c (__dorand48): Ditto.
11196 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
11197 parameters into macros referring them in the reentrant structure.
ab4745dc 11198
a34c461f
JJ
111992001-02-12 Jeff Johnston <jjohnstn@redhat.com>
11200
11201 * libc/include/sys/stat.h: Add mknod for Cygwin now that
11202 Cygwin definition has correct prototype.
11203
34f31ff2
JJ
112042001-02-08 Jeff Johnston <jjohnstn@redhat.com>
11205
11206 * libc/include/sys/stat.h: Must revert change for mknod
11207 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
11208 prototype.
11209
5336d6de
JJ
112102001-02-08 Jeff Johnston <jjohnstn@redhat.com>
11211
11212 * libc/include/stdio.h: Revert putw prototype.
11213
8915d10a
JJ
112142001-02-08 Edward M. Lee <tailbert@yahoo.com>
11215
ba3ccd63
EB
11216 * libc/include/grp.h: add prototype for initgroups.
11217 * libc/include/stdio.h: fix prototype for putw.
11218 * libc/include/sys/signal.h: add prototype for killpg.
11219 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
11220 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
8915d10a
JJ
11221 vhangup and remove duplicate sysconf prototype.
11222
93ac4487
JJ
112232001-02-07 Jeff Johnston <jjohnstn@redhat.com>
11224
11225 * libc/sys/rtems/sys/types.h: Removed.
11226
31f5feea
JJ
112272001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
11228
ba3ccd63 11229 * libc/include/locale.h: add LC_MESSAGES definition
31f5feea 11230
b5139f59
AO
112312001-02-01 Alexandre Oliva <aoliva@redhat.com>
11232
11233 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
11234 SYS_get_argN):
11235 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
11236 __setup_argv_and_call_main): New.
11237
e29d8355
JJ
112382001-01-31 Jeff Johnston <jjohnstn@redhat.com>
11239
11240 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
11241 if defined.
11242 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
11243 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
11244 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
11245 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
11246
82ea92f3
CF
11247Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
11248
11249 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
11250 compiling under Cygwin.
11251
3aaa66f8
JJ
112522001-01-29 Jeff Johnston <jjohnstn@redhat.com>
11253
11254 * libc/include/math.h (signgam): Change to errno-like solution
11255 using a function to return the address of the real signgam.
11256 * libc/reent/signgam.c: New file containing __signgam().
11257 * libc/reent/Makefile.am: Added signgam.c to list of files.
11258 * libc/reent/Makefile.in: Regenerated.
11259
610b895a
AO
112602001-01-25 Alexandre Oliva <aoliva@redhat.com>
11261
b0913397
AO
11262 * libc/sys/sh/syscalls.c (_times): New.
11263
610b895a
AO
11264 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
11265 * libc/sys/sh/syscalls.c (_gettimeofday): New.
11266
3643210e
JJ
112672001-01-23 Jeff Johnston <jjohnstn@redhat.com>
11268
11269 * libc/include/math.h (signgam): Regress previous fix as
11270 it does not handle programs with extern int signgam in them.
11271
841081c9
JJ
112722001-01-23 Jeff Johnston <jjohnstn@redhat.com>
11273
11274 * libc/include/math.h (signgam): Changed to a macro refering to
11275 its location in the reentrant structure.
11276
e9cd87b8
JJ
112772001-01-23 Jeff Johnston <jjohnstn@redhat.com>
11278
11279 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
11280 that suppressed . for %.0f, 0.1. Check now looks if there
11281 are padding zeroes (expt) in addition to any digits (ndig) to
11282 print.
11283
a302b48c
JJ
112842001-01-18 Jeff Johnston <jjohnstn@redhat.com>
11285
11286 * libc/sys/arc/Makefile.am: New file.
11287 * libc/sys/arc/Makefile.in: Ditto.
11288 * libc/sys/arc/aclocal.m4: Ditto.
11289 * libc/sys/arc/configure: Ditto.
11290 * libc/sys/arc/configure.in: Ditto.
11291 * libc/sys/arc/crt0.S: Ditto.
11292 * libc/sys/arc/isatty.c: Ditto.
11293 * libc/sys/arc/mem-layout.c: Ditto.
11294 * libc/sys/arc/sbrk.c: Ditto.
11295 * libc/sys/arc/syscalls.c: Ditto.
11296 * libc/sys/arc/sys/syscall.h: Ditto.
11297
d0319c3b
CF
11298Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
11299
11300 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
11301
e45ab890
CF
11302Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
11303
11304 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
11305
1376245a
DD
11306Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
11307
11308 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
11309
92b57543
NC
113102001-01-09 Nick Clifton <nickc@redhat.com>
11311
11312 * configure.host (v859): Remove unsupported compiler options.
11313
7d6d33d4
JJ
11314Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
11315
11316 * src/newlib/configure.host (*-*-rtems*): add printf long long
11317 support for RTEMS.
11318
602f8b5a 113192000-12-19 Graham Stott <grahams@redhat.com>
6286746a 11320
ba3ccd63 11321 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
6286746a 11322
9c2b8183
JJ
11323Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
11324
11325 * configure.host: Turn on long double I/O for Cygwin.
11326
804368d3
JJ
11327Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
11328
11329 * MAINTAINERS: Removed Ranjith.
11330 * NEWS: Updated for 1.9.0.
11331 * README: Updated.
11332 * acinclude.m4: Updated to release 1.9.0.
11333 * aclocal.m4 configure
11334 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
11335 libc/machine/aclocal.m4 libc/machine/configure
11336 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
11337 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
11338 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
11339 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
11340 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
11341 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
11342 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
11343 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
11344 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
11345 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
11346 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
11347 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
11348 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
11349 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
11350 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
11351 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
11352 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
11353 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
11354 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
11355 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
11356 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
11357 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
11358 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
11359 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
11360 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
11361 libc/sys/aclocal.m4 libc/sys/configure
11362 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
11363 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
11364 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
11365 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
11366 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
11367 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
11368 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
11369 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
11370 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
11371 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
11372 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
11373 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
11374 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
11375 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
11376 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
11377 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
11378 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
11379 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
11380 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
11381 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
11382 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
11383 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
11384 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
11385 libm/aclocal.m4 libm/configure: Regenerated.
11386
0985d43f
CV
11387Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11388
11389 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
11390 when __CYGWIN__ is defined.
11391
b6182a09
JJ
113922000-12-13 Jeff Johnston <jjohnstn@redhat.com>
11393
11394 * libc/stdlib/ldtoa.c (_ldcheck): New routine
11395 that categorizes a long double as NaN, Infinity, or other.
17c0c97d
EB
11396 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
11397 isinfl and isnanl static routines which were i386-specific. Changed
b6182a09
JJ
11398 calls to the two removed routines to a single _ldcheck call.
11399 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
11400
adbbb034
JJ
114012000-12-13 Jeff Johnston <jjohnstn@redhat.com>
11402
11403 * Makefile.am: Fixed install-data-local target to use
11404 $(mkinstalldirs) for the installed header files to ensure
11405 the directories exist before copying.
11406 * Makefile.in: Regenerated.
11407
cbd19336
JJ
114082000-12-12 Jeff Johnston <jjohnstn@redhat.com>
11409
11410 * libc/include/sys/unistd.h: Restored Cygwin _SC
11411 constants and moved new constants appropriately
11412 so Cygwin will build.
11413
8fb37963
JJ
114142000-12-11 Joel Sherrill <joel@OARcorp.com>
11415
ba3ccd63
EB
11416 * Merge RTEMS specific .h files into main libc/include.
11417 * libc/sys/rtems/include/signal.h: Removed.
11418 * libc/sys/rtems/include/time.h: Removed.
11419 * libc/sys/rtems/sys/features.h: Removed.
11420 * libc/sys/rtems/sys/sched.h: Removed.
11421 * libc/sys/rtems/sys/siginfo.h: Removed.
11422 * libc/sys/rtems/sys/signal.h: Removed.
11423 * libc/sys/rtems/sys/time.h: Removed.
11424 * libc/sys/rtems/sys/times.h: Removed.
8fb37963
JJ
11425 definitions for time_t and clock_t since these are
11426 no longer in time.h.
ba3ccd63
EB
11427 * libc/include/pthread.h: New file.
11428 * libc/include/sys/sched.h: New file.
11429 * libc/include/sys/features.h: New file.
11430 * libc/include/time.h: Removed duplicate definition of clock_t
11431 and time_t, get them from <sys/types.h> instead. Add prototypes
11432 for POSIX clock and timer functionality.
8fb37963 11433 * libc/sys/linux/sys/types.h: Changed to include
ba3ccd63
EB
11434 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
11435 * libc/include/sys/signal.h: Add more complete set of POSIX
11436 signal functionality including real-time and threaded signals.
11437 * libc/include/sys/types.h: Add clock_t, time_t, struct
17c0c97d 11438 timespec, and struct itimerspec. Centralizing these makes
8fb37963 11439 things cleaner. RTEMS uses 64-bit dev_t.
ba3ccd63
EB
11440 Added numerous primitive definitions
11441 for pthreads including macros, pthread_attr_t,
17c0c97d 11442 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
8fb37963 11443 pthread_once_t, and pthread_t.
ba3ccd63
EB
11444 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
11445 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
11446 Feature flags removed and moved to new file <sys/features.h>.
11447 Full set of POSIX sysconf() constants
8fb37963 11448
2efbc2a7
JJ
114492000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
11450
11451 * configure.host: Added x86 linux target.
11452 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
11453 definitions provided if not already defined.
11454 * libc/sys/linux/crt0.c: New file.
11455 * libc/sys/linux/Makefile.am: Ditto.
11456 * libc/sys/linux/Makefile.in: Ditto.
11457 * libc/sys/linux/aclocal.m4: Ditto.
11458 * libc/sys/linux/brk.c: Ditto.
11459 * libc/sys/linux/configure: Ditto.
11460 * libc/sys/linux/configure.in: Ditto.
11461 * libc/sys/linux/getoptlong.c: Ditto.
11462 * libc/sys/linux/ids.c: Ditto.
11463 * libc/sys/linux/inode.c: Ditto.
11464 * libc/sys/linux/io.c: Ditto.
11465 * libc/sys/linux/linux.c: Ditto.
11466 * libc/sys/linux/process.c: Ditto.
11467 * libc/sys/linux/realpath.c: Ditto.
11468 * libc/sys/linux/select.c: Ditto.
11469 * libc/sys/linux/signal.c: Ditto.
11470 * libc/sys/linux/systat.c: Ditto.
11471 * libc/sys/linux/termios.c: Ditto.
11472 * libc/sys/linux/time.c: Ditto.
11473 * libc/sys/linux/wait.c: Ditto.
11474 * libc/sys/linux/include/alloca.h: Ditto.
11475 * libc/sys/linux/include/getopt.h: Ditto.
11476 * libc/sys/linux/include/stdint.h: Ditto.
11477 * libc/sys/linux/include/unistd.h: Ditto.
11478 * libc/sys/linux/sys/cdefs.h: Ditto.
11479 * libc/sys/linux/sys/dirent.h: Ditto.
11480 * libc/sys/linux/sys/errno.h: Ditto.
11481 * libc/sys/linux/sys/fcntl.h: Ditto.
11482 * libc/sys/linux/sys/file.h: Ditto.
11483 * libc/sys/linux/sys/ioctl.h: Ditto.
11484 * libc/sys/linux/sys/resource.h: Ditto.
11485 * libc/sys/linux/sys/signal.h: Ditto.
11486 * libc/sys/linux/sys/stat.h: Ditto.
11487 * libc/sys/linux/sys/syscall.h: Ditto.
11488 * libc/sys/linux/sys/termios.h: Ditto.
11489 * libc/sys/linux/sys/time.h: Ditto.
11490 * libc/sys/linux/sys/types.h: Ditto.
11491 * libc/sys/linux/sys/utmp.h: Ditto.
11492 * libc/sys/linux/sys/utsname.h: Ditto.
11493 * libc/sys/linux/sys/wait.h: Ditto.
11494
a08c98bb
JJ
114952000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
11496
ba3ccd63
EB
11497 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
11498 can be a relative path to $(top_srcdir)/install.sh so ensure the
11499 autoconf detected settings are properly passed recursively.
11500 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
11501 properly to subdirectories.
a08c98bb
JJ
11502 * Makefile.in: Regenerated.
11503
b294082c
JJ
115042000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
11505
ba3ccd63
EB
11506 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
11507 a floating point register unless really printing a floating
11508 point number.
b294082c 11509
2005ab6b
JJ
115102000-12-07 Jeff Johnston <jjohnstn@redhat.com>
11511
11512 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
11513 Also removed \r's.
11514 (asctoeg): Replaced alloca call with stack array and malloc
11515 when storage exceeds reasonable limit.
11516 (e53toe): Fixed einfin calls missing ldp parameter.
11517 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
11518
9f6e8f1b
JJ
115192000-12-06 Jeff Johnston <jjohnstn@redhat.com>
11520
2005ab6b 11521
9f6e8f1b
JJ
11522 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
11523
6bdac416
JJ
115242000-12-06 Jeff Johnston <jjohnstn@redhat.com>
11525
11526 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
11527 * libc/stdlib/Makefile.in: Regenerated.
11528 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
11529 * libc/stdio/vfieeefp.h: Added long double bit structures.
11530 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
11531 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
11532 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
11533 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
11534 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
11535 _strtold routines used for conversions between character
11536 and long double.
11537
ec270d31
CV
11538Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11539
11540 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
11541
db2d9549
JJ
115422000-12-04 Joel Sherrill <joel@OARcorp.com>
11543
ba3ccd63 11544 * libc/include/machine/time.h: RTEMS systems can configure clock
db2d9549
JJ
11545 tick rate so use sysconf() to ask.
11546
6ba54a15
JJ
115472000-12-04 Joel Sherrill <joel@OARcorp.com>
11548
ba3ccd63 11549 * libc/include/sys/times.h: Add reference to POSIX standard.
6ba54a15 11550
8677b819
JJ
115512000-12-04 Joel Sherrill <joel@OARcorp.com>
11552
ba3ccd63
EB
11553 * libc/include/sys/time.h: Added BSD timer manipulation macros
11554 used by RTEMS code.
8677b819 11555
1b61a706
JJ
115562000-12-04 Joel Sherrill <joel@OARcorp.com>
11557
ba3ccd63
EB
11558 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
11559 referenced by code generated by gcc 2.8.1.
11560 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
1b61a706
JJ
11561 satisfy gcc.
11562
f5e7c124
JJ
115632000-12-04 Joel Sherrill <joel@OARcorp.com>
11564
ba3ccd63 11565 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
f5e7c124 11566
768abc9c
JJ
115672000-12-04 Joel Sherrill <joel@OARcorp.com>
11568
ba3ccd63 11569 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
768abc9c 11570
9e5dd5ea
JJ
115712000-12-04 Joel Sherrill <joel@OARcorp.com>
11572
ba3ccd63 11573 * configure.host (or16, or32): New entries for OpenCores
9e5dd5ea 11574 OpenRisc CPUs.
ba3ccd63 11575 (*-*-rtems*): Add -DNO_EXEC.
9e5dd5ea 11576
768abc9c 115772000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
7713fb6f 11578
ba3ccd63
EB
11579 * libc/include/sys/errno.h: Added comments on many error numbers.
11580 * libc/string/strerror.c: Added some more strings.
7713fb6f 11581
b273323f
JJ
115822000-11-30 Jeff Johnston <jjohnstn@redhat.com>
11583
11584 * libc/sys/sh/syscalls.c (_link): New stub.
11585
0ffc3b94
NC
115862000-11-29 Nick Clifton <nickc@redhat.com>
11587
11588 * configure.host: Add xscale target.
11589 * libc/machine/xscale: New directory.
11590 * libc/machine/xscale/Makefile.am: New file.
11591 * libc/machine/xscale/Makefile.in: New file.
11592 * libc/machine/xscale/aclocal.m4: New file.
11593 * libc/machine/xscale/configure: New file.
11594 * libc/machine/xscale/configure.in: New file.
11595 * libc/machine/xscale/memchr.S: New file.
11596 * libc/machine/xscale/memcmp.S: New file.
11597 * libc/machine/xscale/memcpy.S: New file.
11598 * libc/machine/xscale/memmove.S: New file.
11599 * libc/machine/xscale/memset.S: New file.
11600 * libc/machine/xscale/strchr.S: New file.
11601 * libc/machine/xscale/strcmp.S: New file.
11602 * libc/machine/xscale/strcpy.S: New file.
11603 * libc/machine/xscale/strlen.S: New file.
11604
cbbf0f96
CV
11605Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11606
11607 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
11608 avoid compiler warnings.
11609
73dea790
MM
116102000-11-22 Michael Meissner <meissner@redhat.com>
11611
11612 * libc/posix/execl.c (execl): Don't reference environ directly,
11613 reference it only via a static pointer to avoid problems with some
11614 shared library systems and with different uses of small data where
11615 the user specifies his own version of environ.
11616 * libc/posix/execv.c (execv): Ditto.
11617 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
11618 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
11619 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
11620
11621 * libc/stdlib/getenv.c (environ): Delete unused reference to
11622 environ.
11623
11624 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
11625 colorization.
11626 * libc/stdlib/system.c: Ditto.
11627
08eac2ae
CF
11628Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
11629
11630 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
11631 including windows headers.
11632
5478bf37
JJ
116332000-11-20 Jeff Johnston <jjohnstn@redhat.com>
11634
11635 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
11636 * libc/include/dirent.h: Added definition of MAXNAMLEN if
11637 not defined by sys/dirent.h.
11638 * libc/posix/execvp.c: Added include of dirent.h to get
11639 MAXNAMLEN value which used to be in unistd.h.
11640
3a760728
CV
11641Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11642
11643 * libc/include/sys/types.h: Change type of i to `size_t' in
11644 FD_ZERO macro to avoid compiler warnings.
11645
86fff69f
CF
11646Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
11647
11648 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
11649 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
11650
ba9e88d2
CV
11651Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11652
11653 * libc/include/sys/unistd.h: Add defines for sysconf values
11654 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
11655 _SC_AVPHYS_PAGES.
11656
a8018ef3
CF
11657Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
11658
11659 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
11660 declarations for __CYGWIN__.
11661
b944c6f6
GK
116622000-09-19 Geoffrey Keating <geoffk@cygnus.com>
11663
11664 * libc/signal/signal.c (__sigtramp_r): ISO C requires
11665 case labels to be integral constant expressions, so
11666 use an if/else tree instead.
11667 (_raise_r): Likewise.
11668
7f18fcb4
JJ
116692000-09-13 Jeff Johnston <jjohnstn@redhat.com>
11670
11671 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
11672 clipping patch from e-mail reader.
11673
242361df
JJ
116742000-09-13 Will Cohen <wcohen@redhat.com>
11675
11676 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
11677 Added return value 0.
11678 (_longjmp): Allow longjmp to return value of second argument
11679 passed to it.
11680
8a8c59b9
JJ
116812000-09-06 Jeff Johnston <jjohnstn@redhat.com>
11682
ba3ccd63
EB
11683 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
11684 inline code to prevent having to include another header file.
8a8c59b9 11685
a385ae75
CF
11686Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
11687
11688 * Makefile.am: Fix space vs. tab problem in install-data-local.
11689 * Makefile.in: Regenerate.
11690
11691Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
11692
11693 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
11694 (_EXPARM): New macro for defining a function parameter.
11695 * libc/include/stdlib.h: Use _EXPARM.
11696 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
11697
a36cd013
JJ
116982000-09-05 Manfred Hollstein <manfredh@redhat.com>
11699
ba3ccd63
EB
11700 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
11701 required, as documented in the gnu coding standards.
11702 * Makefile.in: Regenerate.
a36cd013 11703
f825dfda
JJ
117042000-09-05 Jeff Johnston <jjohnstn@redhat.com>
11705
11706 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
11707 make O_NDELAY and O_NONBLOCK have the same value.
11708
4ba9aab7
JJ
117092000-08-30 Kazu Hirata <kazu@hxi.com>
11710
ba3ccd63 11711 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
4ba9aab7 11712
db7acc38
JJ
117132000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
11714
ba3ccd63
EB
11715 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
11716 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
11717 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
11718 everywhere else.
db7acc38 11719
44e36af4
GK
117202000-08-30 Geoffrey Keating <geoffk@cygnus.com>
11721
11722 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
11723 * libc/include/string.h: Don't include <sys/types.h>,
11724 as it causes really bad namespace pollution. Don't declare
11725 swab(), it is properly declared in unistd.h.
11726
00a2f168
JJ
117272000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
11728
ba3ccd63
EB
11729 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
11730 (broken) support for non-existent /etc/passwd field "comment".
00a2f168 11731
6beeb240
JJ
117322000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
11733
ba3ccd63
EB
11734 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
11735 only if _DIRENT_HAVE_D_NAMLEN is defined.
11736 (alphasort): aligned prototype with
11737 libc/sys/cygwin/sys/dirent.h and simplified function body.
11738 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
11739 long telldir (DIR *) as mentioned in annex B of POSIX.1
6beeb240 11740
ef44da42
JJ
117412000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
11742
ba3ccd63
EB
11743 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
11744 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
11745 Added __CLI and __STI macros (controlled via
11746 _I386MACH_ALLOW_HW_INTERRUPTS macro).
11747 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
11748 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
11749 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
11750 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
11751 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
11752 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
11753 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
11754 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
11755 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
11756 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
11757 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
11758 for all global entry points.
11759 * libc/machine/i386/setjmp.S: removed code replicated in
11760 libc/machine/i386/i386mach.h and included i386mach.h instead;
11761 Use __CLI and __STI instead of cli and sti.
ef44da42 11762
14d3488d
DD
117632000-08-25 DJ Delorie <dj@redhat.com>
11764
11765 * libc/include/sys/unistd.h (environ): this one isn't from the
11766 DLL, no __IMPORT
11767
c9ca4412
CF
11768Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
11769
11770 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
11771 environ when compiling under cygwin since it is already declared in
11772 unistd.h.
11773
2d5862de
JJ
117742000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
11775
11776 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
11777 like x << y-z to the equivalent x << (y-z).
11778 (d2b): changed if statements with assignment to perform the
11779 assignment prior to the if check.
11780 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
11781 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
11782 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
11783 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
11784 precedence.
11785 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
17c0c97d 11786 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
2d5862de
JJ
11787 execve.c).
11788 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
11789 precedence.
11790 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
11791 clarify && and || precendence (and to remove pascalism).
11792 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
11793 * libm/math/s_infconst.c: added another pair of braces to all
11794 initializers for __infinity (need three: for __infinity[1] array,
11795 for union __dmath, and for i[2]).
11796
0888fedd
JJ
117972000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
11798
199359f0
JJ
11799 * libc/stdlib/abort.c: changed description: uses "raise" instead of
11800 "getpid" and "kill"; added: uses "write" and "_exit".
11801 Also included unistd.h for "_exit" prototype.
11802 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
11803 reent.h for "_fork_r" and "_wait_r" prototypes.
17c0c97d 11804 (do_system): changed extern char *environ[] to POSIX-friendly
199359f0
JJ
11805 extern char **environ.
11806 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
11807 prototypes.
11808 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
11809 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
11810 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
11811 * libc/reent/openr.c: included fcntl.h for "open" prototype.
11812 * libc/reent/signalr.c: included signal.h for "kill" prototype,
11813 unistd.h for "getpid" prototype.
11814 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
11815 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
11816 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
11817 prototype. Also included stdlib.h for "abort", string.h for
11818 "strdup" and "strncmp" prototypes.
11819 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
11820 "strncpy", unistd.h for "read" and "close" prototypes.
11821 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
11822 "strcat" prototypes.
11823
118242000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
11825
0888fedd
JJ
11826 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
11827 used later (ifdef __SCLE)
11828 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
11829 used later (ifdef MB_CAPABLE)
11830 * libc/string/memset.c (memset): removed unused variables "count"
11831 and "unaligned_addr"
11832 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
11833 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
11834 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
11835 and "gid"
11836
a334e5ef
JJ
118372000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
11838
ba3ccd63
EB
11839 * libc/stdlib/envlock.c: changed documented "__env_lock" and
11840 "__env_unlock" prototype from "void *" or "char *" to
11841 "struct _reent *" to match real function. Also added include
a334e5ef 11842 of envlock.h.
ba3ccd63
EB
11843 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
11844 "__malloc_unlock" prototype from "void *" or "char *" to
11845 "struct _reent *" to match real function.
11846 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
11847 prototypes (for getenv_r.c and setenv_r.c).
a334e5ef 11848
644b7f26
DD
118492000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
11850
11851 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
11852 and prototype in cygwin's utmp.h
11853
5bacbf10
JJ
118542000-08-16 Eric Fifer <efifer@sanwaint.com>
11855
ba3ccd63 11856 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
5bacbf10 11857
38a6bf98
NC
118582000-08-09 Nick Clifton <nickc@cygnus.com>
11859
11860 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
11861 epilogue and to allow the functions to be used in a Thumb based
11862 toolchain.
11863
befe0fb3
JJ
118642000-08-08 Jeff Johnston <jjohnstn@redhat.com>
11865
11866 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
11867 so size of 0 results in nothing being written to string.
11868 Also fixed code so that when size is non-zero, there is only
11869 a maximum of size - 1 characters written to the array and
11870 a nul terminator is appended at the end.
11871 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
11872
749d9bcd
DD
118732000-08-01 DJ Delorie <dj@redhat.com>
11874
11875 * libc/include/sys/config.h: define __IMPORT appropriately
11876 * libc/include/ctype.h (_ctype_): use __IMPORT
11877 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
11878 * libc/include/math.h (__mb_cur_max): ditto
11879 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
11880 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
11881 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
11882 * libc/include/unistd.h (environ): ditto
11883
7c110b17
MM
118842000-07-28 Michael Meissner <meissner@redhat.com>
11885
11886 * libc/include/math.h (__infinity): Declare as an array without
11887 bounds to get around small data support. Rewrite Cygwin support
11888 to be more general.
11889 * libm/math/s_infconst.c (__infinity): Ditto.
11890 * libm/mathfp/s_infconst.c (__infinity): Ditto.
11891
bf7be721
CF
11892Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
11893
11894 * libc/include/math.h: Use appropriate dll import linkage for
11895 __infinity under Cygwin.
11896
91a8d90b
DD
118972000-07-13 DJ Delorie <dj@cygnus.com>
11898
11899 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
11900
ba2048d3
JJ
11901Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
11902
11903 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
11904 to argument list for AngelSWI_Reason_GetCmdLine.
11905
4634da64
JJ
11906Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
11907
11908 * configure.host: Add support for AVR target.
11909 * libc/include/machine/ieeefp.h: Likewise.
11910 * libc/include/sys/config.h: Likewise.
11911
b19f72a2
RK
11912Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
11913
11914 * README: Newlib 1.8.2 must be built in a separate directory
11915 than the sources.
11916
a704d94a
JJ
11917Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11918
ba3ccd63
EB
11919 * libc/include/sys/reent.h (_rand_next): Added __extension__
11920 qualifier as long long type is not strict ANSI.
11921 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
11922 to long long constant.
a704d94a 11923
b585720b
CV
11924Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
11925
ba3ccd63
EB
11926 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
11927 `setegid' provided by Cygwin.
b585720b 11928
01c327ba
CV
11929Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
11930
ba3ccd63
EB
11931 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
11932 account for Cygwin.
01c327ba 11933
46a43a99
JJ
11934Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11935
ba3ccd63
EB
11936 * libc/include/sys/reent.h (_rand_next): Changed to
11937 unsigned long long and moved to end of _reent struct in _new union.
11938 (_REENT_INIT): Changed to move _rand_next initialization.
11939 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
11940 linear congruential algorithm that is used by DJGPP.
46a43a99 11941
a68078cb
RK
11942Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
11943
11944 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
11945 * libc/include/sys/config.h: Define __RAND_MAX.
11946
518882f3
JJ
11947Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11948
ba3ccd63
EB
11949 * libc/stdlib/rand_r.c: New algorithm that meets minimal
11950 standard.
518882f3 11951
d51d968a
CF
11952Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
11953
11954 * libc/include/string.h: Work around problem with strsignal and gdb.
11955
d2dd5765
CF
11956Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
11957
11958 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
11959 * libc/include/malloc.h: Ditto.
11960 * libc/include/process.h: Ditto.
11961 * libc/include/stdio.h: Ditto.
11962 * libc/include/stdlib.h: Ditto.
11963 * libc/include/time.h: Ditto.
11964 * libc/include/machine/setjmp.h: Ditto.
11965 * libc/include/sys/errno.h: Ditto.
11966 * libc/include/sys/signal.h: Ditto.
11967 * libc/include/sys/stat.h: Ditto.
11968 * libc/include/sys/time.h: Ditto.
11969 * libc/include/sys/unistd.h: Ditto.
11970 * libc/include/string.h: Ditto. strsignal should return a const char *.
11971
88870218
JJ
119722000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
11973
11974 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
11975 * libm/common/s_log1p.c (log1p): Likewise.
11976 * libm/common/s_scalbn.c (scalbn): Likewise.
11977 * libm/math/e_log.c: Likewise.
11978 * libm/math/e_asin.c: Likewise.
11979 * libm/math/ef_asin.c: Likewise.
11980 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
11981 * libm/math/e_j1.c (pone, qone): Likewise.
11982 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
11983 * libm/math/ef_j1.c (ponef, qonef): Likewise.
11984 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
11985 * libm/mathfp/e_j1.c (pone, qone): Likewise.
11986 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
11987 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
11988
c4e1aa01
DD
119892000-05-19 DJ Delorie <dj@cygnus.com>
11990
11991 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
11992 (__sread): always read in binary mode
11993 (__swrite): always write in binary mode
11994 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
11995 compatibility issues with different dll versions
11996 * libc/stdio/fopen.c: use __stextmode
11997 * libc/stdio/fdopen.c: ditto
11998 * libc/stdio/freopen.c: ditto
11999 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
12000 * libc/stdio/local.h: declare __stextmode
17c0c97d 12001
f4393261
DD
120022000-05-18 DJ Delorie <dj@cygnus.com>
12003
12004 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
17c0c97d 12005
2b533fac
JJ
12006Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
12007
12008 * libc/include/ctype.h: Changed tolower and toupper macros
12009 to use __extension__ to prevent pedantic warnings.
12010
75362a76
RK
12011Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
12012
12013 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
12014 structures.
12015
ec463fc7
JW
12016Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
12017
12018 * libc/include/machine/ieeefp.h: Add ia64 support.
12019 * configure.host: Likewise.
12020
f35ceefa
JJ
12021Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
12022
ba3ccd63
EB
12023 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
12024 month is now padded with space, not zero. This now conforms to
f35ceefa
JJ
12025 ANSI standard.
12026
b96fca8c
CV
12027Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
12028
ba3ccd63
EB
12029 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
12030 host or network path") used by cygwin. Add some comments.
b96fca8c 12031
49d64538
JJ
12032Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
12033
12034 * libc/include/stdio.h (FILE): define __SCLE for "convert line
12035 endings" for Cygwin.
12036 (__sgetc): convert line endings if needed
12037 (__sputc): ditto
12038 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
12039 * libc/stdio/fopen.c (_fopen_r): ditto
12040 * libc/stdio/freopen.c (freopen): ditto
12041 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
12042 * libc/stdio/fvwrite.c (__sfvwrite): ditto
12043
91fb1e7f
AO
12044Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
12045
12046 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
12047 post-increment when it is worth it, spacewise.
12048
c87be3e4
JJ
12049Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
12050
12051 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
12052 * libc/stdio/findfp.c (std): Added declaration of flags and file.
17c0c97d 12053 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
c87be3e4
JJ
12054 return type.
12055 * libc/stdio/putchar.c (putchar): Added return statement.
12056 * libc/stdio/refill.c (lflush): Added correct parentheses.
12057 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
17c0c97d 12058 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
c87be3e4
JJ
12059 prints long value to use l qualifier.
12060 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
12061 messages and initialized local values: ilim, ilim1, and spec_case.
12062 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
12063 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
12064 * libc/stdlib/mprec.c: Ditto.
12065 * libc/stdlib/setenv_r.c: Ditto.
12066 * libc/stdlib/strtod.c: Ditto.
12067 * libc/stdlib/strtol.c: Ditto.
12068 * libc/stdlib/strtoul.c: Ditto.
12069 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
12070 * libm/common/sf_log1p.c: Ditto.
12071 * libm/common/sf_scalbn.c: Ditto.
12072 * libm/math/ef_log.c: Ditto.
12073
11f5b065
CV
12074Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
12075
ba3ccd63
EB
12076 * libc/posix/execvp.c (execvp): Check path for
12077 trailing slash.
11f5b065 12078
796e3b20
CV
12079Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
12080
ba3ccd63
EB
12081 * libc/include/sys/unistd.h: Add prototypes for
12082 fchmod, fchown, lchown.
796e3b20 12083
b489803a
JJ
12084Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
12085
12086 * acinclude.m4: Changed release to 1.8.2.
12087 * aclocal.m4 configure doc/aclocal.m4 doc/configure
12088 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
12089 libc/machine/configure libc/machine/a29k/aclocal.m4
12090 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
12091 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
12092 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
12093 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
12094 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
12095 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
12096 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
12097 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
12098 libc/machine/i386/configure libc/machine/i960/aclocal.m4
12099 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
12100 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
12101 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
12102 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
12103 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
12104 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
12105 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
12106 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
12107 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
12108 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
12109 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
12110 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
12111 libc/machine/v850/configure libc/machine/w65/aclocal.m4
12112 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
12113 libc/machine/z8k/configure libc/sys/aclocal.m4
12114 libc/sys/aclocal.m4 libc/sys/configure
12115 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
12116 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
12117 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
12118 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
12119 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
12120 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
12121 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
12122 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
12123 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
12124 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
12125 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
12126 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
12127 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
12128 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
12129 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
12130 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
12131 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
12132 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
12133 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
12134 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
12135 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
12136 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
12137 libm/aclocal.m4 libm/configure: Regenerated.
12138
79908d67
NC
121392000-03-24 Nick Clifton <nickc@cygnus.com>
12140
12141 * libc/sys/arm/syscalls.c: Fix compile time warnings.
12142 (do_AngelSWI): Add "cc" to list o registers clobbered.
12143
7684ddaf
FN
12144Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
12145
12146 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
17c0c97d 12147 information to be clobbered by an Angel C library support syscall.
7684ddaf 12148
b8ec20c8
JJ
12149Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
12150
12151 * libc/stdlib/envlock.c: Fixed comment typo.
12152
fae4c299
JJ
12153Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
12154
12155 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
12156 code to update nread as each character is processed instead
12157 of using buffer contents which throw away leading zeroes.
12158
dc98804b
RK
12159Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
12160
ba3ccd63 12161 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
dc98804b 12162
5ed2f523
JJ
12163Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
12164
12165 * libc/include/string.h: Include <sys/types.h>.
12166
1cf0ee34
AO
12167Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12168
12169 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
12170 with XSH5, not SVID.
12171
e9c94978
JJ
12172Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
12173
ba3ccd63 12174 * libc/include/string.h: Changed last argument back to ssize_t
17c0c97d 12175 to make it compatible with XPG4 definition which is
e9c94978
JJ
12176 defined in <unistd.h>. There is a conflict in the SVID 3
12177 and XPG4 definitions and newlib will settle with XPG4.
ba3ccd63 12178 * libc/string/swab.c: Ditto.
e9c94978 12179
3072163c
JJ
12180Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
12181
ba3ccd63
EB
12182 * libc/include/string.h: Changed last argument to size_t.
12183 * libc/string/swab.c: Changed last argument to size_t.
3072163c 12184
f205ea7a
AO
12185Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12186
12187 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
12188 (CHEWOUT_FILES): Added unlinkr.def.
12189 * libc/reent/Makefile.in: Rebuilt.
12190 * libc/sys.tex: Include unlinkr.def.
12191 * libc/reent/linkr.c (_unlink_r): Moved to...
12192 * libc/reent/unlinkr.c: ... new file.
12193
85dd2e5b
AO
12194Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12195
12196 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
12197 (CHEWOUT_FILES): Added swab.def.
12198 * libc/string/Makefile.in: Rebuilt.
12199 * libc/string/string.tex: Include swab.def.
12200 * libc/include/string.h (swab): Declare.
12201 * libc/string/swab.c: New file.
12202
c5053058
AO
12203Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12204
12205 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
12206 (CHEWOUT_FILES): Added getw.def and putw.def.
12207 * libc/stdio/Makefile.in: Rebuilt.
12208 * libc/stdio/stdio.tex: Include getw.def and putw.def.
12209 * libc/stdio/getw.c: New file.
12210 * libc/stdio/putw.c: New file.
12211
dbaf37cf
JJ
12212Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
12213
12214 * libc/stdio/flags.c (__sflags): Added check that mode[1]
12215 is non-null before looking at mode[2].
12216
bc019ef2
RK
12217Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
12218
12219 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
12220 * libm/mathfp/sf_atan.c: Ditto.
12221
12222Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
12223
12224 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
12225
cd641b2d
RK
12226Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
12227
12228 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
12229 _DOUBLE_IS_32BITS.
12230
b0ba0ac2
JJ
12231Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
12232
12233 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
12234 call prior to calling _VFPRINTF_R so reentrant data area is set.
12235 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
12236
8a0efa53
CF
12237Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
12238
12239 * libc/stdio/vfscanf.c (limits.h): #include.
12240 (MAX_LONG_LEN): #define.
12241 (__svfscanf): Handle floating point numbers with arbitrary amounts
12242 of leading zeroes.
12243
122442000-02-15 Nick Clifton <nickc@cygnus.com>
12245
12246 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
12247 zero. Set the blocksize to 1024/
12248
12249Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
12250
12251 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
12252 with line buffering.
12253
12254Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
12255
17c0c97d 12256 * acinclude.m4: Changed include directory for winsup headers.
8a0efa53
CF
12257 * aclocal.m4 configure libc/aclocal.m4
12258 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
12259 libc/locale/Makefile.in libc/machine/aclocal.m4
12260 libc/machine/configure libc/machine/a29k/aclocal.m4
12261 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
12262 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
12263 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
12264 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
12265 libc/machine/fr30/configure
12266 libc/machine/h8300/aclocal.m4
12267 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
12268 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
12269 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
12270 libc/machine/i386/configure libc/machine/i960/aclocal.m4
12271 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
12272 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
12273 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
12274 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
12275 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
12276 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
12277 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
12278 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
17c0c97d 12279 libc/machine/powerpc/configure
8a0efa53
CF
12280 libc/machine/sh/aclocal.m4
12281 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
12282 libc/machine/sparc/configure
12283 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
12284 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
12285 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
12286 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
12287 libc/misc/Makefile.in libc/posix/Makefile.in
17c0c97d 12288 libc/reent/Makefile.in
8a0efa53
CF
12289 libc/signal/Makefile.in
12290 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
12291 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
12292 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
12293 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
12294 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
12295 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
12296 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
12297 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
12298 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
12299 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
12300 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
12301 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
12302 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
12303 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
12304 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
12305 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
12306 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
12307 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
12308 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
12309 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
12310 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
12311 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
12312 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
12313 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
12314 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
12315 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
12316 libm/configure: Regenerated.
12317
12318Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
12319
12320 * libc/stdlib/putenv_r.c (_putenv_r): New file.
12321 * libc/stdlib/strdup_r.c (_strdup_r): New file.
12322 * libc/include/string.h: Added _strdup_r.
17c0c97d 12323 * libc/stdlib/putenv.c: Added call to reentrant version.
8a0efa53
CF
12324 * libc/stdlib/strdup.c: Ditto.
12325 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
12326 * libc/include/stdlib.h: Ditto.
17c0c97d 12327 * libc/stdlib/Makefile.in: Regenerated.
8a0efa53
CF
12328 * libc/string/Makefile.in: Regenerated.
12329 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
12330 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
12331 management calls to reentrant versions.
12332 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
12333 * libc/stdlib/wctomb.c: Ditto.
12334 * libc/stdlib/mblen.c: Ditto.
12335 * libc/stdlib/mbstowcs.c: Ditto.
17c0c97d 12336 * libc/stdlib/mbtowc.c: Ditto.
8a0efa53
CF
12337 * libc/stdlib/getenv.c: Ditto.
12338 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
12339 and _strdup_r.
12340
12341Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
12342
12343 patch from Corinna Vinschen <corinna@vinschen.de>
12344 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
12345
bc019ef2 12346Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
8a0efa53
CF
12347
12348 * libm/mathfp/s_atangent.c: Fix exponent calculation.
12349 * libm/mathfp/s_ldexp.c: Ditto.
12350 * libm/mathfp/sf_atangent.c: Ditto.
12351 * libm/mathfp/sf_ldexp.c: Ditto.
12352
12353Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12354
12355 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
12356 * libc/include/locale.h: define NULL to be 0.
12357
12358Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
12359
12360 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
12361 function.
12362
12363Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
12364
12365 * libc/machine/mn10300/setjmp.S: Handle am33.
12366
123671999-11-26 Nick Clifton <nickc@cygnus.com>
12368
12369 * libc/sys/arm/syscalls.c: Add function prototypes.
12370 (stack_ptr): Move declaration before function definitions.
12371
12372Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12373
12374 * NEWS: Updated version information.
12375 * README: Ditto.
12376
12377Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
12378
12379 * libc/machine/i386/strchr.S: Fixed alignment test.
12380
12381Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
12382
12383 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
12384
12385Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
12386
12387 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
17c0c97d 12388 ensuring that there is space between the two.
8a0efa53
CF
12389
12390Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
12391
12392 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
12393 only.
12394
123951999-10-08 Vadim Egorov <egorovv@1c.ru>
12396
12397 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
12398 section
12399
12400Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
12401
12402 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
12403 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
12404
12405Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
12406 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
12407 per POSIX 1003.1b.
12408 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
12409 per POSIX 1003.1b.
12410
124111999-09-13 DJ Delorie <dj@cygnus.com>
12412
12413 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
12414 also.
12415
12416Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
12417
12418 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
12419 also note BUFSIZ as its size.
12420
12421Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
12422
12423 * configure.host: Corrected feature defines for RTEMS.
12424 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
12425 * libc/include/sys/stat.h: mkfifo() should take const path arg.
12426 * libc/include/sys/unistd.h: pathconf() should take const path arg.
12427 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
12428 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
12429 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
12430 _PC_PRIO_IO, and _PC_SYNC_IO.
12431 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
12432 * libc/machine/m68k/Makefile.in: Regenerated.
12433 * libc/machine/m68k/strcpy.c: New file.
12434 * libc/machine/m68k/strlen.c: New file.
12435 * libc/stdio/tmpnam.c: Always make the returned name usable.
12436 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
12437 * libc/sys/rtems/sys/dirent.h: New file.
12438 * libc/sys/rtems/sys/types.h: Added dev_t.
12439
12440Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
12441
12442 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
12443
12444Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
12445
12446 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
12447 my patch.
12448
12449Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
12450
12451 patch from Jeff Johnston <jjohnstn@cygnus.com>
12452 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
12453 buffer is not in a useful state.
12454
124551999-09-01 Nick Clifton <nickc@cygnus.com>
12456
12457 * libc/sys/arm/syscalls.c (_link): Add stub.
12458
12459Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12460
12461 * ftell.c (ftell): Use actual position within buffer for text mode.
12462 * findfp.c (std): Initialize ptr->_bf._size.
12463
12464Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
12465
12466 * libc/include/sys/unistd.h: Add nice() declaration.
12467
124681999-08-09 Nick Clifton <nickc@cygnus.com>
12469
12470 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
12471 declare as a thumb function so that the disassembler will see the
12472 mode change.
12473
12474Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12475
12476 * libc/reent/reent.tex: Updated list of reentrant functions.
12477
124781999-07-09 Michael Meissner <meissner@cygnus.com>
12479
12480 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
17c0c97d 12481
8a0efa53
CF
12482Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
12483
12484 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
12485 separate file.
12486 * libc/stdio/snprintf.c: New file.
12487 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
12488 separate file.
12489 * libc/stdio/vsnprintf.c: New file.
12490 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
12491 * libc/stdio/Makefile.in: Regenerated.
12492
12493Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
12494
12495 Patch submitted by Egor Duda <deo@logos-m.ru>:
12496 * libc/include/stdio.h: Add declarations for *nprintf.
12497 * libc/stdio/sprintf.c (snprintf): New function.
12498 (_snprintf_r): New function.
12499 * libc/stdio/vsprintf.c (vsnprintf): New function.
12500 (_vnsprintf_r): New function.
12501
12502Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
12503
12504 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
12505 * libm/Makefile.am (stmp-targetdep): Ditto.
12506 * libc/Makefile.in: Regenerated.
12507 * libm/Makefile.in: Ditto.
12508
12509Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
12510
12511 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
12512 * libm/Makefile.am (stmp-targetdep): Ditto.
12513 * libc/Makefile.in: Regenerated.
12514 * libm/Makefile.in: Ditto.
12515
12516Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
12517
12518 * Makefile.am: Removed dependencies on all-recursive and added "."
12519 to the SUBDIRS list to prevent infinite recursion from occurring.
12520 Also removed any references to EXTRA_DATA.
12521 * libc/Makefile.am: Ditto.
12522 * libc/machine/Makefile.am: Ditto.
12523 * libc/machine/i386/Makefile.am: Ditto.
12524 * libm/Makefile.am: Ditto.
12525 * libc/sys/Makefile.am: Ditto.
12526 * Makefile.in: Regenerated.
12527 * aclocal.m4: Ditto.
12528 * configure: Ditto.
12529 * doc/Makefile.in: Ditto.
12530 * doc/aclocal.m4: Ditto.
12531 * doc/configure: Ditto.
12532 * libc/Makefile.in: Ditto.
12533 * libc/aclocal.m4: Ditto.
12534 * libc/configure: Ditto.
12535 * libc/machine/Makefile.in: Ditto.
12536 * libc/machine/aclocal.m4: Ditto.
12537 * libc/machine/configure: Ditto.
12538 * libc/machine/mn10300/Makefile.in: Ditto.
12539 * libc/machine/mn10300/aclocal.m4: Ditto.
12540 * libc/machine/mn10300/configure: Ditto.
12541 * libc/sys/Makefile.in: Ditto.
12542 * libc/sys/aclocal.m4: Ditto.
12543 * libc/sys/configure: Ditto.
12544 * libm/Makefile.in: Ditto.
12545 * libm/aclocal.m4: Ditto.
12546 * libm/configure: Ditto.
12547
12548Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12549
12550 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
12551
12552Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12553
12554 * libc/include/stdlib.h: Add reentrant routines.
12555 * libc/stdlib/Makefile.am: Add reentrant routines.
12556 * libc/stdlib/Makefile.in: Ditto.
12557 * libc/stdlib/envlock.c: New file.
12558 * libc/stdlib/envlock.h: New file.
12559 * libc/stdlib/getenv.c: Modify to call reentrant routine.
12560 * libc/stdlib/getenv_r.c: New file.
12561 * libc/stdlib/mblen.c: Modify to call reentrant routine.
12562 * libc/stdlib/mblen_r.c: New file.
12563 * libc/stdlib/setenv.c: Modify to call reentrant routine.
12564 * libc/stdlib/setenv_r.c: New file.
12565 * libc/stdlib/stdlib.tex: Add reentrant routines.
12566
12567Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
12568
12569 * libc/include/sys/types.h: Define __MS_types__ whenever
12570 cygwin or win32.
12571
12572Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
12573
12574 * libc/include/machine/ieeefp.h: Always default to little
12575 endian if Windows, regardless of architecture.
12576 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
12577 regardless of architecture.
12578
12579Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
12580
12581 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
12582 _WIN32 isn't defined.
12583
12584Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
12585
12586 * libm/common/s_rint.c (rint): Add volatile qualifier for
12587 intermediate value w.
12588 * libm/common/sf_rint.c (rintf): Ditto.
12589
12590Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
12591
12592 * libc/sys/arm/syscalls.c (remap_handle): Added check to
12593 ensure that std streams are initialized before being referenced.
12594
125951999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
12596
12597 * README: Update reference to newlib@cygnus.com new
12598 newlib@sourceware.cygnus.com address.
12599
12600Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
12601
12602 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
12603 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
12604 defined, even if _WIN32 isn't defined.
12605
12606Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
12607
12608 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
12609
12610Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12611
12612 * libc/include/sys/reent.h: Change Long and ULong to __Long and
12613 __ULong.
12614 * libc/stdlib/dtoa.c: Ditto.
12615 * libc/stdlib/mprec.c: Ditto.
12616 * libc/stdlib/mprec.h: Ditto.
12617 * libc/stdlib/strtod.c: Ditto.
12618
126191999-04-21 Nick Clifton <nickc@cygnus.com>
12620
12621 * configure.host (mcore): Remove mcore machine directory.
12622
126231999-04-18 Nick Clifton <nickc@cygnus.com>
12624
12625 * libc/include/machine/ieeefp.h: Add support for mcore target.
12626 * libc/include/machine/setjmp.h: Add support for mcore target.
12627 * configure.host: Add support for mcore target.
12628
126291999-04-13 Mark Salter <msalter@cygnus.com>
12630
12631 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
12632 * libc/sys/arm/syscalls.c: Added isatty.
12633
12634Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12635
12636 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
12637 insert zeroes after significant digits.
12638
12639Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
17c0c97d 12640
8a0efa53
CF
12641 * libc/stdio/vfprintf.c (cvt): Changed floating point
12642 cvt routine to use union used by dtoa to properly determine
12643 if the sign bit is on or not.
12644 * libc/stdio/vfieeefp.h: New file
17c0c97d 12645
8a0efa53
CF
12646Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12647
12648 * aclocal.m4: Regenerated.
12649 * configure: Regenerated.
12650
12651Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12652
12653 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
12654 f_tanf reference.
12655 * libc/machine/i386/Makefile.in: Regenerated.
12656
12657Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
12658
12659 * acinclude.m4: Changed to work with new automake.
12660 * configure: Regenerated.
12661 * libc/machine/i386/aclocal.m4: Regenerated.
12662 * libc/machine/i386/configure: Regenerated.
12663
12664Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
12665
12666 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
12667 for telldir() and seekdir(). Rename unused structure element
12668 for use with these two routines.
12669
12670Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
12671
12672 * libc/time/mktime.c (validate_structure): Multiple fixes to
12673 code to handle cases where input fields are outside valid ranges.
12674 * libc/stdlib/div.c (div): Modified invalid rounding check.
12675 * libc/stdlib/ldiv.c (ldiv): Ditto.
12676
12677Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
12678
12679 * libc/machine/i386/memcpy.S: Performance rewrite.
12680 * libc/machine/i386/memmove.S: Ditto.
12681 * libc/machine/i386/i386mach.h: Added more register definitions.
12682 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
12683 option used.
12684 * libc/include/machine/fastmath.h: Add definitions for x86
12685 fast-math routines.
12686
12687Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12688
12689 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
12690
12691Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
12692
12693 Adjust newlib headers for new Cygwin Win32 API header files:
12694 * libc/include/sys/time.h: Check _WINSOCK_H rather than
12695 _GNU_H_WINDOWS32_SOCKETS.
12696 * libc/include/sys/types.h: Ditto.
12697
12698Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12699
12700 *include/sys/reent.h: Add checks for size of Bigint element Long.
12701 *libc/dtoa.c: Change routines to use generic Long type.
12702 *libc/mprec.c: Change routines to use generic Long type.
12703 *libc/mprec.h: Change routines to use generic Long type.
12704
12705Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
12706
12707 * libc/Makefile.am: Add .def files.
12708 * libc/Makefile.in: Regenerate.
12709 * libc/e_acosh.c: Documentation update.
12710 * libc/e_atanh.c: Documentation update.
12711 * libc/e_hypot.c: Documentation update.
12712 * libc/e_remainder.c: Documentation update.
12713 * libc/er_lgamma.c: Documentation update.
12714 * libc/mathfp.tex: Documentation update.
12715 * libc/s_acos.c: Documentation update.
12716 * libc/s_atan.c: Documentation update.
12717 * libc/s_atan2.c: Documentation update.
12718 * libc/s_cosh.c: Documentation update.
12719 * libc/s_fmod.c: Documentation update.
12720 * libc/s_isnan.c: Documentation update.
12721 * libc/s_log10.c: Documentation update.
12722 * libc/s_pow.c: Documentation update.
12723 * libc/w_jn.c: Documentation update.
12724
12725Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
12726
12727 * aclocal.m4: Regenerate.
12728 * configure: Regenerate.
12729
12730Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
12731
ba3ccd63
EB
12732 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
12733 to return 1 if user specified return code is 0.
12734 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
8a0efa53
CF
12735
12736Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
12737
12738 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
12739 to save the return address. Fixed longjmp to return to the original
12740 calling address of setjmp and to return the user specified return code
12741 rather than default to 1.
12742 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
12743
12744Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
12745
12746 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
12747
127481999-02-10 Nick Clifton <nickc@cygnus.com>
12749
12750 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
12751 volatile so that its assignments will not be discarded.
12752
12753Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
12754
12755 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
12756 be __STRICT_ANSI__ which is generated by compiler.
12757 * libc/include/ctype.h: Ditto.
12758 * libc/include/math.h: Ditto.
12759 * libc/include/stdio.h: Ditto.
12760 * libc/include/stdlib.h: Ditto.
12761 * libc/include/string.h: Ditto.
12762 * libc/include/sys/signal.h: Ditto.
12763
127641999-02-08 Nick Clifton <nickc@cygnus.com>
12765
12766 * configure.host: Add support for StrongARM target.
12767
12768Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
12769
12770 * libc/string/strncpy.c (strncpy): Removed redundant code
12771 that was copying bytes if data unaligned.
12772
127731999-02-02 Brendan Kehoe <brendan@cygnus.com>
12774
12775 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
12776 mbstowcs.def, and wcstombs.def.
12777
12778Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
12779
12780 * libc/include/sys/errno.h: Add Cygwin errno.
12781 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
12782 is specified.
12783
127841999-01-29 Nick Clifton <nickc@cygnus.com>
12785
12786 * libc/sys/arm/syscalls.c: Move C library functions into seperate
12787 file.
17c0c97d 12788
8a0efa53
CF
12789 * libc/sys/arm/libcfunc.c: New file containing C library functions
12790 from syscalls.c
12791
12792 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
12793 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
12794
12795
127961999-01-27 Michael Meissner <meissner@cygnus.com>
12797
12798 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
12799 type, and cut size in half so that the jmp_buf array is guaranteed
12800 to be aligned on a 64-bit boundary.
12801
12802Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
12803
12804 * libc/string/strings.tex: Added information about
12805 strcasecmp and strncasecmp.
12806 * libc/stdlib/stdlib.tex: Added missing information
12807 about mblen, mbstowcs, and wcstombs.
12808 * libc/string/strchr.c: Changed how mask is built to use
12809 shift operators so register will be used instead of storage.
12810
128111999-01-22 DJ Delorie <dj@cygnus.com>
12812
12813 * libc/include/stdlib.h: don't use dllimport if we're building
12814 newlib, since it's inside cygwin.dll
12815
12816Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
12817
12818 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
12819 _ctype_ under cygwin.
12820
12821Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
12822
12823 * include/stdlib.h: Fix typo from previous checkin.
12824
12825Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
12826
12827 * include/ctype.h: Use __declspec(dllimport) method for exporting
12828 variable from cygwin DLL.
12829 * include/time.h: Ditto.
12830 * sys/errno.h: Ditto.
12831 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
12832 * libc/locale/locale.c: Use __declspec(dllexport) method for
12833 exporting variable from cygwin DLL.
12834
12835Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
12836
12837 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
12838 access of bogus pointer will result in SIGSEGV.
12839
128401999-01-07 Nick Clifton <nickc@cygnus.com>
12841
12842 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
12843 of an underscore prefix to function names.
12844
12845Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
12846
12847 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
12848 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
12849
128501998-12-31 Michael Meissner <meissner@cygnus.com>
12851
12852 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
12853 to `%' if not already defined.
12854
128551998-12-30 Michael Meissner <meissner@cygnus.com>
12856
12857 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
12858 arguments const char *, not char *.
12859 * libc/include/stdio.h (_tempnam_r): Ditto.
12860
12861 * libc/include/sys/reent.h (struct _reent): The _sig_func type
12862 points to a function taking an integer, not void.
12863
12864Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
12865
12866 * configure.host: Add a define for Cygwin builds.
12867 * libc/include/ctype.h: Don't use dll imported variables in newlib.
12868
12869Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
12870
12871 * libc/include/ctype.h: Define _ctype_ as dll imported variable
12872 for use with Cygwin.
12873 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
12874 dll imported variables for use with Cygwin.
12875 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
12876 as a dll imported variable for Cygwin.
12877
12878Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
12879
12880 * libc/include/sys/unistd.h: Add proto for getpass.
12881
12882Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
12883
12884 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
12885 alphasort.
12886
12887Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
12888
12889 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
12890 not posix_path_list_p.
12891
128921998-12-15 Nick Clifton <nickc@cygnus.com>
12893
12894 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
12895 a signed int.
12896
128971998-12-13 Nick Clifton <nickc@cygnus.com>
12898
12899 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
12900
129011998-12-12 Nick Clifton <nickc@cygnus.com>
12902
12903 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
12904 <msalter@cygnus.com>
12905 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
12906 * libc/machine/fr30/Makefile.in: Regenerated.
12907
129081998-12-11 Nick Clifton <nickc@cygnus.com>
12909
12910 * configure.host: Remove use of libc/sys for FR30 port.
12911 * libc/sys/fr30: Remove directory (replaced by libgloss).
12912
129131998-12-10 Ken Raeburn <raeburn@cygnus.com>
12914
12915 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
12916 * libc/string/strncat.c (ALIGNED): Ditto.
12917
12918Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
12919
12920 * libc/include/sys/time.h: include sys/types.h
12921
12922Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
12923
12924 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
12925 comparison found when checking word at a time.
12926
129271998-12-04 Nick Clifton <nickc@cygnus.com>
12928
12929 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
12930
129311998-12-03 Nick Clifton <nickc@cygnus.com>
12932
12933 * libc/sys/fr30/syscalls.c (_times): New function stub.
12934
12935Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
12936
12937 * configure.host (mach_add_setjmp): Replaced mach_add_objs
12938 with mach_add_setjmp flag which indicates if setjmp should
12939 be added to the machine directory objects.
12940 * acinclude.m4: Removed reference to mach_add_objs.
12941 * aclocal.m4: Regenerated.
12942 * Makefile.in: Regenerated.
12943 * configure: Regenerated.
12944 * libc/aclocal.m4: Regenerated.
12945 * libc/Makefile.in: Regenerated.
12946 * libc/configure: Regenerated.
12947 * libc/machine/aclocal.m4: Regenerated.
12948 * libc/machine/Makefile.in: Regenerated.
12949 * libc/machine/configure: Regenerated.
12950 * libc/machine/i386/aclocal.m4: Regenerated.
12951 * libc/machine/i386/Makefile.am: Altered to selectively add
12952 setjmp.S to the src files list.
12953 * libc/machine/i386/Makefile.in: Regenerated.
12954 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
12955 * libc/machine/i386/configure: Regenerated.
12956
129571998-12-02 Nick Clifton <nickc@cygnus.com>
12958
12959 * libc/sys/fr30/crt0.s (_start): Fix function names.
12960
12961 * libc/machine/fr30: New directory
12962 * libc/machine/fr30/Makefile.am: New file.
12963 * libc/machine/fr30/Makefile.in: New generated file.
12964 * libc/machine/fr30/configure.in: New file.
12965 * libc/machine/fr30/configure: New generated file.
12966 * libc/machine/fr30/aclocal.m4: New generated file.
12967 * libc/sys/fr30/Makefile.am: New file.
12968 * libc/sys/fr30/Makefile.in: New generated file.
12969 * libc/sys/fr30/configure.in: New file.
12970 * libc/sys/fr30/configure: New generated file.
12971 * libc/sys/fr30/syscalls.c: New file.
12972
12973Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
12974
12975 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
12976
129771998-12-01 Ken Raeburn <raeburn@cygnus.com>
12978
12979 * libc/time/strftime.c (strftime): Also handle %y for years before
12980 1900.
12981
12982Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
12983
12984 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
12985 UNIX convention. Perform tolower on characters before comparing
12986 them rather than use toupper.
12987 * libc/string/strncasecmp.c (strncasecmp): Ditto.
12988
12989Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
17c0c97d 12990
8a0efa53
CF
12991 * configure.host: Added using i386 machine directory
12992 for all x86 cross-compiler and configuring
12993 which added object files to use via new "mach_add_objs" variable.
12994 * configure: Regenerated.
12995 * libc/configure: Regenerated.
12996 * libc/Makefile.in: Regenerated.
12997 * libc/aclocal.m4: Regenerated.
12998 * libc/ctype/Makefile.in: Regenerated.
12999 * libc/errno/Makefile.in: Regenerated.
13000 * libc/locale/Makefile.in: Regenerated.
13001 * libc/machine/Makefile.in: Regenerated.
13002 * libc/machine/aclocal.m4: Regenerated.
13003 * libc/machine/configure: Regenerated.
13004 * libc/posix/Makefile.in: Regenerated.
13005 * libc/reent/Makefile.in: Regenerated.
13006 * libc/signal/Makefile.in: Regenerated.
13007 * libc/stdio/Makefile.in: Regenerated.
13008 * libc/stdlib/Makefile.in: Regenerated.
13009 * libc/string/Makefile.in: Regenerated.
13010 * libc/string/memmove.c: Optimized code to use memcpy
13011 logic when performing a non-destructive copy.
13012 * libc/string/strncmp.c: Altered code to allow building
13013 optimized for size or speed.
13014 * libc/syscalls/Makefile.in: Regenerated.
13015 * libc/time/Makefile.in: Regenerated.
13016 * libc/unix/Makefile.in: Regenerated.
13017 * libc/machine/i386/Makefile.am: Added new files and reference
13018 to "mach_add_objs" to indicate optional object files.
13019 * libc/machine/i386/Makefile.in: Regenerated.
13020 * libc/machine/i386/aclocal.m4: Regenerated.
13021 * libc/machine/i386/configure: Regenerated.
13022 * libc/machine/i386/memchr.S: New file that implements
13023 function in Intel assembler.
13024 * libc/machine/i386/memcmp.S: ditto.
13025 * libc/machine/i386/memcpy.S: ditto.
13026 * libc/machine/i386/memmove.S: ditto.
13027 * libc/machine/i386/memset.S: ditto.
13028 * libc/machine/i386/strchr.S: ditto.
13029 * libc/machine/i386/strlen.S: ditto.
13030 * libc/machine/i386/f_atan2.S: New file that implements
13031 fast version of math function to be used by compiler when
13032 --ffast_math compile option is used.
13033 * libc/machine/i386/f_atan2f.S: ditto.
13034 * libc/machine/i386/f_exp.c: ditto.
13035 * libc/machine/i386/f_expf.c: ditto.
13036 * libc/machine/i386/f_frexp.S: ditto.
13037 * libc/machine/i386/f_frexpf.S: ditto.
13038 * libc/machine/i386/f_ldexp.S: ditto.
13039 * libc/machine/i386/f_ldexpf.S: ditto.
13040 * libc/machine/i386/f_log.S: ditto.
13041 * libc/machine/i386/f_logf.S: ditto.
13042 * libc/machine/i386/f_log10.S: ditto.
13043 * libc/machine/i386/f_log10f.S: ditto.
13044 * libc/machine/i386/f_math.h: New file.
13045 * libc/machine/i386/f_pow.c: ditto.
13046 * libc/machine/i386/f_powf.S: ditto.
13047 * libc/machine/i386/f_tan.S: ditto.
13048 * libc/machine/i386/f_tan.S: ditto.
13049 * libc/machine/i386/i386mach.h: New file.
13050
13051Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
13052
13053 patch from Mumit Khan <khan@xraylith.wisc.edu>
13054 * libc/include/stdio.h (tempnam): Add prototype.
13055 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
13056 (tempnam): Adhere to prototype.
13057
13058Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
13059
13060 * Makefile.am: Add default for AR_FLAGS.
13061 * Makefile.in: Regenerate.
13062
13063Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
13064
13065 * libc/include/time.h: move __cplusplus wrapper after includes
13066 * libc/include/sys/time.h: ditto. If Cygwin, include
13067 sys/select.h.
13068 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
13069
130701998-11-23 Ken Raeburn <raeburn@cygnus.com>
13071
13072 * libc/time/strftime.c (strftime): Handle %y after year 2000.
13073
13074Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
13075
13076 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
13077 abnormnal end-of-crt0 marker.
13078
13079Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
13080
13081 * libc/sys/fr30/crt0.s: New file/directory.
13082 * libc/include/machine/setjmp.h: Add FR30 target.
13083 * libc/include/machine/ieeefp.h: Add FR30 target.
13084 * configure.host: Add FR30 target.
13085
13086Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
13087
ba3ccd63
EB
13088 * libm/math: Files that are duplicated in common directory removed.
13089 * libm/math/fdlibm.h: Removed.
13090 * libm/math/s_cbrt.c: Removed.
13091 * libm/math/s_copysign.c: Removed.
13092 * libm/math/s_expm1.c: Removed.
13093 * libm/math/s_finite.c: Removed.
13094 * libm/math/s_ilogb.c: Removed.
13095 * libm/math/s_infinity.c: Removed.
13096 * libm/math/s_lib_ver.c: Removed.
13097 * libm/math/s_log1p.c: Removed.
13098 * libm/math/s_logb.c: Removed.
13099 * libm/math/s_matherr.c: Removed.
13100 * libm/math/s_modf.c: Removed.
13101 * libm/math/s_nan.c: Removed.
13102 * libm/math/s_nextafter.c: Removed.
13103 * libm/math/s_rint.c: Removed.
13104 * libm/math/s_scalbn.c: Removed.
13105 * libm/math/sf_cbrt.c: Removed.
13106 * libm/math/sf_copysign.c: Removed.
13107 * libm/math/sf_expm1.c: Removed.
13108 * libm/math/sf_finite.c: Removed.
13109 * libm/math/sf_ilogb.c: Removed.
13110 * libm/math/sf_infinity.c: Removed.
13111 * libm/math/sf_log1p.c: Removed.
13112 * libm/math/sf_logb.c: Removed.
13113 * libm/math/sf_modf.c: Removed.
13114 * libm/math/sf_nan.c: Removed.
13115 * libm/math/sf_nextafter.c: Removed.
13116 * libm/math/sf_rint.c: Removed.
13117 * libm/math/sf_scalbn.c: Removed.
13118 * libm/math/Makefile.am: Removed references to deleted files (above).
13119 * libm/math/Makefile.in: Regenerated.
13120 * libm/Makefile.am: Added common directory to math.
13121 * libm/Makefile.in: Regenerated.
8a0efa53
CF
13122
13123Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
13124
ba3ccd63
EB
13125 * libm/mathfp: Add non-ANSI functions.
13126 * libm/mathfp/e_acosh.c acosh(): New file.
13127 * libm/mathfp/e_atanh.c atanh(): New file.
13128 * libm/mathfp/e_hypot.c hypot(): New file.
13129 * libm/mathfp/e_j0.c j0(): New file.
13130 * libm/mathfp/e_j1.c j1(): New file.
13131 * libm/mathfp/e_remainder.c remainder(): New file.
13132 * libm/mathfp/e_scalb.c scalb(): New file.
13133 * libm/mathfp/ef_acosh.c acoshf(): New file.
13134 * libm/mathfp/ef_atanh.c atanhf(): New file.
13135 * libm/mathfp/ef_hypot.c hypotf(): New file.
13136 * libm/mathfp/ef_j0.c j0f(): New file.
13137 * libm/mathfp/ef_j1.c j1f(): New file.
13138 * libm/mathfp/ef_remainder.c remainderf(): New file.
13139 * libm/mathfp/ef_scalb.c scalbf(): New file.
13140 * libm/mathfp/er_gamma.c gamma_r: New file.
13141 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
13142 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
13143 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
13144 * libm/mathfp/w_cabs.c cabs(): New file.
13145 * libm/mathfp/w_drem.c drem(): New file.
13146 * libm/mathfp/w_jn.c jn(): New file.
13147 * libm/mathfp/wf_cabs.c cabsf(): New file.
13148 * libm/mathfp/wf_drem.c dremf(): New file.
13149 * libm/mathfp/wf_jn.c jnf(): New file.
8a0efa53
CF
13150
13151Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
13152
13153 * libc/sys/cygwin32: remove directory and contents
13154 * libc/sys/cygwin: and add back, losing the "32".
13155 * configure.host: check for cygwin* instead of cygwin32.
13156 * acinclude.m4: ditto.
13157 * aclocal.m4: regenerate with aclocal
13158 * configure: regenerate with autoconf
13159
13160Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
13161
13162 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
13163 for length
13164
13165Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13166
13167 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
13168 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
13169 to make rand/srand, strtok, asctime, localtime, w_gamma,
13170 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
13171 time.h to bring in struct tm definition.
13172 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
13173 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
13174 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
13175 instead of static variable.
13176 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
13177 struct reent instead of static variable.
13178 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
13179 struct reent instead of static variable.
13180 * libm/math/Makefile.am: Removed s_signgam.o.
13181 * libm/math/Makefile.in: Regenerated.
13182 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
13183 struct reent instead of global variable 'signgam'.
13184 * libm/math/w_lgamma.c (lgamma): Likewise.
13185 * libm/math/wf_gamma.c (gammaf): Likewise.
13186 * libm/math/wf_lgamma.c (lgammaf): Likewise.
13187 * libm/math/s_signgam.c: Removed.
13188 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
13189 to be const.
13190 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
13191 to be const.
13192 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
13193 libc/include/reent.h.
13194 * libc/reent/Makefile.in: Regenerated.
13195 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
13196 to be const.
13197 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
13198 'JIS_action_table' to be const.
13199 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
13200
13201Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
13202
13203 * acinclude.m4: $with_target_subdir should default to '.'
13204 or confusion results when configuring in same directory as sources.
13205 * Regenerate all aclocal.m4 and configure files.
13206
13207Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
13208
13209 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
13210 can be set by defining MALLOC_ALIGNMENT=16. Also added support
13211 for platforms where sizeof(size_t) < sizeof(long) via
13212 SIZE_T_SMALLER_THAN_LONG macro.
17c0c97d 13213
8a0efa53
CF
13214Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
13215
13216 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
13217 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
13218 which sets _CLOCKS_PER_SEC_ for selected machines.
13219 * libc/include/machine/time.h: New file.
13220
13221Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13222
13223 * libc/syscalls/sysexecve.c: New file.
13224 * libc/syscalls/sysgettod.c: New file.
13225 * libc/syscalls/systimes.c: New file.
13226 * libc/syscalls/Makefile.am: Added new objects.
13227 * libc/syscalls/Makefile.in: Regenerated.
13228 * libc/include/_syslist.h (_execve): Moved define in file.
13229 * libc/include/reent.h: Added _execve_r declaration.
13230 * libc/Makefile.in: Regenerated.
13231 * libc/ctype/Makefile.in: Regenerated.
13232 * libc/errno/Makefile.in: Regenerated.
13233 * libc/locale/Makefile.in: Regenerated.
13234 * libc/machine/Makefile.in: Regenerated.
13235 * libc/misc/Makefile.in: Regenerated.
13236 * libc/posix/Makefile.in: Regenerated.
13237 * libc/reent/Makefile.in: Regenerated.
13238 * libc/reent/execr.c (_execve_r): Added _execve_r function.
13239 * libc/signal/Makefile.in: Regenerated.
13240 * libc/stdio/Makefile.in: Regenerated.
13241 * libc/time/Makefile.in: Regenerated.
13242 * libc/unix/Makefile.in: Regenerated.
13243 * libm/mathfp/Makefile.in: Regenerated.
13244
13245Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13246
13247 * libc/string/Makefile.in: Regenerated.
13248 * libc/string/memchr.c (memchr): Moved code to reduce object size.
13249 * libc/string/memcpy.c (memcpy): Ditto.
13250 * libc/string/memcmp.c (memcmp): Ditto.
13251 * libc/string/memset.c (memset): Ditto.
13252 * libc/string/strchr.c (strchr): Ditto.
13253 * libc/string/strcmp.c (strcmp): Ditto.
13254 * libc/string/strcpy.c (strcpy): Ditto.
13255 * libc/string/strlen.c (strlen): Ditto.
13256
13257Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13258
13259 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
13260 to generate aclocal.m4.
13261 * libm/Makefile.in: Regenerated.
13262 * libm/aclocal.m4: Regenerated.
13263 * libm/configure: Regenerated.
13264 * libm/math/Makefile.in: Regenerated.
13265 * libm/mathfp/Makefile.in: Regenerated.
13266
132671998-09-25 Mark Salter <msalter@cygnus.com>
13268
13269 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
13270 by adding leading and trailing underscores to symbol names.
13271
13272Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
13273
13274 * Makefile.in: Add default for AR_FLAGS.
13275
13276Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
13277
13278 patch from ian@airs.com (Ian Taylor):
13279 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
13280 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
13281 is needed for detecting the build machine. Required for
13282 cygwin native builds.
13283
13284 * Regenerate all aclocal.m4 and configure files.
13285
13286Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
13287
13288 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
13289 used to start with LC.
13290
13291Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13292
13293 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
13294 (longjmp): Likewise.
13295
13296Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13297
13298 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
13299 the test for small number of bytes.
13300
13301Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
13302
13303 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
13304 math library that uses floating point algorithms instead of the old
13305 libm.
13306 * Makefile.in: Regenerate with automake version 1.3b.
13307 * configure: Rebuild.
13308 * libm/Makefile.in: Regenerate with automake version 1.3b.
13309 * libm/aclocal.m4: Regenerate.
13310 * libm/configure: Rebuild.
13311 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
13312 * libm/acinclude.m4: Define macros for configure.in.
13313 * libm/config.h.in: Generate.
13314 * libm/mathfp/Makefile.am: New file.
13315 * libm/mathfp/Makefile.in: Generate.
13316 * libm/mathfp/s_acos.c (acos): New file.
13317 * libm/mathfp/s_asin.c (asin): New file.
13318 * libm/mathfp/s_asine.c (asine): New file.
13319 * libm/mathfp/s_atan.c (atan): New file.
13320 * libm/mathfp/s_atan2.c (atan2): New file.
13321 * libm/mathfp/s_atangent.c (atangent): New file.
13322 * libm/mathfp/s_ceil.c (ceil): New file.
13323 * libm/mathfp/s_copysign.c (copysign): New file.
13324 * libm/mathfp/s_cos.c (cos): New file.
13325 * libm/mathfp/s_cosh.c (cosh): New file.
13326 * libm/mathfp/s_exp.c (exp): New file.
13327 * libm/mathfp/s_fabs.c (fabs): New file.
13328 * libm/mathfp/s_finite.c (finite): New file.
13329 * libm/mathfp/s_floor.c (floor): New file.
13330 * libm/mathfp/s_fmod.c (fmod): New file.
13331 * libm/mathfp/s_frexp.c (frexp): New file.
13332 * libm/mathfp/s_infconst.c: New file.
13333 * libm/mathfp/s_isinf (isinf).c: New file.
13334 * libm/mathfp/s_isnan.c (isnan): New file.
13335 * libm/mathfp/s_ispos.c (ispos): New file.
13336 * libm/mathfp/s_ldexp.c (ldexp): New file.
13337 * libm/mathfp/s_log.c (log): New file.
13338 * libm/mathfp/s_log10.c (log10): New file.
13339 * libm/mathfp/s_logarithm.c (logarithm): New file.
13340 * libm/mathfp/s_mathcnst.c: New file.
13341 * libm/mathfp/s_modf (modf).c: New file.
13342 * libm/mathfp/s_numtest.c (numtest): New file.
13343 * libm/mathfp/s_pow.c (pow): New file.
13344 * libm/mathfp/s_scalbn.c (scalbn): New file.
13345 * libm/mathfp/s_sin (sin).c: New file.
13346 * libm/mathfp/s_sine.c (sine): New file.
13347 * libm/mathfp/s_sineh.c (sineh): New file.
13348 * libm/mathfp/s_sinf.c (sinf): New file.
13349 * libm/mathfp/s_sinh.c (sinh): New file.
13350 * libm/mathfp/s_sqrt.c (sqrt): New file.
13351 * libm/mathfp/s_tan.c (tan): New file.
13352 * libm/mathfp/s_tanh.c (tanh): New file.
13353 * libm/mathfp/sf_acos.c (acosf): New file.
13354 * libm/mathfp/sf_asin.c (asinf): New file.
13355 * libm/mathfp/sf_asine.c (asinef): New file.
13356 * libm/mathfp/sf_atan.c (atanf): New file.
13357 * libm/mathfp/sf_atan2.c (atan2f): New file.
13358 * libm/mathfp/sf_atangent.c (atangent): New file.
13359 * libm/mathfp/sf_ceil.c (ceilf): New file.
13360 * libm/mathfp/sf_copysign.c (copysignf): New file.
13361 * libm/mathfp/sf_cos.c (cosf): New file.
13362 * libm/mathfp/sf_cosh.c (coshf): New file.
13363 * libm/mathfp/sf_exp.c (expf): New file.
13364 * libm/mathfp/sf_fabs.c (fabsf): New file.
13365 * libm/mathfp/sf_finite.c (finitef): New file.
13366 * libm/mathfp/sf_floor.c (floorf): New file.
13367 * libm/mathfp/sf_fmod.c (fmodf): New file.
13368 * libm/mathfp/sf_frexp.c (frexpf): New file.
13369 * libm/mathfp/sf_isinf.c (isinff): New file.
13370 * libm/mathfp/sf_isnan.c (isnanf): New file.
13371 * libm/mathfp/sf_ispos.c (isposf): New file.
13372 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
13373 * libm/mathfp/sf_log.c (logf): New file.
13374 * libm/mathfp/sf_log10.c (log10f): New file.
13375 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
13376 * libm/mathfp/sf_modf.c (modff): New file.
13377 * libm/mathfp/sf_numtest.c (numtestf): New file.
13378 * libm/mathfp/sf_pow.c (powf): New file.
13379 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
13380 * libm/mathfp/sf_sin.c (sinf): New file.
13381 * libm/mathfp/sf_sine.c (sinef): New file.
13382 * libm/mathfp/sf_sineh.c (sinehf): New file.
13383 * libm/mathfp/sf_sinh.c (sinhf): New file.
13384 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
13385 * libm/mathfp/sf_tan.c (tanf): New file.
13386 * libm/mathfp/sf_tanh.c (tanhf): New file.
13387 * libm/mathfp/zmath.h: New file.
13388
13389Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13390
13391 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
13392 exit if it has been overwritten by pre-fetching in delay slot.
13393
133941998-09-01 Michael Meissner <meissner@cygnus.com>
13395
13396 * Makefile.am (tooldir): Add in host_alias, so that multilib
13397 libraries are installed in the directory the compiler looks in.
13398 * Makefile.in: Regenerate.
13399
13400 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
13401
13402Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
13403
13404 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
13405 ahead of test for number of bytes being moved.
13406
13407Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
13408
13409 * libc/include/sys/unistd.h: Nothing special needed for
13410 _exit under cygwin.
13411
13412Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
13413
13414 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
17c0c97d 13415 conform to user label naming conventions.
8a0efa53
CF
13416
13417Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
13418
13419 * libc/sys/cygwin32/sys/utime.h: variable names in
13420 protos should start with two leading underscores
13421 * libc/include/string.h: ditto
13422 * libc/include/sys/signal.h: ditto
13423 * libc/include/sys/stat.h: ditto
13424 * libc/include/sys/time.h: ditto
13425 * libc/include/sys/unistd.h: ditto
13426 * libc/include/ctype.h: ditto
13427 * libc/include/stdlib.h: ditto
13428 * libc/include/sys/reent.h: struct _atexit function ptr takes a
13429 void, same with _sig_func.
13430
13431Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
13432
13433 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
13434 for MB_CAPABLE to reduce code size when newlib is not configured
13435 with --enable-newlib-mb.
13436 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
17c0c97d 13437 mbtowc_r.o to minimize size.
8a0efa53 13438 * libc/stdlib/Makefile.in: Rebuild.
17c0c97d 13439
8a0efa53
CF
13440Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
13441
13442 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
13443 to -DREENT.
13444 * libc/sys/sparc64/Makefile.in: Rebuild.
17c0c97d 13445
8a0efa53
CF
13446Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
13447
13448 * Makefile.am (MAKEOVERRIDES): Define.
13449 * Makefile.in: Rebuild.
13450
13451Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
13452
13453 * libc/sys/sparc64/sys/stat.h (stat): Add const.
13454
13455Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
13456
13457 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
13458 newlib_cflags when looking for targ-include.
13459 * */aclocal.m4, */configure: Rebuild.
13460
13461Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
13462
ba3ccd63
EB
13463 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
13464 to "_end".
8a0efa53
CF
13465
13466Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
13467
13468 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
13469 on SPARCs with little-endian data.
13470 * libc/include/machine/ieeefp.h: Ditto.
13471
13472Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
13473
13474 * acinclude.m4: Handle a relative srcdir correctly when setting
13475 newlib_cflags.
13476 * */aclocal.m4, */configure: Rebuild.
13477
13478Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
13479
13480 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
17c0c97d
EB
13481 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
13482 * libm/math/wrf_gamma.c (gammaf_r): ditto
13483 * libm/math/wr_lgamma.c (lgamma_r): ditto
13484 * libm/math/wr_gamma.c (gamma_r): ditto
13485 * libm/math/wf_sqrt.c (sqrtf): ditto
13486 * libm/math/wf_sinh.c (sinhf): ditto
13487 * libm/math/wf_scalb.c (scalbf): ditto
13488 * libm/math/wf_remainder.c (remainderf): ditto
13489 * libm/math/wf_pow.c (powf): ditto
13490 * libm/math/wf_log10.c (log10f): ditto
13491 * libm/math/wf_log.c (logf): ditto
13492 * libm/math/wf_lgamma.c (lgammaf): ditto
13493 * libm/math/wf_jn.c (jnf, ynf): ditto
13494 * libm/math/wf_j1.c (j1f, y1f): ditto
13495 * libm/math/wf_j0.c (j0f, y0f): ditto
13496 * libm/math/wf_hypot.c (hypotf): ditto
13497 * libm/math/wf_gamma.c (gammaf): ditto
13498 * libm/math/wf_fmod.c (fmodf): ditto
13499 * libm/math/wf_exp.c (expf): ditto
13500 * libm/math/wf_cosh.c (coshf): ditto
13501 * libm/math/wf_atanh.c (atanhf): ditto
13502 * libm/math/wf_atan2f.c (atan2f): ditto
13503 * libm/math/wf_asin.c (asinf): ditto
13504 * libm/math/wf_acosh.c (acoshf): ditto
13505 * libm/math/wf_acos.c (acosf): ditto
13506 * libm/math/w_sqrt.c (sqrt): ditto
13507 * libm/math/w_sinh.c (sinh): ditto
13508 * libm/math/w_scalb.c (scalb): ditto
13509 * libm/math/w_remainder.c (remainder): ditto
13510 * libm/math/w_pow.c (pow): ditto
13511 * libm/math/w_log10.c (log10): ditto
13512 * libm/math/w_log.c (log): ditto
13513 * libm/math/w_lgamma.c (lgamma): ditto
13514 * libm/math/w_jn.c (jn, yn): ditto
13515 * libm/math/w_j1.c (j1, y1): ditto
13516 * libm/math/w_j0.c (j0, y0): ditto
13517 * libm/math/w_hypot.c (hypot): ditto
13518 * libm/math/w_gamma.c (gamma): ditto
13519 * libm/math/w_fmod.c (fmod): ditto
13520 * libm/math/w_exp.c (exp): ditto
13521 * libm/math/w_cosh.c (cosh): ditto
13522 * libm/math/w_atanh.c (atanh): ditto
13523 * libm/math/w_atan2f.c (atan2): ditto
13524 * libm/math/w_asin.c (asin): ditto
13525 * libm/math/w_acosh.c (acosh): ditto
13526 * libm/math/w_acos.c (acos): ditto
8a0efa53
CF
13527
13528Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
13529
13530 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
13531 (fsrc): Add wf_cabs.c and wf_drem.c.
13532 * libm/math/Makefile.in: Rebuild.
13533
13534 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
13535 unused directory variables. Remove duplicate CFLAGS.
13536 * Makefile.in: Rebuild.
13537
13538 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
13539 with $(CC_FOR_BUILD).
13540 (makedoc.o): Likewise.
13541 * doc/Makefile.in: Rebuild.
13542
13543 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
13544 force a definition of COMPILE.
13545 (libfoo_a_SOURCES): Define.
13546 * libc/sys/cygwin32/Makefile.in: Rebuild.
13547 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
13548 force a definition of COMPILE.
13549 (libfoo_a_SOURCES): Define.
13550 * libc/sys/tic80/Makefile.in: Rebuild.
13551
13552Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
13553
13554 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
13555 flag.
13556
13557Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
13558
13559 * Build using autoconf and automake. Added many Makefile.am and
13560 configure.in files, plus generated files. Old configure.in files
13561 and all old Makefile.in files completely replaced. Removed
13562 host/any. Added acinclude.m4 and configure.host.
13563
13564Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
13565
13566 * libc/stdio/vfprintf.c: enable long long support, sometimes.
13567 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
13568
13569Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13570
13571 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
13572 * libc/machine/sh/Makefile.in: Add rules for new files.
13573
13574Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13575
13576 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
13577 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
13578 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
13579
13580Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
13581
13582 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
13583 code is ignored.
13584
13585Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
13586
13587 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
13588 internal static buffer when s is NULL, as prescribed by ANSI.
13589
135901998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
13591
13592 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
13593 removed.
13594 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
13595 libc/stdlib will be used for h8300hms.
17c0c97d 13596
8a0efa53
CF
13597Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13598
13599 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
13600 version that can be built either for speed or size.
13601 * libc/machine/mn10300/memset.S (_memset): ditto
13602 * libc/machine/mn10300/memchr.S (_memchr): ditto
13603 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
13604 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
13605 * libc/machine/mn10300/strchr.S (_strchr): ditto
13606 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
13607 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
13608 * libc/machine/mn10300/Makefile.in: Added entries for
17c0c97d 13609 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
8a0efa53
CF
13610 strcmp.o, strcpy.o, and strlen.o.
13611
13612Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
13613
13614 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
13615 been replaced with libgloss/mn10200.
13616
13617Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
13618
13619 * libc/string/strchr.c (strchr): Make s a constant pointer to
13620 avoid warning.
13621
13622Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
13623
13624 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
13625 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
13626 board SWIs instead of Demon board SWIs).
13627
13628Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
13629
13630 * libc/string/strncat.c (strncat): Make -Os act the same as
13631 PREFER_SIZE_OVER_SPEED being defined.
13632
13633Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
13634
13635 * libc/string/memchr.c (memchr): Make -Os act the same as
13636 PREFER_SIZE_OVER_SPEED being defined.
13637 * libc/string/memcmp.c (memcmp): Ditto.
13638 * libc/string/memcpy.c (memcpy): Ditto.
13639 * libc/string/memset.c (memset): Ditto.
13640 * libc/string/strcat.c (strcat): Ditto.
13641 * libc/string/strchr.c (strchr): Ditto.
13642 * libc/string/strcmp.c (strcmp): Ditto.
13643 * libc/string/strcpy.c (strcpy): Ditto.
13644 * libc/string/strlen.c (strlen): Ditto.
13645 * libc/string/strncat.c (strncat): Ditto.
13646 * libc/string/strncmp.c (strncmp): Ditto.
13647 * libc/string/strncpy.c (strncpy): Ditto.
13648
13649Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
13650
13651 * libc/include/sys/itimer.h: remove
13652 * libc/include/sys/time.h: itimer stuff should be here
13653
13654Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
13655
13656 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
13657 bit instead of comparing to 0 so -0.0 can be printed correctly.
13658
13659Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13660
13661 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
13662
13663Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
13664
13665 * libc/include/sys/unistd.h: fix sync() proto
13666 * libc/include/sys/fcntl.h: remove _close which is already
13667 defined in unistd.h.
13668 * libc/include/sys/time.h: add getitimer proto
13669
13670Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
13671
13672 * libc/string/strchr.c: convert arg to unsigned char
13673 * libc/include/stdlib.h: add protos for random, srandom
13674 * libc/include/sys/stat.h: add lstat proto
13675 * libc/include/sys/time.h: add setitimer proto
13676 * libc/include/sys/unistd.h: add readlink, symlink protos
13677 * libc/include/process.h: instead of including windows.h and using
13678 HANDLEs in sexec protos, just use void *s. Need to include
13679 sys/types.h.
13680
13681Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
13682
13683 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
13684
13685Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
13686
13687 * libc/include/process.h: add secure exec protos
13688
13689Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
13690
13691 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
13692 which are accessed as both doubles and integers.
13693 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
13694 * libc/stdlib/strtod.c (_strtod_r): Likewise.
13695 * libc/stdlib/mprec.h: Add "union double_union" and change
13696 word0/word1 macros to use it.
13697
13698Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
13699
13700 * libc/include/sys/signal.h: add __cplusplus wrapper
13701
13702Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
13703
13704 * libc/include/sys/utime.h: new generic file that gets replaced by
13705 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
13706 function.
13707 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
13708 * libc/include/time.h: remove duplicate utime proto
13709 * libc/include/utime.h: add comment
13710
13711Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
13712
13713 * libc/include/sys/time.h: Add missing include to
13714 allow use of _EXFUN. Remove times function that is
13715 already defined in times.h.
13716
13717Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
13718
13719 * libc/include/time.h: Fix typo in tzset.
13720
13721Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
13722
13723 * libc/include/sys/time.h: add missing Cygwin32 function protos
13724 * libc/include/sys/unistd.h: ditto
13725 * libc/include/time.h: ditto
13726
13727Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
13728
13729 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
13730 FIXME.
13731 * libc/include/sys/types.h: add a new __MS_types__ section
13732 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
13733 __BIT_TYPES_DEFINED__.
13734
13735Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
13736
13737 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
13738 since it overrides the one in libc/include/sys. Also, start
13739 including types.h.
13740
13741Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
13742
13743 * libm/math/Makefile.in: add s_signgam.o to obj list
13744
13745Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
13746
13747 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
13748
13749Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
13750
13751 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
13752 so don't use defines.
13753
13754Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
13755
13756 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
13757
13758Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
13759
13760 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
17c0c97d 13761 _current_locale as default locale.
8a0efa53
CF
13762
13763Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
13764
13765 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
17c0c97d 13766 insufficient space in a chunk.
8a0efa53
CF
13767
13768Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
13769
13770 * configure.in (links): Added check for --enable-newlib-mb configure
13771 option which defines the MB_CAPABLE macro.
13772 * libc/locale/locale.c (_setlocale_r): Added support for setting
13773 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
13774 defined.
13775 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
13776 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
13777 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
13778 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
13779 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
17c0c97d 13780 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
8a0efa53
CF
13781 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
13782 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
13783 * libc/stdlib/Makefile.in: Added new multibyte
13784 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
13785 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
13786 _mbstowcs_r(), and _wcstombs_r().
13787 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
13788 for JIS, SJIS, and EUC-JP characters.
13789 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
17c0c97d 13790 MB_CAPABLE defined.
8a0efa53
CF
13791 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
13792 MB_CAPABLE defined.
13793 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
13794 MB_CAPABLE defined.
13795 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
13796 if MB_CAPABLE defined.
13797 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
13798 if MB_CAPABLE defined.
13799 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
13800 to the format string processing when MB_CAPABLE.
13801 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
13802 call _mbtowc_r().
13803
13804Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
13805
13806 The following modifications are courtesy of Anthony Thompson,
13807 athompson@cambridge.arm.com:
13808 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
13809 boith RDI and RDP monitors.
13810 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
13811 RDI and RDP monitors.
13812
13813Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
13814
13815 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
13816 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
13817 (_swiopen): Fixed open flags to treat write with append as just append.
13818 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
13819 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
13820
13821Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13822
13823 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
13824 When needing to transfer an initial 2-byte-word, store as
13825 two single bytes.
13826
13827Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13828
13829 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
13830 __SH3E__ .
13831 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
13832 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
13833
13834Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
13835
13836 * configure.in (target_cflags): If --enable-target-optspace, use
13837 -Os to compile newlib rather than -O2. Default to using -Os for
13838 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
13839 used.
13840
13841Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
13842
ba3ccd63
EB
13843 * libc/include/machine/setjmp.h: change sigsetjmp and
13844 siglongjmp definitions to use an array instead of a struct
13845 for __CYGWIN32__
8a0efa53
CF
13846
13847Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
13848
13849 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
13850
13851Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
13852
13853 * libc/string/strxfrm.c: fix to get correct return value
13854
13855Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
13856
13857 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
13858 builds. Make mode change labels global so that they will be seen
13859 by the debugger.
13860
13861Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
13862
13863 * configure.in (links): Do not use ARM debiugging protocols for PE
13864 builds.
13865
13866 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
17c0c97d 13867 message.
8a0efa53
CF
13868
13869Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13870
13871 * libc/stdio/findfp.c (__sinit): Made stdout default to
13872 line buffered mode as defined by ANSI.
13873
13874Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
13875
13876 * libc/include/sys/itimer.h: New file.
13877
13878 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
13879
13880Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13881
13882 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
13883 failure.
13884
13885Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
13886
13887 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
13888 insns.
13889
13890Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
13891
13892 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
13893
13894Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
13895
13896 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
13897 support.
13898
13899 * libc/include/machine/setjmp.h: Add D30V support.
13900
13901 * configure.in (d30v-*): Add d30v machine directory.
13902
13903Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
13904
13905 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
13906 been replaced with libgloss/mn10300.
13907
13908Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
13909
13910 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
13911 it is no longer needed.
13912
13913Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
13914
ba3ccd63 13915 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
8a0efa53
CF
13916
13917Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
13918
13919 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
ba3ccd63 13920 the file when O_APPEND is set, wherever the EOF happens to be at
17c0c97d 13921 that time.
8a0efa53
CF
13922
13923Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
17c0c97d 13924
8a0efa53
CF
13925 patch from cgf@bbc.com (Christopher Faylor):
13926 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
13927 convention of closing fp prior to attempting to open the file
13928 argument. This allows correct operation when reopening
13929 stdin/stdout/stderr. Replaces last freopen.c patch.
13930
13931Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
13932
ba3ccd63
EB
13933 patch from cgf@bbc.com (Christopher Faylor):
13934 * libc/stdio/freopen.c: freopen was not preserving the fd
13935 of the stream being operated on. This confuses programs that
13936 expect that the handles for stdout and stderr will be 1 and 2.
8a0efa53
CF
13937
13938Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
13939
13940 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
13941
13942Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
13943
13944 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
13945
13946Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
13947
13948 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
13949 altered to not use a branch. Also added hint that last
13950 bclr in longjmp will likely result in branch.
17c0c97d 13951
8a0efa53
CF
13952
13953Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
13954
ba3ccd63 13955 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
8a0efa53
CF
13956
13957Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
13958
13959 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
13960 v850 builds.
13961
17c0c97d 13962 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
8a0efa53
CF
13963
13964Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
13965
13966 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
13967 that loads FR14 to specify offset of 8 rather than 4
13968 so it loads from offset 96 (where setjmp stored it).
13969
13970Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13971
13972 * libc/machine/sh/memcpy.S: (_memcpy): Update to
13973 latest version supplied by customer.
13974 * libc/machine/sh/memset.S (_memset): Ditto.
13975
13976Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
13977
13978 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
17c0c97d 13979 PR14730).
8a0efa53
CF
13980
13981Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
13982
ba3ccd63 13983 * libc/include/string.h: remove redefinition of ffs
8a0efa53
CF
13984
13985Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
13986
ba3ccd63 13987 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
8a0efa53
CF
13988 defined
13989
13990Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13991
13992 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
17c0c97d
EB
13993 TI Libraries to link to libc.a
13994
8a0efa53
CF
13995Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
13996
13997 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
13998 * libc/include/sys/stat.h (_{,f}stat): Ditto.
13999 * libc/include/sys/wait.h (_wait): Ditto.
14000 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
14001 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
14002
14003Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
14004
14005 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
14006 minded stabs so function name shows up when running the simulator
14007 with -t.
14008 * libc/sys/d10v/{crt0,trap}.S: Ditto.
14009
14010Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
14011
17c0c97d 14012 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
8a0efa53
CF
14013 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
14014 Use R5 where we used to use R3.
17c0c97d 14015
8a0efa53
CF
14016Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
14017
14018 * libc/stdlib/getopt.c (getopt): replaced __progname
14019 with nargv[0] to improve portability to imbedded systems.
14020
14021Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
14022
14023 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
14024 patch supplied by Tont.Thompson@arm.com to fix the creation of the
14025 stdout file.
14026
14027Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
14028
14029 * libc/stdio/tmpnam.c (worker): Generate a different file name
14030 each time.
14031
14032 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
14033 fails, try an execlp for sh.
14034
14035 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
14036 option for the winsup include directory.
14037
14038Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
14039
14040 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
14041 debugging interface from Tony.Thompson@arm.com.
17c0c97d 14042
8a0efa53
CF
14043 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
14044 * libc/sys/arm/swi.h: ditto.
14045
14046Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
14047
14048 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
14049 DIR struct used for readdir hashes.
14050
14051Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
14052
14053 * libc/string/strchr.c: Use "unsigned chars" as necessary.
14054
14055Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
14056
14057 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
14058 integer targets.
14059
14060Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
14061
14062 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
14063 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
14064 * libc/include/malloc.h: Add extern "C" if __cplusplus.
14065 (__malloc_copy): Declare.
14066
14067Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
14068
14069 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
14070 <sys/config.h>.
14071 (POINTER_UINT): Define.
14072 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
14073 (MALLOC_ALIGNMENT): Don't define if already defined.
14074 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
14075 long.
14076
14077Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
14078
14079 * libc/string/memset.c (memset): Fiddle with code so that the long
14080 value being stored is not a stack value. Unroll storing longs 4
14081 times.
14082
14083Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
14084
14085 * Reduce code size for libm modules.
14086 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
14087 and simply move code into sqrt.
14088 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
14089 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
14090 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
14091 * libm/math/wr_gamma.c (gamma_r): Likewise.
14092 * libm/math/wf_sinh.c (sinfh): Likewise.
14093 * libm/math/w_sinh.c (sinh): Likewise.
14094 * libm/math/wf_scalb.c (scalbf): Likewise.
14095 * libm/math/w_scalb.c (scalb): Likewise.
14096 * libm/math/wf_remainder.c (remainderf): Likewise.
14097 * libm/math/w_remainder.c (remainder): Likewise.
14098 * libm/math/wf_pow.c (powf): Likewise.
14099 * libm/math/w_pow.c (pow): Likewise.
14100 * libm/math/wf_log10.c (log10f): Likewise.
14101 * libm/math/w_log10.c (log10): Likewise.
14102 * libm/math/wf_log.c (logf): Likewise.
14103 * libm/math/w_log.c (log): Likewise.
14104 * libm/math/w_lgamma.c (lgamma): Likewise.
14105 * libm/math/wf_lgamma.c (lgammaf): Likewise.
14106 * libm/math/wf_jn.c (jnf): Likewise.
14107 * libm/math/w_jn.c (jn): Likewise.
14108 * libm/math/wf_j1.c (j1f): Likewise.
14109 * libm/math/w_j1.c (j1): Likewise.
14110 * libm/math/wf_j0.c (j0f): Likewise.
14111 * libm/math/w_j0.c (j0): Likewise.
14112 * libm/math/wf_hypot.c (hypotf): Likewise.
14113 * libm/math/w_hypot.c (hypot): Likewise.
14114 * libm/math/wf_gamma.c (gammaf): Likewise.
14115 * libm/math/w_gamma.c (gamma): Likewise.
14116 * libm/math/wf_fmod.c (fmodf): Likewise.
14117 * libm/math/w_fmod.c (fmod): Likewise.
14118 * libm/math/wf_exp.c (expf): Likewise.
14119 * libm/math/w_exp.c (exp): Likewise.
14120 * libm/math/wf_cosh.c (coshf): Likewise.
14121 * libm/math/w_cosh.c (cosh): Likewise.
14122 * libm/math/wf_atanh.c (atanhf): Likewise.
14123 * libm/math/w_atanh.c (atanh): Likewise.
14124 * libm/math/wf_atan2.c (atan2f): Likewise.
14125 * libm/math/w_atan2.c (atan2): Likewise.
14126 * libm/math/wf_asin.c (asinf): Likewise.
14127 * libm/math/w_asin.c (asin): Likewise.
14128 * libm/math/wf_acosh.c (acoshf): Likewise.
14129 * libm/math/w_acosh.c (acosh): Likewise.
14130 * libm/math/wf_acos.c (asocf): Likewise.
14131 * libm/math/w_acos.c (acos): Likewise.
14132 * libm/math/wf_sqrt.c (sqrtf): Likewise.
14133 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
14134 for embedded systems.
14135
14136Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
14137
14138 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
14139 Lea in case of a foreign sbrk.
14140
14141Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
14142
14143 Incorporate Doug Lea's malloc:
14144 * libc/stdlib/mallocr.c: Completely replaced.
14145 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
14146 (realloc): Remove.
14147 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
14148 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
14149 mallopt.
14150 (mallinfo, malloc_stats, mallopt): New functions.
14151 (_mstats_r): Just call _malloc_stats_r.
14152 * libc/stdlib/malign.c: New file.
14153 * libc/stdlib/mlock.c: New file.
14154 * libc/stdlib/msize.c: New file.
14155 * libc/stdlib/mtrim.c: New file.
14156 * libc/stdlib/realloc.c: New file.
14157 * libc/stdlib/valloc.c: New file.
14158 * libc/stdlib/malloc.h: Remove.
14159 * libc/stdlib/callocr.c: Remove.
14160 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
14161 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
14162 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
14163 reallocr.o, valloc.o, vallocr.o.
14164 (CHEWOUT_FILES): Add mlock.def, mstats.def.
14165 (MALLOC_CFLAGS): New variable.
14166 (mallocr.o): New target, build from mallocr.c.
14167 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
14168 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
14169 (msizer.o, malloptr.o): Likewise.
14170 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
14171 (valloc.o): New target.
14172 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
14173 * libc/include/malloc.h: Declare struct mallinfo, and new
14174 routines.
14175 * libc/include/stdlib.h (cfree): Correct declaration.
14176
14177Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
14178
14179 * libc/include/machine/setjmp.h: Add support for Thumb target.
14180
14181 * libc/include/machine/ieeefp.h: Add support for Thumb target.
14182
14183 * configure.in (links): Add support for Thumb target.
14184
14185Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
14186
14187 * libc/sys/arm/setjmp.S: Updated with version from branch.
14188
14189Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
14190
14191 * libc/include/stdio.h: add POSIX-required define L_ctermid
14192 for ctermid
14193
14194Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
14195
14196 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
14197 addition to MISSING_SYSCALL_NAMES.
14198
14199Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
14200
14201 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
14202
14203Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
14204
ba3ccd63
EB
14205 * libc/include/string.h: change strsignal proto to return
14206 a char *. This eliminates compile problems in gdb resulting
14207 from gdb's definition of strsignal in defs.h.
8a0efa53
CF
14208
14209Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
14210
ba3ccd63
EB
14211 * libc/sys/cygwin32/sys/utime.h: new (moved here from
14212 winsup/include) so as not to conflict with the one in
14213 libc/include.
8a0efa53
CF
14214 * libc/include/string.h: add protos for strsignal, strtosigno
14215
14216Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
14217
14218 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
14219
14220 * configure.in (d30v-*-*): Add configuration.
14221
14222Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
14223
14224 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
14225 to select which kind of debug monitor is in use for an ARM target.
14226
14227 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
14228 Angel and Demon debug monitors. Part of this code was supplied by
14229 Tony Thompson at ARM: athompso@arm.com.
14230
14231Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
14232
14233 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
14234 semantics when the count is greater than the length of the second
14235 source string.
14236
14237Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
14238
14239 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
14240 * libc/include/sys/unistd.h: add protos for usleep, truncate,
14241 truncate and ftruncate take off_t, not size_t
14242
14243Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
14244
14245 * libc/string/strcat.c (strcat): Add missing comment end.
14246 * libc/string/strncat.c (strncat): Likewise.
14247
14248Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
14249
14250 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
17c0c97d
EB
14251 targets.
14252 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
8a0efa53 14253 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
17c0c97d 14254 defined.
8a0efa53
CF
14255 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
14256 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
14257 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
14258
14259Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
14260
14261 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
14262 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
14263
14264Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
14265
14266 * libc/machine/i386/setjmp.S: New file.
14267 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
14268 (OFILES): Add setjmp.o.
14269 (setjmp.o): Add rule for.
14270 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
14271
14272Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
14273 Jeffrey A Law (law@cygnus.com)
14274
14275 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
14276 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
14277 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
14278 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
14279
14280Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
14281
14282 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
17c0c97d 14283 rules.
8a0efa53
CF
14284
14285 * libc/include/sys/config.h: Use __v850 to select v850
17c0c97d 14286 endianness.
8a0efa53
CF
14287
14288 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
14289 buffer size.
14290
14291 * libc/include/machine/ieeefp.h: Use __v850 to select v850
17c0c97d 14292 endianness.
8a0efa53
CF
14293
14294Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
14295
14296 * libc/stdlib/setenv.c: change unsetenv definition to match
14297 style of setenv (with _DEFUN). The string should be a const.
14298 * libc/include/stdlib.h: unsetenv proto should return void.
14299
14300Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
14301
14302 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
14303
14304Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
14305
14306 * libc/stdio/glue.h: remove.
14307 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
14308 * libc/stdio/Makefile.in: remove glue.h dependencies
14309
14310Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
14311
14312 * libc/sys/sysnecv850/crt0.S: Created V850e version.
17c0c97d 14313
8a0efa53
CF
14314Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
14315
14316 * configure.in (target_cpu): Add `arc'.
14317
14318Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
14319
17c0c97d 14320 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
8a0efa53
CF
14321 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
14322 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
14323 * newlib/libc/reent/reent.c: Add _wrapup_reent.
14324 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
14325
14326Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
14327
14328 * libc/machine/mips/setjmp.S: Handle mips16 builds.
14329
14330Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
14331
14332 * libc/include/stdio.h (siprintf): Declare.
14333
14334Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
14335
14336 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
14337 TARGET_CFLAGS and NEWLIB_FLAGS.
14338
14339Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
14340
14341 * configure.in (links): Add support for v850ea target.
14342
14343Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
14344
14345 * configure.in (links): Add support for v850e target.
14346
14347Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
14348
14349 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
14350
14351Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
14352
14353 * configure.in (arc-*-*): Add support for.
14354 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
14355
14356Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
14357
14358 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
14359
14360Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
14361
14362 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
14363 comparison which accesses invalid memory when the key is
14364 larger than the last member of the array.
14365 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
14366 for CYGWIN32
14367 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
14368
14369Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
14370
14371 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
14372 not _STRICT_ANSI.
14373
14374Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
14375
14376 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
14377 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
14378
14379Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
14380
14381 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
14382 to load/store memory.
14383
14384Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
14385
14386 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
14387 underscores if _WIN32.
14388
14389Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
14390
14391 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
14392 support ifdef _USE_WRITE missed in last change.
14393 From Anders Blomdell <anders.blomdell@control.lth.se>.
14394
14395Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
14396
14397 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
14398 (_tmpnam_r, _tempnam_r): Update.
14399
14400Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
14401
14402 * libc/machine/sparc/setjmp.S: New file.
14403 * libc/machine/sparc/Makefile.in: Add setjmp.
14404 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
14405
14406Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
14407
14408 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
14409
14410Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
14411
14412 From Joel Sherrill <joel@oarcorp.com>.
14413 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
14414
14415 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
14416 * configure.in: Recognize *-*-rtems*.
14417 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
14418 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
14419 time.h,times.h,types.h}: New files.
14420 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
14421
14422Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
14423
14424 patch from sos@prospect.com.ru (Sergey Okhapkin):
ba3ccd63
EB
14425 * include/sys/wait.h: correct operator precidence bug
14426 in WIFSIGNALED
8a0efa53
CF
14427
14428Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
14429
14430 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
14431 with newlib's unsetenv function
14432 * libc/sys/cygwin32/sys: new directory for includes
14433 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
14434 here from winsup/include/sys
14435
14436Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
14437
14438 * libc/include/sys/unistd.h: _exit should only be
14439 labelled noreturn when not __CYGWIN32__
14440 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
14441 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
14442 increment NSIG
14443
14444Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
14445
14446 * libc/include/sys/time.h: Only define timeval and timezone if
14447 _GNU_H_WINDOWS32_SOCKETS is not defined.
14448 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
14449
14450Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
14451
14452 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
14453 * libc/machine/mn10300/setjmp.S: Likewise.
14454
14455 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
14456 the mn10300 (more relaxing opportunities).
14457
14458Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
14459
14460 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
14461 Build libraries with -mstrict-align.
14462
14463Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
14464
14465 * libc/string/strlwr.c: New file.
14466 * libc/string/strupr.c: New file.
14467 * libc/include/string.h: Declare strlwr and strupr.
14468 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
14469 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
14470 (strlwr.o, strupr.o): New targets.
14471 * libc/string/strings.tex: Include strlwr and strupr docs.
14472
14473 * libc/include/sys/types.h: Don't define u_char, et. al., if
14474 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
14475 et. al. Make FD_SETSIZE default 64 rather than 60. Define
14476 _types_fd_set rather than fd_set, and define fd_set as a macro.
14477
14478 * libc/include/malloc.h: New file.
14479
14480 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
14481 strnicmp if they are not already defined.
14482
14483 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
14484 _timezone, _daylight, and _tzname.
14485
14486Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
14487
14488 * configure.in: Sort all configuration tables.
14489
14490 From Joel Sherrill <joel@oarcorp.com>
14491 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
14492
14493Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
14494
14495 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
14496 use int when declaring kill.
14497
14498 * libc/include/sys/timeb.h: New file.
14499
14500Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
14501
14502 * libc/include/sys/time.h: add itimer support for Cygwin32
14503
14504Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
14505
14506 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
14507 out a message that abort was called to stderr.
14508
14509Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
14510
14511 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
14512 so that libio doesn't freak.
14513
14514 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
14515 int.
14516
14517 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
14518 memory sizes, not int.
14519
14520Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
14521
14522 * libm/math/ef_hypot.c: Use long constants where
17c0c97d 14523 appropriate.
8a0efa53
CF
14524 * libm/math/ef_sqrt.c: Ditto.
14525
14526 * libc/sys/sysmec/times.c(_times): Change to times.
14527
14528 * libc/sys/sysmec/read.c(_read): The third argument is
14529 size_t.
14530 * libc/sys/sysmec/write.c (_write): Ditto.
14531
14532 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
14533 (_lseek): It's off_t for the second argument.
14534
14535Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
14536
14537 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
14538 as well as machine/ieeefp.h.
14539
14540Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
14541
14542 * libc/include/sys/signal.h: add signal protos for winsup
14543 functions (when __CYGWIN32__), include types.h
14544 * libc/include/sys/types.h: Change __go32_types__ internal
14545 define to __MS_types__ since it's used for more than just
14546 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
14547 defined.
14548 * libc/include/sys/unistd.h: add ftruncate proto for
14549 winsup functions (when __CYGWIN32__)
14550
14551Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
14552
14553 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
14554
14555Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
14556
14557 * libc/include/machine/setjmp.h: Add tic80 support.
14558 * libc/machine/tic80/setjmp.S: Likewise.
14559
14560Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
14561
ba3ccd63
EB
14562 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
14563 link programs from libraries only (such as in the X11
14564 distribution)
8a0efa53
CF
14565
14566Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
14567
14568 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
14569 supplied elsewhere in newlib.
14570
14571Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
14572
14573 * Makefile.in (INSTALL): Change install.sh to install-sh.
14574
14575Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
14576
14577 * README: update WWW address for on-line documentation.
14578
14579Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
14580
14581 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
14582 increment NSIG
14583
14584Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
14585
14586 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
14587 mn10300.
14588 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
14589
14590Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
14591
14592 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
14593 * libc/sys/d10v/syscalls.c: Likewise.
14594 * libc/sys/h8300hms/sbrk.c: Likewise.
14595 * libc/sys/h8500hms/syscalls.c: Likewise.
14596 * libc/sys/m88kbug/syscalls.c: Likewise.
14597 * libc/sys/sh/syscalls.c: Likewise.
14598 * libc/sys/sysmec/sbrk.c: Likewise.
14599 * libc/sys/sysnecv850/sbrk.c: Likewise.
14600 * libc/sys/w65/syscalls.c: Likewise.
14601 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
14602
14603Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
14604
14605 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
14606 emulated syscall instead of "trap".
14607
14608Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
14609
14610 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
14611 not trap 0.
14612
14613Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
14614
14615 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
14616
14617Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
14618
14619 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
14620 not "sh".
14621 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
14622 not "d10v".
14623 * libc/sys/tic80/crt0.c: New file for TIc80.
14624 * libc/sys/tic80/Makefile.in: New file for TIc80.
14625 * libc/machine/tic80/Makefile.in: New file for TIc80.
14626
14627Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
14628
14629 * libc/machine/sh/memcpy.S: New file.
14630 * libc/machine/sh/memset.S: New file.
14631 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
14632
14633Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
14634
14635 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
14636 for TIc80.
14637
14638Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
14639
14640 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
14641 the mn10200.
14642
14643Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
14644
14645 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
14646 (patch from andrew@pogo.WV.TEK.COM).
14647
14648Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
14649
14650 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
14651 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
14652
14653Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
14654
14655 * configure.in: Add cases for "tic80" to set machine_dir,
14656 sys_dir, and syscall_dir.
14657
14658Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
14659
14660 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
14661
14662Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
14663
14664 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
14665
14666Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
14667
14668 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
14669 Use proper constant prefix.
14670
14671Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
14672
14673 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
14674 that loses on the mn10200 where ints and pointers are different
14675 sizes.
14676
14677Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
14678
14679 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
14680 target as signal is provided in winsup.
14681
14682Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
14683
14684 * libc/include/sys/process.h: Corrected const definitions
14685 in spawn functions. Added cwait.
14686
14687Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
14688
14689 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
14690 doubles.
14691 * libc/include/sys/config.h: Similarly.
14692
14693Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14694
14695 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
14696 target_cflags.
14697 (i[3456]86-*-sco*): Ditto.
14698
14699 * libc/signal/Makefile.in (OFILES): Add signal.o.
14700 (CFILES): Add signal.c.
14701
14702 * libc/signal/raise.c (_raise_r): Only compile code if
14703 SIGNAL_PROVIDED is defined.
14704
14705 * libc/signal/signal.c: Redo whole file so that it works with
14706 current newlib. Use _kill_r if no signal handler provided.
14707
14708 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
14709 signal stubs.
14710 * libc/sys/sysvnecv70/Makefile.in: Ditto.
14711 * libc/sys/sysnecv850/Makefile.in: Ditto.
14712
14713 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
14714 * libc/sys/sysmec/{raise,signal}.c: Ditto.
14715 * libc/sys/sysvnecv70/signal.s: Ditto.
14716 * libc/sys/sysnecv850/raise.c: Ditto.
14717
14718 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
14719 simulator and debugger can tell the difference between a signal
14720 being raised and an exit system call.
14721
14722 * NEWS: Document software signals being provided.
14723
14724Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14725
14726 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
14727 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
14728 include/sys/config.h.
14729 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
14730 Change from 'inpure_data'.
14731 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
14732 &impure_data, not &inpure_data.
14733
14734 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
14735 and and System V ABI, define so that _impure_ptr lives in the
14736 .sdata section.
14737
14738Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14739
14740 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
14741 nothing if not defined.
14742 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
14743 its attributes.
14744
17c0c97d 14745 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
8a0efa53
CF
14746
14747Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
14748
14749 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
14750 * libc/sys/sysmec/trap.s: Handle mn10200 too.
14751 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
14752
14753Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
14754
14755 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
14756
14757Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
14758
ba3ccd63 14759 * libc/include/sys/errno.h: Added net errno's.
8a0efa53
CF
14760
14761Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14762
14763 * libc/misc/ffs.c: New file to support ffs function for GCC test
14764 gcc.c-torture/execute/960909-1.c.
14765
14766 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
14767
14768Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
14769
14770 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
14771 * libc/sys/sysmec/trap.S: Likewise.
14772
14773Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
14774
14775 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
14776 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
14777
14778Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
14779
14780 * libc/sys/sysmec/signal.c: Dummy file.
14781 * libc/sys/sysmec/Makefile.in: Build it.
14782
14783Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
14784
14785 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
14786 mips16.
14787
14788Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
14789
14790 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
14791 c-startup and simulator traps.
14792
14793
14794 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
14795 * libc/sys/sysmec/trap0.S: Likewise.
14796
14797Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14798
14799 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
14800 round to double word alignment.
14801 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
14802 byte alignment.
14803
14804 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
14805
14806 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
14807 out of memory.
14808
14809Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
14810
14811 * configure.in: Handle mn10200 and mn10300.
14812 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
14813 * libc/include/sys/config.h: Likewise.
14814 * libc/sys/sysmec: New directory for mec stuff.
14815 * libc/machine/mn10300: New directory for mn10300 stuff.
14816 * libc/machine/mn10200: Similarly for mn10200 stuff.
14817
14818Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
14819
14820 * libc/sys/arm/crt0.S: Use .text, not .section .text.
14821 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
14822
14823 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
14824 (nlink_t): Change type from unsigned int to unsigned short.
14825 (mode_t): Ensure size is 32 bits even if int is 16.
14826 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
14827 (st_spare[123]): Change type from int to long.
14828
14829Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14830
14831 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
14832 byte boundary.
14833
14834 * configure.in (d10v*): Define SMALL_MEMORY.
14835
14836Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14837
14838 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
14839 -mrelocatable-lib and -mno-eabi flags.
14840
14841Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
14842
14843 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
14844 Fix handling of mis-aligned source operand when both the
14845 destination & length are properly aligned.
17c0c97d 14846
8a0efa53
CF
14847Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
14848
14849 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
14850 times.o, time.o and gettime.o
14851 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
14852 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
14853 SYS_gettimeofday.
14854
14855Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
14856
14857 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
14858 * libc/sys/sysnecv850/access.c: New file.
14859
14860Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
14861
14862 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
14863
14864 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
14865 long.
14866
14867Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
14868
14869 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
14870
14871Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
14872
14873 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
14874 * libc/include/sys/config.h: Add m32r support.
14875
14876Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
14877
14878 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
14879 here.
14880
14881Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
14882
14883 * libc/include/machine/setjmp.h: Add D10v support.
14884
14885Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
14886
14887 * configure.in: Configure the "libc/syscalls" directory for
14888 the v850.
14889
14890 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
14891 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
14892 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
14893 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
14894 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
14895
14896Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
14897
14898 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
14899 stack for args for main and other routines. Zero out args for
14900 main.
14901
14902 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
14903 correctly.
14904
14905Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14906
14907 * libc/stdio/findfp.c (std): Remove extraneous ';' after
14908 function.
14909
14910 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
14911
14912 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
14913 real system calls now.
14914
14915 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
14916 before casting them to int.
14917 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
14918
14919 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
14920 aligning pointer.
14921 * libc/string/memset.c (memset): Ditto.
17c0c97d 14922
8a0efa53
CF
14923 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
14924 first convert ints to _POINTER_INT to eliminate GCC warning.
14925
14926 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
14927 processing %p.
14928
14929 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
14930 from 65000 if ints are only 16 bits.
14931
14932 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
14933 from 50000 if ints are only 16 bits.
14934
14935 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
14936 int type that is the same size as a pointer.
14937
14938 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
14939 processing %p.
14940 (get_number): Explicitly cast number to long before shifting by 16
14941 or 24, in case ints are short.
14942
14943 * libc/include/sys/config.h (_POINTER_INT): Define as short.
14944
14945Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
14946
14947 * libc/string.h: Added ffs, removed swab.
14948 * libc/sys/errno.h: Added EOPNOTSUPP.
14949 * libc/sys/unistd.h: Added swab.
14950
14951Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
14952
14953 * libc/include/sys/stat.h: Added fchmod.
14954 * libc/include/sys/unistd.h: Added fsync.
14955
14956Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
14957
14958 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
14959 and ECONNRESET (104) for cygwin32.
14960
14961Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
14962
ba3ccd63
EB
14963 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
14964 do the static destructors.
17c0c97d 14965
8a0efa53
CF
14966Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
14967
14968 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
14969
14970Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
14971
14972 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
14973 * configure.in: Recognize m32r-*-*.
14974
14975Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
14976
14977 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
17c0c97d
EB
14978 __rt_stkovf_split_small): Added default software stack overflow
14979 handlers, which just call SWI_Exit.
8a0efa53 14980 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
17c0c97d 14981 limit initialisation.
8a0efa53
CF
14982
14983Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
14984
14985 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
14986
14987Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
14988
14989 * libc/include/sys/types.h: Added ssize_t definition.
17c0c97d 14990
8a0efa53
CF
14991Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14992
14993 * libc/machine/d10v/setjmp.S: Use ';' for comments.
14994 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
14995
14996 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
14997 branch around a single ldi instruction.
14998
14999 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
15000 Call exit, instead of just issuing a stop instruction.
15001
15002Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15003
15004 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
15005
15006Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15007
15008 * libc/stdlib/mprec.h: Explicitly declare all large constants as
15009 longs, and then cast them to __uint32_t.
15010
15011 * libc/include/sys/config.h: Protect against multiple inclusions.
15012
15013Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
15014
15015 * configure.in (d10v*): Set syscall_dir.
15016
15017Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
15018
15019 * libc/sys/d10v/crt0.S: Set stack pointer.
15020
15021Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
15022
15023 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
15024 in assembly for efficiency. Change calling convention to allow
15025 long ints to be returned.
15026
15027Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15028
15029 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
15030
15031Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
15032
15033 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
15034 Handle empty entries in $PATH.
15035
15036Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
15037
15038 * libc/machine/d10v/setjmp.S: Make it really work.
15039
15040Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
15041
15042 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
15043 the .stack section.
15044
15045Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
15046
15047 * sys/sysnecv850/sys/file.h: Remove.
15048 * sys/sysnecv850/sys/syscall.h: New file.
15049 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
15050 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
15051 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
15052 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
15053 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
15054 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
15055 * sys/sysnec850/trap.S: New file.
15056 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
15057 syscalls.
15058 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
15059 * sys/sysnec850/sbrk.c: New version.
15060
15061Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
15062
15063 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
15064 as long as r6 is less than r7.
15065
15066Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
15067
15068 * Makefile.in (mostlyclean): Separate from clean target. Don't
15069 remove *.a or targ-include.
15070 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
15071
15072Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15073
15074 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
15075 d10v.
15076 (__SMALL_BITFIELDS): Ditto.
15077
15078 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
15079
15080Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
15081
15082 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
15083 prefix.
15084
15085 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
15086 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
15087 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
15088 * libc/sys/sysnecv850/write.c (write): Likewise.
15089
15090 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
15091 .bss.
15092
15093Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15094
15095 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
15096 appropriately for D10V, depending on -mint16/-mint32.
15097
15098Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
15099
15100 * configure.in: Add cases for D10V.
15101
15102Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15103
15104 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
15105
15106Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
15107
15108 * libc/include/machine/ieeefp.h: Fix typo.
15109
15110Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
15111
15112 * libc/sys/d10v: New directory for D10V stuff.
15113 * libc/include/machine/ieeefp.h: Add D10V defines.
15114
15115Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
15116
15117 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
15118 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
15119 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
15120 * libc/string/strerror.c (strerror): Add them.
15121
15122Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
15123
15124 * libc/sys/sysnecv850: New directory for v850 stuff.
15125
15126 * libc/machine/v850: New directory for v850 stuff.
15127 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
15128
15129 * configure.in: Add support for the v850.
15130
15131 * libc/include/machine/ieeefp.h: Add v850 defines.
15132 * libc/include/machine/setjmp.h: Likewise.
15133 * libc/include/sys/config.h: Add v850 defines.
15134
15135Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
15136
15137 * libc/include/machine/ieeefp.h
15138 * libc/include/machine/setjmp.h
15139 * libc/include/sys/fcntl.h
15140 * libc/include/sys/signal.h
15141 * libc/include/sys/types.h
15142 * libc/stdlib/system.c:
15143 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
15144 API availability, __CYGWIN32__ for cygwin32 environment specific).
15145
15146Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
15147
ba3ccd63
EB
15148 * libc/include/stdlib.h: add multibyte character functions. Add
15149 __eprintf for assert.
8a0efa53
CF
15150
15151Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15152
15153 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
15154 arithmetic or __alignof__ to properly get the alignment, instead
15155 of hardwiring it to 4.
15156
15157Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
15158
15159 * libc/stdio/fseek.c: add fflush call to adjust seek offset
15160 on append stream (fix from NetBSD sources), adjust curoff offset
15161 for ungetc's benefit.
15162 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
15163 * libc/stdio/rewind.c: replace code with up to date NetBSD
15164 code to undo hacks made to work around above problem of not
15165 having fflush call mentioned above
15166
15167Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15168
15169 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
17c0c97d
EB
15170 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
15171 Partially revert last changes. The thread specific errno is set
15172 iff if the underlying syscall fails and the global errno is not
15173 zero.
8a0efa53
CF
15174
15175Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15176
15177 * libc/reent/filer.c: Removed files, all functions have split out
17c0c97d
EB
15178 into their own files.
15179 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
8a0efa53
CF
15180 New files containing functions formally in filer.c
15181 * libc/reent/Makefile.in: Updated for above change.
15182
15183 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
17c0c97d
EB
15184 syscall fails, not if errno is changed.
15185 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
8a0efa53
CF
15186 _write_r): Likewise.
15187 * libc/reent/fstatr.c (_fstat_r): Likewise.
15188 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
15189 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
15190 * libc/reent/signalr.c (_kill_r): Likewise.
15191 * libc/reent/statr.c (_stat_r): Likewise.
15192 * libc/reent/timer.c (_gettimeofday_r): Likewise.
15193
15194 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
17c0c97d 15195 signalr.c, statr.c, timer.c} (errno): declare extern rather
8a0efa53
CF
15196 than as a common.
15197
15198 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
17c0c97d
EB
15199 instead of calling vfprintf so that i*printf will not require
15200 floating point support code.
15201
8a0efa53
CF
15202Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
15203
15204 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
15205 path delimiter.
15206 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
15207 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
15208
15209Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
15210
15211 * libc/include/signal.h: _sig_func_ptr function takes an int
15212 * libc/include/sys/signal.h: sa_handler function takes an int
15213
15214Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
15215
15216 * libc/include/machine/ieeefp.h: Simplify H8/S support.
15217 * libc/include/sys/config.h: Add missing H8/S conditional.
15218
15219Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
15220
15221 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
15222
15223Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
15224
15225 * libc/include/machine/setjmp.h: Handle H8/S.
15226 * libc/include/machine/ieeefp.h: Likewise.
15227 * libc/include/sys/config.h: Likewise.
15228 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
15229 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
15230 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
15231 * libc/sys/h8300hms/crt0.S: Likewise.
15232
15233Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
15234
ba3ccd63 15235 * Makefile.in (datadir): Set to $(prefix)/share.
8a0efa53 15236 (oldincludedir, docdir): Removed.
ba3ccd63 15237 * doc/Makefile.in (datadir): Set to $(prefix)/share.
8a0efa53 15238 (oldincludedir, docdir): Removed.
ba3ccd63 15239 * libc/Makefile.in (datadir): Set to $(prefix)/share.
8a0efa53 15240 (oldincludedir, docdir): Removed.
ba3ccd63 15241 * libm/Makefile.in (datadir): Set to $(prefix)/share.
8a0efa53
CF
15242 (oldincludedir, docdir): Removed.
15243
15244Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
15245
15246 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
15247 _reent struct.
15248
15249Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
15250
15251 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
15252 fetch current path rules with sysconf and handler posix/win32
15253 appropriately.
15254
15255 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
15256
15257 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
15258 (WAIT_CHILD): Always define.
15259
15260Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
15261
15262 * libc/stdlib/eprintf.c: New file.
15263 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
15264 (eprintf.o): New target.
15265
15266Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
15267
15268 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
15269 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
15270
15271Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
15272
15273 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
15274 NT in PowerPC endianess cases.
15275
15276Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15277
15278 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
15279
15280Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15281
15282 * libc/string/strtok.c: Fix doc typo.
15283
15284Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15285
15286 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
17c0c97d 15287 _next, _scanpoint, _signgam fields.
8a0efa53
CF
15288
15289 * libc/include/stdlib.h (rand_r): Added new declaration.
15290 (_rand_r, _srand_r): Removed declarations.
15291 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
17c0c97d 15292 have been made obsolete by rand_r.
8a0efa53 15293 * libc/stdlib/rand_r.c: New file, rand_r function as specified
17c0c97d
EB
15294 by POSIX.1c.
15295
8a0efa53 15296 * libc/string/strtok.c: Update documentation to describe
17c0c97d 15297 strtok_r().
8a0efa53
CF
15298
15299Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
15300
15301 * libc/include/sys/stat.h (stat structure): Use the expanded stat
15302 structure on Solaris, and PowerPC systems even though __svr4__ is
15303 defined.
15304
15305Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
15306
15307 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
15308
15309Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
15310
15311 * host/any: Use ../.. rather than .. to get to the main build
17c0c97d
EB
15312 directory. This matches the current layout of the build
15313 directory.
8a0efa53
CF
15314
15315Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
15316
15317 * libc/machine/h8300/__main.S: Delete. No longer needed.
15318 * libc/machine/h8300/Makefile.in: Corresponding changes.
15319 * libc/sys/h8300hms/crt1.c: New file.
15320 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
15321 * libc/sys/h8300hms/crt0.s: Call __main.
15322
15323 * libc/sys/h8300hms/crt0.S: Use temporary label names
15324 for branch targets.
15325
15326Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
15327
15328 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
15329
15330Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15331
15332 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
15333 .sdata on the PowerPC so that we can link newlib with code
15334 compiled with -msdata.
15335
15336Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
15337
15338 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
15339
15340Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
15341
15342 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
15343 exception handler to __cygwin_exception_handler.
15344
15345Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
15346
15347 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
15348
15349Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
15350
15351 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
15352 SunOS VPATH.
15353 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
15354 wcstombs.o): Likewise.
15355
15356Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
15357
15358 * libc/stdlib/environ.c (initial_env): New static local.
15359 (environ): Point to `initial_env'.
15360
15361 * libc/include/machine/setjmp.h: Clean up.
15362 (__H8300H__,__PPC__): Define _JBTYPE.
15363 (__arm__): Provide entry for.
15364 (sigjmp_buf): Delete.
15365 (jmp_buf): Use _JBTYPE if defined, otherwise int.
15366
15367Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
15368
15369 * libc/machine/h8300/strcmp.S: Sign extend the result to
15370 32bits so we don't lose with -mint32.
15371
15372Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
15373
15374 * libc/sys/go32/sys/errno.h: New file.
15375 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
15376 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
15377 errno's address (make compatible with rest of newlib).
15378 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
15379 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
15380
15381Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
15382
15383 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
15384 * libc/machine/sparc/Makefile.in: Build them.
15385 * libc/machine/sparc/machine/sparclet.h: New file.
15386
15387Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15388
15389 * libc/machine/sh/asm.h: New file.
15390 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
17c0c97d 15391 support for SH3e's FP registers. Use asm.h.
8a0efa53
CF
15392
15393Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
15394
15395 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
15396 as first argument. Call _dtoa_r and pass the reent structure
15397 instead of calling __dtoa.
15398
15399Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
15400
15401 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
15402 the h8300, h8500, and others. Add comments for some rather
15403 dubious code.
15404
15405Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
15406
15407 * Makefile.in (check): Check that testsuite exists before cd.
15408
15409Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15410
15411 * libc/include/string.h (strsep): Correct prototype.
15412
15413Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
15414
15415 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
15416 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
15417 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
15418
15419Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
15420
15421 * libc/posix/{creat.c,isatty.c}: New files.
15422 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
15423
15424 * libc/sys/sparc64/crt0.S (environ): Delete.
15425 (.LHaveBias): Renamed from HaveBias.
15426
15427Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
15428
15429 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
15430 (_morecore_r): Delete SBRK_IS_ALLOC support.
15431
15432Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15433
15434 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
15435 module rather than touch, so we don't get warning messages when
15436 all of the libraries are combined into libc.a.
15437
15438Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
15439
15440 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
15441 crt0.s replaced by version in libgloss.
15442
15443Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15444
15445 * libc/reent/Makefile.in (OFILES): Add impure.o.
15446 * libc/reent/impure.o: New file, define initial reentrancy struct.
15447 * libc/reent/reent.c: Remove above definition.
15448
15449 * libm/math/sf_asinh.c: Fix typo.
15450
15451 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
17c0c97d
EB
15452 srf_ldexp.o.
15453
8a0efa53
CF
15454 * libm/libm.texinfo: Change documentation to reflect changes
15455 in reentrancy model.
15456 * libm/math/w_gamma.c: Likewise.
15457
15458Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
15459
15460 * configure.in (*-*-cygwin32): New.
15461 (*-*-win32): Deleted.
15462 * libc/sys/win32 renamed libc/sys/cygwin32.
15463
15464Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15465
15466 * libc/include/sys/file.h: New include file.
15467
15468Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
15469
15470 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
15471
15472Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
15473
15474 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
15475
15476Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15477
15478 * doc/makedoc.c (realloc): Declare at file scope.
15479 (catchar): Not here.
15480
15481Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
15482
15483 * Makefile.in (VERSION): Update to 1.7.0.
15484 * {libc,libm}/Makefile.in (VERSION): Likewise.
15485 * configure.in: Minor clean up of multilib stuff.
15486
15487 From David Johnson <davidj@ICSI.Berkeley.EDU>
15488 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
15489
15490 * libc/stdlib/environ.c: New file.
15491 * libc/stdlib/Makefile.in (OFILES): Build it.
15492 * libc/sys/h8500hms/crt0.c (environ): Deleted.
15493 * libc/sys/m88kbug/crt0.c (environ): Deleted.
15494 * libc/sys/z8ksim/crt0.c (environ): Deleted.
15495 * libc/sys/netware/environ.c: Deleted.
15496
15497Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
15498
15499 * configure.in (links): set sys_dir, posix_dir, syscall_dir
15500
15501Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
15502
15503 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
15504 declaration out to external scope and declare it PTR, not char *.
15505
15506Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
15507
15508 * libc/include/sys/unistd.h (getpagesize): New declaration.
15509 (_SC_PAGESIZE): New definition.
15510 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
15511 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
15512
15513Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
15514
15515 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
17c0c97d 15516 addressing. System call returns size, not (last address + 1).
8a0efa53
CF
15517
15518Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15519
15520 * libm/math/*.c: Removed _foo_r() reentrancy API.
15521 * libc/include/math.h: Removed _foo_r prototypes and macros.
15522
17c0c97d 15523 * libm/math/*.c: On systems with IEEE single precision "doubles"
8a0efa53 15524 move foo() -> foof() wrapper code from the files that implement
17c0c97d 15525 the standard IEEE double precision functions to the files that
8a0efa53
CF
15526 implement IEEE single precision functions. (ie. On those systems
15527 sin is moved from s_sin.c to sf_sin.c). There should eventually
15528 be use of a C extension (like gcc's alias attribute) so that the
15529 wrappers are not needed at all.
15530
15531 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
17c0c97d 15532 strict NEC V810 compiler.
8a0efa53 15533 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
17c0c97d 15534 for same reason.
8a0efa53
CF
15535
15536Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15537
15538 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
17c0c97d 15539 from NetBSD C library.
8a0efa53
CF
15540 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
15541
17c0c97d 15542 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
8a0efa53
CF
15543 and adapted from implementation I wrote for NetBSD C library.
15544 The difference is __assert doesn't take a format argument,
15545 so that there won't be multiple copies of the same string
15546 constant in the executable if assertions are enabled in
17c0c97d 15547 more than one source module.
8a0efa53
CF
15548 * libc/include/assert.h (assert): Changed to call __assert.
15549
15550Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15551
15552 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
15553 word1 on systems with 32 bit doubles.
15554 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
15555 so that we can do arithmetic on them.
15556 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
17c0c97d
EB
15557 compilers.
15558
8a0efa53
CF
15559Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
15560
15561 * libc/sys/arm/crt0.S: Zero bss.
15562
15563Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
15564
15565 * libc/include/unctrl.h: New file.
15566 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
15567 * configure.in (subdirs): Add libc/misc.
15568 * libc/Makefile.in (SUBDIRS): Add misc.
15569 (SUBLIBS): Add misc/lib.a.
15570
15571 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
15572
15573Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
15574
15575 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
15576 (_vfprintf_r): Call CHECK_INIT.
15577
15578Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
15579
15580 * Makefile.in (MULTITOP): Delete.
15581 (MULTISRCTOP, MULTIBUILDTOP): Add.
15582 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
15583 instead of cfg-ml-pos.in.
15584
15585Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
15586
15587 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
15588 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
17c0c97d 15589 presence.
8a0efa53
CF
15590
15591Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
15592
15593 * libc/string/strtok.c: Include string.h to pick up strtok_r
15594 prototype.
15595
15596Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15597
15598 * libc/string/strtok.c: include <_ansi.h>.
15599 * libc/time/asctime_r.c: `reresult' -> `result'.
15600
15601Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15602
15603 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
15604 in #ifndef _REENT_ONLY ... #endif conditional.
15605
15606 * libc/include/string.h (_strtok_r): Remove declaration.
15607 * libc/include/time.h (_asctime_r): Remove declaration.
15608 * libc/string/strtok.c (_strtok_r): Removed.
15609 * libc/time/asctime.c (_asctime_r): Removed.
15610
15611 * libc/string/Makefile.in (OFILES): Add new object.
15612 * libc/string/strtok_r.c: New file. strtok_r function as
17c0c97d 15613 specified by POSIX.1c, adapted from strtok implementation
8a0efa53 15614 from NetBSD C library.
17c0c97d 15615 * libc/string/strtok.c (strtok): Reimplemented in terms of
8a0efa53
CF
15616 strtok_r.
15617
15618 * libc/time/Makefile.in (OFILES): Add new objects.
15619 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
15620 New files, reentrant time functions specified by POSIX.1c.
15621 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
17c0c97d 15622 reentrant time functions re-written in terms of reentrant
8a0efa53
CF
15623 functions.
15624 * libc/time/lcltime.c: Renamed from localtime.c
15625
15626 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
15627 gmtime_r, and localtime_r.
15628
15629Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
15630
15631 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
15632 * libc/include/sys/unistd.h (getlogin): Revert change of
15633 Oct 19.
15634 * libc/include/sys/signal.h (sigprocmask): Change prototype
15635 so it compiles with c++.
15636
15637Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
15638
15639 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
15640 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
15641 to give some room in case we need to align the jmp_buf.
17c0c97d 15642
8a0efa53
CF
15643 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
15644 the new ppc-asm.h include file the compiler provides to specify
15645 function prologue/epilogue. Eliminate saves of the xer and ctr
15646 registers, which are volatile. Before starting to save registers,
15647 align to 8 byte boundary.
15648
15649Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
15650
15651 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
17c0c97d 15652 referenced by standard libraries.
8a0efa53
CF
15653
15654Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
17c0c97d 15655
8a0efa53
CF
15656 * libc/unix/Makefile.in, libc/string/Makefile.in,
15657 libc/stdio/Makefile.in, libc/reent/Makefile.in,
15658 libc/posix/Makefile.in:
15659 Remove tabs from otherwise empty line. Confuses some
15660 older non-GNU versions of "make".
15661
15662Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
15663
15664 * libc/sys/unistd.h (getlogin): Returns const char *.
15665
15666Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
15667
15668 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
15669 * libc/include/errno.h: Moved into and include...
15670 * libc/include/sys/errno.h: New file.
15671 * libc/include/sys/wait.h: New file.
15672 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
15673 * libc/sys/win32/*: Moved out.
15674 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
15675 * configure.in (i[345]86-*-win32): HAVE_RENAME
15676
15677Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
15678
15679 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
15680 avoid macro expansion for these two names.
15681
15682Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
15683
15684 * libc/machine/h8500/psi.S: r6 renamed to fp.
15685
15686Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
15687
15688 * configure.in (powerpc*): No longer need to define
15689 NO_LONGLONG_POINTERS to supress warnings.
15690
15691Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
15692
15693 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
15694 through PTR instead of directly.
15695
15696 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
15697 non-standard constructor support.
15698
15699Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15700
15701 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
17c0c97d
EB
15702 address of the Bigint instead of the address of its _x field,
15703 as the size the result buffer was calculated accordingly.
8a0efa53
CF
15704 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
15705
15706 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
17c0c97d 15707 from NetBSD C library. No longer special cases division by
8a0efa53
CF
15708 zero (which needs to be done by the application anyway), but
15709 it doesn't need to call abs() (or labs()) four times either.
17c0c97d
EB
15710
15711 * libc/stdlib/qsort.c: Replaced with implementation from
8a0efa53
CF
15712 NetBSD C library.
15713
15714Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15715
15716 * libc/stdio/vfprintf.c: Replaced with implementation from
ba3ccd63 15717 NetBSD C library (which is derived from the 4.4BSD C library).
8a0efa53
CF
15718 * libc/stdio/cvt.c: Removed.
15719 * libc/stdio/Makefile: Updated.
17c0c97d 15720
8a0efa53
CF
15721Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
15722
15723 * libc/sys/win32/syscalls.c (rename): New.
15724 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
15725
15726Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
15727
15728 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
15729 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
15730
15731 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
15732 (setjmp.o): Delete rule to build setjmp.o.
15733 * libc/sys/sh/setjmp.S: Delete file.
15734
15735Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15736
15737 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
15738 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
15739 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
17c0c97d 15740 pow5mult and s2b to identifiers with leading underscores.
8a0efa53
CF
15741 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
15742 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
15743
15744Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
15745
15746 * libc/sys/posix/popen.c (sys/types.h): Include.
15747
15748Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
15749
15750 * libc/sys/win32/syscalls.h (fhandler): New struct.
15751 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
15752 (__fhandler_normal): Declare.
15753 (hinfo): New member op_handlers.
15754 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
15755 (__write): Likewise.
15756 (_read, _write, _open, _close, _lseek): Validate fd here.
15757 Move file type specific stuff to foo_normal.
15758 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
15759 New functions.
15760 (__lookup_fhandler): New function.
15761 (__lookup_fhandler_hook, __fhandler_normal): New variables.
15762
15763 From anders.blomdell@control.lth.se (Anders Blomdell)
15764 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
15765 Don't touch standard handles.
15766 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
15767 (_execve): Only create __FD_TABLE__ if necessary.
15768 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
15769
15770Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
15771
15772 * libc/sys/win32/sys/termios.h (FLUSHO): New.
15773 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
15774 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
15775 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
15776 without a handler is received.
15777 * libc/sys/win32/Makefile.in: Remove --nodelete.
15778 * libc/sys/win32/resouce.c (gettimeofday): New.
15779 * libc/sys/win32/syscalls.c (path_to_real_path): New.
15780 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
15781
15782Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
15783
15784 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
15785 Don't append "/*" to search pattern if trailing '/' already there,
15786 append "*".
15787 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
15788 like /'s, convert them to \'s. Handle //<drive>/ path names.
15789 Add space for quoted \'s in arg string. Print translated prog name
15790 and original prog name.
15791 (_execve): Handle parent doing exec a teensy bit better.
15792 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
15793 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
15794 path needs conversion, handle both cases. Delete `const' from result.
15795 (hash_path_name): New function.
15796 (_open): Call it.
15797 (_stat): Likewise. Fill in more fields for directories.
15798 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
15799 (wait_for_any): Fix trace message.
15800 (waitpid): Explicitly test for intpid == 0.
15801
15802 From anders.blomdell@control.lth.se (Anders Blomdell)
15803 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
15804 so `next' is valid.
15805
15806Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
15807
15808 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
15809 complicated.
15810
15811Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15812
ba3ccd63
EB
15813 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
15814 at all, not just == 1.
15815 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
8a0efa53
CF
15816
15817Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15818
ba3ccd63
EB
15819 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
15820 * libc/sys/win32/include/wintypes.h: include <winnt.h>
15821 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
15822 file.
8a0efa53
CF
15823
15824Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
15825
15826 * libc/sys/syscalls.c (getcwd): Fix off by one error.
15827
15828 * libc/sys/signal.c (sleep): Fill it in.
15829 * libc/sys/termios.c (tcflush): Use PurgeComm
15830 (tcsetattr): Set some more of the bits.
15831 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
15832
15833Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
15834
15835 * libc/sys/arm/crt0.S (fp): Initialize to 0.
15836 Conditionally include .idata$3 stuff ifdef __pe__.
15837
15838Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
15839
15840 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
15841 * libc/sys/win32/pipe.c (pipe): Ditto.
15842 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
15843 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
15844 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
15845 (tcgetattr): Contents are new.
15846 * libc/sys/win32/include/winkernel.h (DCB): New.
15847 (GetCommState, SetCommState): New.
15848
15849Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
15850
15851 * libc/sys/arm/crt0.S (_start): Define.
15852
15853Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
15854
15855 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
15856 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
15857
15858 * libc/sys/win32/sysconf.c: New
15859 * libc/sys/win32/sys/winadvapi.h: New
15860 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
15861 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
15862 * libc/sys/win32/pipe.c (pipe): Ditto.
15863 * libc/sys/win32/signal.c (_raise): New.
15864 (_kill): Moved from spawn.c
15865 * libc/sys/win32/spawn.c (kill): Moved to signal.c
15866 * libc/sys/win32/syscalls.c (__read): Use new fields.
15867 (_open): Ditto.
15868 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
15869 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
15870 * libc/include/sys/unistd.h (rmdir): Takes const path.
15871 * libc/include/sys/stat.h (mkdir): Takes const path.
15872 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
15873
15874Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
15875
15876 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
15877
15878 Add support for specifying paths as //<drive>/foo/bar.
15879 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
15880 (__path_to_real_path): Declare.
15881 (PATH_TO_REAL_PATH): New macro.
15882 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
15883 (__path_needs_conversion_p, __path_to_real_path): New functions.
15884 (_open): Fix test for error return from CreateFileA.
15885 Handle new path syntax.
15886 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
15887 * libc/sys/win32/dirsearch.c (opendir): Likewise.
15888
15889Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
15890
15891 * libc/sys/win32/include/*.h: Reorganized
15892 * libc/sys/win32/include/WINREADME: New.
15893 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
15894 * libc/sys/win32/*.c: Fix for new include scheme.
15895 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
15896 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
15897 * libc/sys/win32/passwd.c (*): Fix.
15898 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
15899 (_stat): Get directory owner and permissions right.
15900 * libc/sys/win32/syscalls.h (uinfo): New.
15901 * libc/sys/win32/version.def: Remove leading underscores.
15902
15903Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15904
15905 * libc/sys/win32/key.c: include "include/wincon.h".
15906
15907Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
15908
15909 * libc/sys/win32/{key, stubs}.c: New.
15910 * libc/sys/win32/Makefile: Adjust to cope.
15911 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
15912 (environ_init): Change env names to upper case.
15913 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
15914 * libc/sys/win32/passwd.c (*): Fill in the functions.
15915 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
15916 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
15917 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
15918 (_open): Initialze hmap->execable_p too.
15919 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
15920 (_fstat): Fill in permissions.
15921 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
15922
15923Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
15924
15925 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
15926 if defined.
15927 (cfg-ml-pos.in invocation): Likewise.
15928
15929Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15930
15931 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
15932 s_isnan.o and sf_isnan.o.
15933
15934Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
15935
15936 * All Makefile.in files: added maintainer-clean target as a
15937 synonym for realclean.
15938
15939Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
15940
15941 * libc/include/machine/setjmp.h: Add hppa support.
15942 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
15943 support.
15944 * libc/machine/hppa/Makefile.in: Related changes.
15945
15946Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
15947
15948 * configure.in (machine_dir): Don't set for v810-*-*.
15949
15950Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15951
15952 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
15953 conventions correctly.
15954
15955Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
15956
15957 * libc/stdio/puts.c: Update documentation of return value to match
15958 ANSI standard.
15959
15960Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
15961
15962 Fix file descriptor inheritance.
15963 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
15964 (NOT_OPEN_FD): Fix.
15965 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
15966 close-on-exec flag not set. Initialize child's entire fd table.
15967 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
15968 CHILD_P.
15969 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
15970 if CHILD_P. Initialize entire hmap entry.
15971 (dup): Only create new handle as inheritable if CHILD_P.
15972 (dup2): Likewise. Properly initialize hmap entry.
15973
15974 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
15975 _spawn.
15976 (_exit): Use CHILD_P.
15977 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
15978 (_stat): Likewise.
15979
15980Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15981
15982 * libc/sys/win32/crt0.c (passover): fix up the state table.
15983 * libc/posix/popen.c: Added.
15984 * libc/posix/Makefile.in: compile popen.c.
17c0c97d 15985
8a0efa53
CF
15986Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
15987
15988 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
15989 h8/500 define _DOUBLE_IS_32BITS.
15990
15991Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
15992
15993 Get vfork/exec/spawn/cwait/wait working again.
15994 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
15995 (procinfo): New member vfork_level.
15996 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
15997 (vfork_init_first): Use GetCurrentProcessId to get pid.
15998 Initialize vfork_level.
15999 (vfork_init): Delete __PID__.
16000 (environ_init): New function. Undo patch of Aug 19, Posix says
16001 environment variables are case sensitive.
16002 (mainCRTStartup): Call it.
16003 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
16004 (my_longjump: Make static.
16005 (_spawn): New argument `h'. Delete setting of __PID__.
16006 Delete local `idx'. Look for chars that need quotes, rather than
16007 ones that don't. Set handle of created process in `h'.
16008 Result is process id if created task.
16009 (allocate_spawn_entry): New function.
16010 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
16011 (_execve): Set __FD_TABLE__ before spawning child.
16012 Scan our fd table when passing fds, not our parent's.
16013 Store handle and pid in procinfo entry.
16014 (vfork0): Ensure strace message always printed.
16015 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
16016 (vfork): Don't clobber result of vfork0.
16017 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
16018 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
16019
16020 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
16021 and `exit_code'.
16022 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
16023 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
17c0c97d 16024 adding vfork level to pseudo-pid.
8a0efa53
CF
16025 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
16026 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
16027 (_exit): If child, set exit code.
16028 (__vfork_record_death): Only close process handle if valid.
16029 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
16030 didn't exec.
16031 (wait_for_any): Likewise. Start scan after root entry.
16032
16033Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16034
16035 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
16036 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
16037 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
16038 of actual file length.
16039
16040 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
16041 * libc/include/paths.h: _PATH_BSHELL added.
16042 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
16043 and STDERR_FILENO.
16044
16045Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16046
16047 * libc/include/ar.h: Added.
16048 * libc/include/sys/types.h: ino_t goes back to 32-bits.
16049 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
16050 * libc/sys/win32/syscalls.c (_open): compute .namehash based
16051 on filename.
16052 (_fstat): use .namehash for inode number of the fd.
16053
16054Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
16055
16056 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
16057 Change hinfo to __this_procinfo.
16058 * libc/sys/win32/crt0.c: Remove procinfo_list.
16059
16060Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16061
16062 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
16063 win32 environment.
16064
16065Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16066
16067 * libc/sys/win32/include/grp.h: Removed.
16068 * libc/sys/include/grp.h: Added.
16069 * libc/sys/win32/grp.c: Include <grp.h>.
16070
16071Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
16072
16073 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
16074 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
16075 Defined for all but strict ANSI.
16076 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
16077 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
16078 * libc/signal/signal.c (_signal_r): Changed from using
17c0c97d 16079 _MAX_SIGNALS to NSIG.
8a0efa53
CF
16080 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
16081 __hmap): Deleted.
16082 (__strace, __vfork_next_pid): New.
16083 (__exe_suffix): Default to 1.
16084 (passover, table): Understand quoted arguments.
16085 (vfork_init_first): New.
16086 (vfork_init): Initialize new process structure.
16087 (mainCRTStartup): Pass environ to main.
16088 * exceptions.c (__sig_mask): New
16089 (ehandler3): Ignore signals in mask.
16090 (really_exit): Remove CHILD_P test.
16091 * pipe.c (pipe, dup, dup2): Use new process and file structure.
16092 * resource.c (getrusage): Ditto.
16093 * signal.c (sigprocmask): New.
16094 * spawn.c (*): Rewritten.
16095 * syscalls.c (*): Use new process and file structure.
16096 (find_unused_handle): New.
16097 * syscalls.h (MAX_HANDLES): Deleted.
16098 (hinfo): Removed child_created_p.
16099 (MAX_CHILDREN): Deleted.
16100 (vfork_jmp_info, procinfo): New.
16101 * wait.c (*): Mostly new.
16102 * sys/strace.h (_STRACE_PARANOID): New.
16103 * sys/param.h: New file.
16104
16105Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16106
ba3ccd63
EB
16107 * libc/include/sys/stat.h: add S_BLKSIZE.
16108 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
16109 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
16110 types under win32.
16111 (mode_t): add a #else to avoid multiple definitons.
8a0efa53 16112
ba3ccd63
EB
16113 * libc/sys/win32/Makefile.in: add grp.c.
16114 * libc/sys/win32/grp.c: include grp.h correctly.
16115 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
16116 of the st structure with real information.
16117 * libc/sys/win32 (dirent): d_ino is of type ino_t.
8a0efa53
CF
16118
16119Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
16120
16121 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
16122 and (maybe) sparc64.
16123 (nlink_t): Provide typedef.
16124
16125Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16126
16127 * libc/sys/win32/grp.c: New file.
16128 * libc/sys/win32/include/grp.h: New file.
16129
16130Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16131
16132 * libc/include/machine/ieeefp.h: Added whitespace to make this
16133 file easier to maintain.
16134 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
16135 depending on the value of __LITTLE_ENDIAN__.
16136 On the sh3e, define _DOUBLE_IS_32BITS.
17c0c97d 16137
8a0efa53
CF
16138Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
16139
16140 * libc/sys/vr4300/syscalls.c: Added missing support
17c0c97d 16141 routines. _raise() and getpid().
8a0efa53
CF
16142
16143Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
16144
16145 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
16146
16147Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
16148
16149 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
ba3ccd63 16150 and VR4300 processor.
8a0efa53
CF
16151 * libc/sys/vr4300: Add directory.
16152 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
17c0c97d 16153 monitor run-time support.
8a0efa53
CF
16154
16155Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16156
16157 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
16158 * libc/stdlib/stdlib.tex: Don't include atol.def.
16159
16160Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16161
16162 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
16163
16164Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
16165
16166 * libc/ctype/Makefile.in: Fill in _to* dependencies.
16167
16168Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
16169
16170 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
16171 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
16172 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
16173 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
16174 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
16175
16176Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16177
16178 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
16179
16180Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16181
16182 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
16183 * libc/stdlib/atoff.c: New file.
16184 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
16185 * libc/stdlib/atoi.c (atol): Removed.
16186 * libc/stdlib/atol.c: Removed duplicate documentation.
16187
16188 * libc/include/ctype.h (_tolower, _toupper): Moved inside
16189 #ifndef _STRICT_ANSI conditional.
16190 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
16191 * libc/ctype/_tolower.c: New file.
16192 * libc/ctype/_toupper.c: New file.
16193 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
16194 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
16195 * libc/ctype/toascii.c (_toascii): Removed.
16196
16197Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
16198
16199 * libc/sys/sparc64/sys/types.h: Deleted.
16200
16201Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16202
16203 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
16204 and recognize Windows_95 systems.
16205
16206Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16207
16208 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
16209 and passed fds should be opened in text mode.
16210
16211Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16212
16213 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
16214 in __hmap, set to binary mode by default.
16215
16216Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16217
16218 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
16219 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
16220 vector 34.
16221
16222Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
16223
16224 * Makefile.in (install): Install all libraries found in the
16225 top level. If there's a sys/<type>/include directory,
16226 install those headers into include.
16227
16228 * libc/sys/win32/kernel.def351: Delete
16229 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
16230 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
16231 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
16232 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
16233 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
16234 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
16235 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
16236 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
16237
16238 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
16239 * libc/sys/win32/crt0.c: Force all env names to upper case.
16240 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
16241 * libc/sys/win32/*.c: Headers have moved.
16242 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
16243 __vfork_child_idx is now __vfork_child_ptr.
16244
16245 * posix/execvp (execvp): Don't crash if no PATH envname.
16246
16247Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16248
16249 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
16250 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
16251 through the _freelist instead of through the _reclaim list.
16252 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
16253 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
16254 sources.
16255
16256Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16257
16258 * libc/machine/h8500/setjmp.S: New file.
16259 * libc/include/machine/setjmp.h: Updated for H8/500.
16260
16261Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
16262
16263 * libc/sys/win32/syscalls.c (_open): More stracing.
16264 (_stat): Open the file in O_BINARY.
16265
16266Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16267
16268 * libc/machine/h8300/setjmp.S: New file.
16269 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
16270
16271Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
16272
16273 * libc/sys/win32/crt0.c (__exe_suffix): New global.
16274 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
16275 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
16276 __exe_suffix. Free fd_tab after setting env variable.
16277 (spawnv,_execve): Update.
16278 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
16279 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
16280 (__small_vfprintf): New function.
16281 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
16282 * libc/sys/win32/wait.c (cwait): Validate argument.
16283
16284 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
16285 (process_deletion_queue): Likewise.
16286
16287 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
16288
16289Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
16290
16291 * libc/sys/win32: Copyrights and gratuitous indenting.
16292
16293Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
16294
16295 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
16296 (process_deletion_queue): Likewise.
16297 (__close_all_files): New function.
16298 (_close): Only queue file deletion if really a file.
16299 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
16300 _P_APPEND_EXE.
16301 (_exit): Call __close_all_files.
16302
16303 * libc/stdlib/system.c: #include <errno.h>.
16304 (_system_r): Fix results in -DNO_EXEC case.
16305
16306 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
16307 Reorganize structure.
16308 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
16309 if argument is valid. Save directory name in DIR. malloc space
16310 for dirent struct separately.
16311 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
16312
16313 * libc/include/errno.h (ENAMETOOLONG): Define.
16314 * libc/string/strerror.c (strerror): Reword ENFILE.
16315 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
16316
16317Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
16318
16319 * libc/sys/win32/crt0.c (__progname): New global.
16320 (mainCRTStartup): Support strace=bitmask,filename.
16321 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
16322 * libc/sys/win32/syscalls.c (_write): Print parent trace message
16323 if error.
16324 (getcwd): Handle len too small. Convert '\\' to '/'.
16325 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
16326 Add prototypes for open, creat, fcntl.
16327 (O_APPEND): Change value to conform to Microsoft's value.
16328 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
16329
16330 * libc/stdlib/getopt.c: New file.
16331 * libc/stdlib/Makefile.in: Build it.
16332
16333Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
16334
16335 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
16336 Fix scanning of $PATH.
16337 * libc/posix/exec*.c: Call _execve, not execve.
16338 * libc/posix/execve.c: New file.
16339 * libc/posix/Makefile.in (OFILES): Add execve.o.
16340
16341 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
16342 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
16343 (_STRACE): If level==0, always print. Handle new bit mask scheme.
16344 * libc/sys/win32/crt0.c: Update _STRACE calls.
16345 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
16346
16347 * libc/sys/win32/smallprint.c (rn): Fix digit list.
16348
16349 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
16350 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
16351 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
16352 Print __seterrno trace message first.
16353 (_execve): Renamed from execve.
16354 (vfork): Update __strace usage.
16355 (__vfork_child_pid): Deleted.
16356 (__vfork_children, __vfork_child_idx): New globals.
16357 (_spawnvp): New function.
16358 (spawnvp, spawnv, _execve): Call _spawnvp.
16359 (init_child): Record child in __vfork_children.
16360 (__vfork_get_entry, __vfork_record_death): New functions.
16361 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
16362 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
16363 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
16364 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
16365 (children): New typedef.
16366 (__vfork_children,__vfork_child_idx): Declare.
16367 (__vfork_get_entry,__vfork_record_death): Declare.
16368 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
16369 (waitpid): Handle pid == -1.
16370 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
16371 * configure.in (i386-win32): Add -DNO_FORK.
16372 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
16373 * libc/reent/execr.c (_fork_r): Likewise.
16374 * libc/stdlib/system.c (do_system): New function.
16375 If WIN32, try to get shell path from $SH_PATH, use vfork.
16376 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
16377 otherwise return 0.
16378
16379Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
16380
16381 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
16382 * libc/sys/win32/fcntl.h: Don't include self.
16383 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
16384 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
16385 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
16386 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
16387 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
16388 Correct prototypes.
16389 * libc/sys/win32/strace.c: New file.
16390 * libc/sys/win32/smallprint.c: New file.
16391 * libc/sys/win32/crt0.c (func): Delete.
16392 (mainCRTStartup): Fix alloca usage. Set handles explictly.
16393 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
16394 * libc/sys/win32/exceptions.c: Lint.
16395 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
16396 Clean up handle usage.
16397 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
16398 (open.c): Default file type is text.
16399 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
17c0c97d 16400 * libc/sys/win32/advapi32.def: New
8a0efa53
CF
16401
16402Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
16403
16404 * configure.in (posix_dir, libc_posix_lib): New variables.
16405 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
16406 (i[345]86-*-win32): Define posix_dir.
16407 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
16408 (if unix_dir): Fix typo.
16409 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
16410 scandir,seekdir,telldir}: New files.
16411 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
16412 from libc/unix.
16413 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
16414 (SUBDIRS): Add posix.
16415 (SUBLIBS): Add $(LIBC_POSIX_LIB).
16416
16417 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
16418 (NSIG): Increase to 21.
16419 * libc/include/sys/unistd.h (pid_t): Move from here,
16420 * libc/include/sys/types.h (pid_t): to here.
16421
16422 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
16423 (__ptrace): Delete.
16424 (hinfo): New members close_exec_p, child_created_p.
16425 (struct exception_list): Define.
16426 (__hmap): Redefine as pointer to table.
16427 (__parent_hmap, __child_hmap): New globals.
16428 (__set_errno, __really_exit): Declare.
16429 (__vfork_child_pid): Declare.
16430 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
16431 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
16432 (__parent_hmap, __child_hmap): New globals.
16433 (__hmap): Redefine as pointer to active map.
16434 (__get_console): New function.
16435 (mainCRTStartup): Change leading '=' in environ vars to '!'.
16436 (env __FD_TABLE__): Watch for this and initialize our fd/handle
16437 mapping table from it if defined.
16438 (argv, envp): Dump if __strace >= 4.
16439 (main): Call here.
16440 * libc/sys/win32/exceptions.c (myp): Redefine.
16441 (__syscalls_b): Delete.
16442 (__stack_trace): New function.
16443 (ehandler3): Update to use _STRACE. Print stack trace.
16444 Call __really_exit instead of exit.
16445 (init_exceptions): Delete args argc,argv. New arg mine.
16446 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
16447 FindFirstFileA, FindNextFileA, GetComputerNameA,
16448 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
16449 * libc/sys/win32/signal.c (signal): Validate arg.
16450 (alarm, sleep): Define as stubs for now.
16451 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
16452 (__syscalls_b, errno): Delete.
16453 (__vfork_child_pid, __vfork_jmp_buf): New globals.
16454 (__seterrno): Handle more errors.
16455 (__sys_printf): Renamed from _ptrace.
16456 (__really_exit): New function.
16457 (queue_file_deletion, process_deletion_queue): New functions.
16458 (__resume_parent): New function.
16459 (_unlink): Handle trying to delete open file.
16460 (__totime_t): Renamed from totime_t.
16461 (setsid, __read, __write): New functions.
16462 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
16463 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
16464 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
16465 * libc/sys/win32/console.c: Update to new definition of __hmap.
16466 * libc/sys/win32/Makefile.in: Build new files.
16467 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
16468 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
16469 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
16470 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
16471
16472Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
16473
16474 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
16475
16476Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16477
16478 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
16479 have been made to the master dtoa.c sources (from netlib.att.com)
16480 since they were integrated into newlib in early 1992. Fixes
16481 problems with storage leaks and handling of numbers with very
16482 negative exponents.
17c0c97d 16483
8a0efa53
CF
16484Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16485
16486 * Makefile.in (all): set rootpre and srcrootpre before calling
16487 sub-makes.
16488
16489Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
16490
16491 * libc/sys/win32/crt0.c: Change __hmap usage.
16492 * libc/sys/win32/exceptions.c: Use _ptrace call.
16493 * libc/sys/win32/syscalls.c: Use _ptrace call.
16494 (read, write): Cope with DOS style CRLF when in TEXT mode.
16495 * libc/sys/win32/syscalls.h: Declare hinfo struct.
16496 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
16497 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
16498 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
16499 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
16500
16501Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16502
16503 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
16504
16505 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
16506 wrappers for hypot() and remainder() for BSD libm compatibility.
16507 These are public domain implementations written by me for the
16508 NetBSD libm some time ago. Note cabs() is required by ucbtest.
16509 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
16510 (fobj): Added wf_cabs.o and wf_drem.o.
16511
16512Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16513
16514 * libc/sys/h8500hms/misc.c: New file.
16515 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
16516
16517Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16518
16519 * libc/time/localtime.c (localtime): Fix problem with leap year
16520 handling. Stole algorithm from Arthur David Olson's tz code.
17c0c97d 16521
8a0efa53
CF
16522Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
16523
16524 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
16525
16526 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
16527 (_exit): Use argument.
16528
16529Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
16530
16531 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
16532
16533Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
16534
16535 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
16536
16537Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16538
16539 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
16540 target_cflags.
16541
16542Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
16543
16544 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
16545 ptrace with case insensitivity
16546 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
17c0c97d 16547 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
8a0efa53
CF
16548 New files.
16549
16550Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
16551
16552 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
16553 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
16554 (all, install, *clean): Use new multilib support.
16555 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
16556
16557Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
16558
16559 * libc/include/sys/signal.h (__WIN32__): New.
16560
16561 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
16562
16563 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
16564 (ulp, b2d): Handle 32 bit doubles.
16565 * libc/stdlib/mprec.h: Handle 32 bit doubles.
16566 * libc/stdlib/strtod.c (_strtod_r): Ditto.
16567
16568Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
16569
16570 from medp@primag.co.uk:
16571 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
16572 dynamically allocated buffers.
16573
16574Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
16575
16576 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
16577 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
16578
16579Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16580
16581 * configure.in (powerpc): Fix previous fix.
16582
16583Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16584
16585 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
16586 directories for this target.
16587
16588Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
16589
16590 * configure.in (hppa): Add machine_dir definition.
16591 * libc/machine/hppa: New directory with PA specific implementations
16592 of the basic memory/string functions.
16593
16594Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16595
16596 * configure.in: Update current PowerPC multilib directories.
16597 Split big and little endian configurations.
16598
16599Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
16600
16601 * configure.in: Add --enable-single-float option to configure to
16602 control use of MIPS single-float directories. Default to yes.
16603
16604 * Makefile.in (all): Don't recurse into multilib directory if it
16605 does not exist.
16606
16607Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16608
16609 * libc/sys/sh/syscalls.c: Fix typo.
16610
16611Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
16612
16613 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
16614 Pass down DLLTOOL.
16615 * libc/include/process.h: Define WAIT_CHILD.
16616 * libc/include/types.h: Get sizes right for win32.
16617 * configure.in (i386-*-pe): Becomes i386-win32.
16618 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
16619 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
16620 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
16621 is defined.
16622
16623Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
16624
16625 * configure.in (i[345]86-*-pe): New target (NT).
16626 * host/any: DLLTOOL new.
16627 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
16628 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
16629 WIN32 (just enough to cross host the comp-tools).
16630
16631Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
16632
16633 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
16634 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
16635
16636Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
16637
16638 * libc/include/machine/ieeefp.h (arm): Change to always be
16639 __IEEE_BIG_ENDIAN (even on little endian ARM's).
16640
16641Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
16642
16643 * libc/sys/crt0.S: Initialze sp, and call exit after main.
16644 * libc/sys/syscalls.c (abort): New.
16645 * configure.in (arm): Define ABORT_PROVIDED.
16646
16647Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16648
16649 * configure.in (powerpc): Define multidirs.
16650
16651Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
16652
16653 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
16654
16655Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
16656
16657 * configure.in (sparclite): Delete target_cflags. Define multidirs.
16658
16659Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
16660
16661 * configure.in, libc/include/machine/ieeefp.h: Modified
16662 for arm:
16663 libc/machine/arm/*, libc/sys/arm/*: New
16664
16665Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16666
16667 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
16668 __powerpc__ when determining endianness.
16669
16670Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16671
16672 * configure.in (m68*): Add multidir for the m68332.
16673
16674 * host/any (CC): Fix typo in last change.
16675
16676Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
16677
16678 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
16679 when determining endianness.
16680 * libc/include/machine/ieeefp.h: Ditto.
16681 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
16682 operands.
16683
16684Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
16685
16686 * libc/include/errno.h (ENOTEMPTY): Define.
16687
16688Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16689
16690 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
16691 target_cflags.
16692
16693 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
16694 and umultiply.o.
16695
16696 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
16697 instead of only when open succeeds. ANSI requires that multiple
16698 calls to tmpnam() result in different files.
16699
16700 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
16701 objects pulled in from /lib/libc.a that must be renamed before
16702 being pulled into newlib. /lib/libc.a's div.o conflicted with
16703 newlib's file with the same name.
16704
16705 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
16706
16707 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
16708 the build tree will only be used if the executables are present
16709 (instead of just the Makefiles).
16710
16711 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
16712 wcstombs): Define.
16713 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
16714 versions of these functions that I orignally wrote for the
16715 NetBSD C library.
16716 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
16717 versions I wrote for NetBSD.
16718
16719Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
16720
16721 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
16722 * libc/sys/sparclite/crt0.s: ditto.
16723
16724Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
16725
16726 * configure.in: Add soft-float for proelf.
16727
16728Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
16729
16730 * libc/stdlib/mprec.h (Bcopy): Copy the right number
16731 of bytes.
16732
16733Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
16734
16735 * Makefile.in (all): Depend on `force'.
16736 * configure.in (syscall_dir): Renamed from fake_sys_dir.
16737 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
16738 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
16739 * libc/Makefile.in: Likewise.
16740 * libc/include/reent.h: Update syscall references.
16741 (_fcntl_r): Add prototype.
16742 * libc/syscalls/*.c #include <reent.h>.
16743 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
16744
16745Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
16746
16747 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
16748 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
16749 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
16750 (time.h, sys/types.h): Always include (even if MSDOS).
16751 (stat): Fix prototype.
16752
16753Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
16754
16755 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
16756
16757Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
16758
16759 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
16760
16761Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
16762
16763 * libc/include/regdef.h: New file.
16764 * libc/machine/mips/machine/regdef.h: New file.
16765
16766Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
16767
16768 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
16769
16770Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
16771
16772 * libc/sys/sh/crt0.S: Pass main's return to exit.
16773 * libc/sys/sh/trap.S: Put errno in the right place.
16774
16775Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
16776
16777 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
16778 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
16779 * libm/math/ef_rem_pio2.c: Likewise.
16780 * libm/math/e_log10.c: Remove unused static one.
16781 * libm/math/ef_log10.c: Likewise.
16782 * libm/math/s_frexp.c: Likewise.
16783 * libm/math/sf_frexp.c: Likewise.
16784
16785Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
16786
16787 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
16788 longjmp.S: Upgraded.
16789 * libc/sys/go32/sys/setjmp.h: Upgraded.
16790 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
16791
16792Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
16793
16794 * configure.in: Add many entries to multidirs for mips targets.
16795
16796Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16797
16798 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
16799 5.2 which fixes bug where jn(-1,x) is three times larger than
16800 the actual answer.
16801 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
16802
16803Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
16804
16805 * libc/sys/w65/sys/syscalls.h: New file
16806 * libc/include/machine/ieeefp.h: W65 support.
16807 * libc/include/sys/config.h: Ditto.
16808 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
16809 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
16810 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
16811
16812Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
16813
16814 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
16815
16816Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
16817
16818 * Makefile.in, configure.in: Remove any references to the old
16819 "stub" dir.
16820
16821Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
16822
16823 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
16824 uses ... in prototype.
16825
16826
16827Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
16828
16829 * libc/sys/a29khif/sys/libconfig.h: Remove.
16830 * libc/sys/go32/sys/libconfig.h: Remove.
16831 * libc/sys/sun4/sys/libconfig.h: Remove.
16832 * libc/sys/sysvi386/sys/libconfig.h: Remove.
16833 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
16834 * libc/sys/sparc64/sys/libconfig.h: Remove.
16835
16836 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
16837 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
16838 * libc/include/math.h: Change all uses of _FLOAT_RET and
16839 _FLOAT_ARG to float.
16840 * libm/test/math.c: Likewise.
16841 * testsuite/libm.sac/math.c: Likewise.
16842 * testsuite/libm.sac/working/math.c: Likewise.
16843
16844Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
16845
16846 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
16847 gcc calls gas with endian option.
16848 * configure.in (sh): Build little endian version too.
16849
16850Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
16851
16852 * configure.in: Configure big and little endian versions for MIPS
16853 targets.
16854
16855Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
16856
16857 * libc/include/limits.h: Deleted.
16858 * libc/include/machine/limits.h: Deleted.
16859
16860Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
16861
16862 * ChangeLog: Remove stub directory. This has all been rewritten
16863 and moved to devo/libgloss.
16864
16865Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
16866
16867 * Makefile.in (dvi): Add to info target, use $@ in sub make.
16868 (docs): Merge into info target.
16869 * libm/Makefile.in (dvi): Add $(srcdir).
16870 * libm/math/Makefile.in (chobjs): Remove underscores from file
16871 names. Texinfo doesn't like them.
16872 (wacos.def, ...): Add explicit targets for all .def files.
16873 * libm/math/math.tex: Remove underscores from @include file names.
16874 * doc/Makefile.in (dvi): Add dummy target.
16875 * testsuite/Makefile.in (dvi): Add dummy target.
16876
16877Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
16878
16879 * Makefile.in (VERSION): Define. For net newlib releases.
16880
16881Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
16882
16883 * README: New file.
16884
16885Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
16886
16887 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
16888
16889Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16890
16891 * libc/stdlib/setenv.c (_findenv): Declare.
16892
16893 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
16894 fcntl to not use _EXFUN, and change string parameters to open and
16895 creat to be ``const char *''.
16896 * libc/sys/sparc64/sys/fcntl.h: Likewise.
16897 * libc/sys/sparc64/creat.c (creat): Make PATH const.
16898 * libc/syscalls/sysopen.c: Include <fcntl.h>.
16899 (open) Make _FILE const.
16900 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
16901 (_creat): Make PATH const.
16902 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
16903 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
16904 * libc/sys/m88kbug/syscalls.c (open): Likewise.
16905 * libc/sys/sh/syscalls.c (_open): Likewise.
16906 * stub/shared/glue.c (open): Make BUF const.
16907 * stub/ex93x/syscalls.c (open): Make FILENAME const.
16908
16909Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
16910
16911 * libc/include/errno.h: Add ENMFILE
16912 * libc/include/sys/config.h: Support Z8000.
16913 * libc/include/sys/signal.h: New signals for go32.
16914 * libc/machine/h8500/psi.S (__addpsir0r0): New function
16915 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
16916 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
16917 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
16918 size is variable, depending upon CHUNK_POWER.
16919 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
16920
16921Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
16922
16923 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
16924
16925Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16926
16927 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
16928
16929Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16930
16931 * configure.in: Change i[34]86 to i[345]86.
16932
16933 * libc/include/math.h: Don't define HUGE_VAL if it is already
16934 defined.
16935
16936Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16937
16938 * testsuite/libm.sac/test_erfc.c: Correct some result values.
16939 * testsuite/libm.sac/test_gammaf.c: Likewise.
16940 * testsuite/libm.sac/test_sin.c: Likewise.
16941 * testsuite/libm.sac/test_tanh.c: Likewise.
16942
16943Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16944
16945 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
16946 already set. Define typedefs __int32_t and __uint32_t.
16947 * libc/include/math.h: Include <machine/ieeefp.h>.
16948 (union __dmath): Use __uint32_t.
16949 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
16950 instead of int and unsigned int.
16951
16952Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16953
16954 Replace the math library with the SunPRO fdlibm package.
16955 * libm/math: Completely changed all files.
16956 * libm/ieeefp: Remove contents and directory.
16957 * libm/Makefile.in (LIBM_FP_LIB): Remove.
16958 (SUBDIRS): Just set to math/lib.a.
16959 * libm/libm.texinfo: Updated for new library.
16960 * libc/include/math.h: Extensive changes for new math library.
16961 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
16962 from _FLOAT_ARG to float.
16963 (maxpowtwo, maxpowtwof): Don't declare.
16964 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
16965 (libm_fp_lib): Removed.
16966 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
16967 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
16968 argument to ${RUNTEST}.
16969 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
16970 (.c.o): New rule.
16971 (RUNTESTFLAGS): Set CC and CFLAGS.
16972 (TESTS): Remove test_log2 and test_log2f.
16973 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
16974 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
16975 _FLOAT_ARG, for single precision argument type.
16976 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
16977 expected failure. Close the input pipe.
16978 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
16979 Correct misspelling of inaccurate.
16980 (test_mok): Use ``inaccurate'', not ``wrong''.
16981 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
16982 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
16983 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
16984 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
16985 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
16986 test_yn.c): Correct many result values. Many are still wrong.
16987
16988 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
16989 just copy the string.
16990 (_gcvt): Always return the buffer.
16991
16992Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
16993
16994 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
16995
16996Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
16997
16998 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
16999 structure.
17000 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
17001 (_reclaim_reent): declare new entry point.
17002 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
17003 functions.
17004
17005 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
17006 ever allocated, so that we can later reclaim them all.
17007 (pow5mult): make reentrant.
17008
17009 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
17010 so that when given NULL as a buffer, return a pointer to static
17011 space in the rent structure. This is not documented behaviour;
17012 it's only to support ecvt and fcvt, which aren't ANSI anyway.
17013 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
17014 therefore become reentrant).
17c0c97d 17015
8a0efa53
CF
17016 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
17017
17018Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
17019
17020 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
17021
17022Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
17023
17024 * Makefile.in: Make link to libg.a after libc.a; this is needed
17025 for the testsuites to build executables when everything comes
17026 from the tree.
17027
17028Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
17029
17030 * libc/Makefile.in: Add a VERSION variable so we can keep track.
17031 * libm/Makefile.in: Add a VERSION variable so we can keep track.
17032
17033Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
17034
17035 * libc/include/stdio.h: Use __VALIST, not va_list.
17036
17037Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
17038
17039 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
17040 testsuite/libm.sac/execute.exp:
17041 Replace error proc calls with perror calls.
17042
17043Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
17044
17045 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
17046 * libc/include/time.h: #define NULL as 0L.
17047
17048Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
17049
17050 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
17051 care of it.
17052
17053Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17054
17055 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
17056 not __unix__.
17057
17058Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
17059
17060 * configure.in (TARGET_CFLAGS): Set -O2 as default.
17061 (z8k-*-*): Use syscalls fake sys dir.
17062 * libc/sys/z8k/glue.c: Rename syscalls.
17063 * libc/sys/go32/Makefile.in: Use new routines.
17064 * libc/machine/Makefile.in: Fix typo in ln stuff.
17065
17066Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17067
17068 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
17069 * libc/Makefile.in (crt0.o): Likewise.
17070 * libc/machine/Makefile.in (lib.a): Likewise.
17071 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
17072
17073 All Makefile.in files: Added mostlyclean, realclean and distclean
17074 targets.
17075
17076 * Makefile.in: Don't bother to unexport XTRAFLAGS or
17077 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
17078 the top level Makefile.
17079
17080Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
17081
17082 * libc/sys/sparc64/sys/stat.h: New file.
17083 * libc/sys/sparc64/sys/time.h: New file.
17084 * libc/sys/sparc64/sys/types.h: New file.
17085
17086Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
17087
17088 * stub/ex93x/crt0.s (start): Add code to clear bss.
17089
17090Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
17091
17092 * libc/include/sys/types.h (time_t): Properly protect inside
17093 #ifndef __time_t_defined.
17094
17095 * libc/stdio/fileno.c: New file.
17096 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
17097 (fileno.o): Add dependency.
17098 * libc/include/stdio.h (__sgetc): Rename never to _never.
17099 (fileno macro): Disable, needs to do CHECK_INIT first.
17100
17101Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
17102
17103 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
ba3ccd63 17104 goal.
8a0efa53
CF
17105
17106 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
17107 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
17108 runtest.
17109 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
17110 runtest.
17111
17112Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
17113
17114 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
17115 of the various constants.
17116
17117Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
17118
17119 * libc/include/math.h: #ifndef __math_68881 around things which
17120 conflict with the (gcc-provided) inline functions in
17121 gcc/ginclude/math-68881.h.
17122
17123Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
17124
17125 * libc/include/_syslist.h (_gettimeofday): Define.
17126 (_times): Ditto.
17127 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
17128 (struct tms, timeval, timezone): Declare.
17129 (_gettimeofday_r, _times_r): Declare.
17130 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
17131 #ifdef _CLOCK_T_ surrounding definition of clock_t.
17132 (time_t): Add multiple definition protection, __time_t_defined.
17133 * libc/include/sys/time.h: Don't #include <time.h>.
17134 Always define struct timezone (remove #ifndef _TIME_H_).
17135 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
17136 #ifdef _CLOCK_T_ surrounding definition of clock_t.
17137 * libc/reent/Makefile.in (OFILES): Add timer.o.
17138 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
17139 * libc/reent/timer.c: New file.
17140 * libc/time/clock.c: #include <reent.h>.
17141 (clock): Call _times_r instead of times.
17142 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
17143 HAVE_GET_TIME_OF_DAY.
17144 Add comment regarding supporting OS routine(s) required (for docs).
17145 #include <reent.h>.
17146 (time): Call _gettimeofday_r instead of gettimeofday.
17147 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
17148 * libc/time/ctime.c: Ditto.
17149 * libc/time/strftime.c: Ditto.
17150 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
17151 (TEMPLATE_SFILES_R): Define here. Also define times.
17152 Add times_r.o/times.S dependence.
17153 (time2.c, junk.c): Deleted.
17154 * libc/sys/sparc64/time2.c: Deleted.
17155 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
17156
17157 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
17158 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
17159 * libc/sys/sparc64/junk.c: Deleted.
17160
17161Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
17162
17163 * libc/sys/sparc64/Makefile.in: Add times syscall.
17164 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
17165 be used with and without it. Add comment clarifying Medium/Anywhere
17166 model requirements.
17167 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
17168 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
17169 even if obsolete.
17170
17171Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
17172
17173 * configure.in (target_cflags): Move init.
17174 (sparc64-*-*): Define HAVE_BLKSIZE.
17175
17176Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
17177
17178 * libc/include/sys/_types.h: New file.
17179 * libc/include/reent.h: #include it.
17180 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
17181 MISSING_SYSCALL_NAMES.
17182 Sort syscalls.
17183 * libc/include/_syslist.h: Remove _raise.
17184 * libc/reent/signalr.c: New file.
17185 * libc/reent/Makefile.in: Compile it.
17186 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
17187 Add doc for raise and _raise_r.
17188 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
17189 (raise): Call _raise_r.
17190 (_raise_r): Call _getpid_r and _kill_r.
17191 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
17192 (abort): Loop forever calling raise and _exit.
17193
17194Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17195
17196 * configure.in: Remove extraneous echo.
17197
17198Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
17199
17200 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
17201 collision with unistd.h, and fix for svr4.
17202
17203Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
17204
17205 * libc/stdio/local.h (_llicvt): Declare.
17206 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
17207 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
17208 (_llicvt): Define.
17209 (_sicvt): Fix function header (`value' is short).
17210 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
17211 Add printing of long long's support.
17212 Add printing of 8 byte pointer support.
17213
17214Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
17215
17216 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
17c0c97d 17217 stat, chmod): New hooks.
8a0efa53
CF
17218 (sbrk): Abort if stack and heap collide.
17219 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
17220 shortcut when given small args.
17221 * libc/machine/sh/setjmp.s: Rewritten.
17222 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
17223 of cmp/str instruction.
17224
17225Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17226
17227 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
17228 and machine_dir powerpc.
17229 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
17230 Add cases for __powerpc__.
17231 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
17232 New files.
17233
17234 * libc/include/stdio.h (_iprintf_r): Declare correctly.
17235
17236Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
17237
17238 * libc/stdlib/callocr.c: New file with _calloc_r in it.
17239 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
17240
17241Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
17242
17243 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
17244 (print_e): More comments to describe args, etc.
17245 "type" arg may now be 'g' or 'G' for %g/G format --> remove
17246 trailing blanks.
17247 (_gcvt): Remove locals decpt, sign, end, p, done.
17248 More comments for print_e invocation.
17249 Pass "type" to print_e as is (g/G).
17250
17251Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
17252
17253 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
17c0c97d 17254 stock m68000.
8a0efa53
CF
17255
17256Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
17257
17258 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
17259 works with any sized pointer, including ones bigger than ints and
17260 longs.
17261
17262Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
17263
17264 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
17265
17266Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17267
17268 * libc/include/stdlib.h (_calloc_r): Add prototype.
17269 * libc/machine/h8500/negsi2.c: New file.
17270 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
17271 large unsigned numbers.
17272 * libc/machine/h8500/cmpsi.c: Add cmppsi.
17273 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
17274 works when sizeof(size_t) != sizeof(char *).
17275 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
17276 get play area
17277 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
17278
17279Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
17280
17281 * libc/include/assert.h (assert): Handle -traditional.
17282
17283Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
17284
17285 * Makefile.in: added ; after every "fi" and "done" that wasn't at
17286 the end of a line (ie. anything before a backslash continuation)
17287 so that bash handles them.
17288
17289Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
17290
17291 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
ba3ccd63 17292 stat to lstat
8a0efa53
CF
17293
17294Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
17295
17296 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
17297 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
17298 libc/machine/sh/udivsi3.s: Use new calling convention.
17299
17300Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
17301
17302 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
17303 chmod, access, chdir, chown by making _path const. Also fix _amode
17304 param of access.
17305
17306Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
17307
17308 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
17309 _khif_tmpnam, because it doesn't comply with ANSI but may be
17310 useful anyway. Real tmpnam was already in libc/stdio, and was
17c0c97d 17311 colliding with this one (pr 2176.)
8a0efa53
CF
17312 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
17313 the wrong idea anyhow.
17314
17315Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
17316
17317 * configure.in: Remove h8300h, we have multilib now.
17318
17319Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
17320
17321 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
17322 functions, to get preference over the ones in libiberty (since we
17323 provide correct declarations in <string.h>.
17324 * libc/string/Makefile.in: add support for strncasecmp,
17325 strcasecmp.
17326
17327Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
17328
17329 * Change netware config not to look for cpu explicitly.
17330
17331Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
17332
17333 * libc/sys/sparc64/{creat.c,junk.c}: New files.
17334 * libc/sys/sparc64/Makefile.in: Add dependencies.
17335
17336Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
17337
17338 * configure.in: Clean up v9 a bit, new "os" aoutv8.
17339
17340Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
17341
17342 * libc/include/sys/reent.h: make structure smaller by allocating
17343 some stuff when needed.
17344 * libc/signal/signal.c: allocate as needed
17345 * libc/stdio/findfp.c,stdio/local.h: ditto
17346 * libc/stdlib/mprec.c: ditto
17347
17348 * libc/time/localtime.c: don't return a dangling stack ptr.
17349
17350Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
17351
17352 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
17353
17354Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17355
17356 * libc/include/stdio.h (__sputc): comment out static inline which
17357 confuses coff toolchains.
17358
17359Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
17360
17361 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
17362 _write.s, getpid.c, kill.c, read.s}:
17363 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
17364 through the syscalls directory.
17365
17366Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
17367
17368 * configure.in: fixed double quote gotcha.
17369
17370Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
17371
17372 * stub/ex931: stub library for sparclite board.
17373 * stub/idp: Renamed from mc68ec. Added contructor table
17374 stuff to linker script.
17375 * stub/mvme135: Renamed from m68kmvme. Added contructor table
17376 stuff to linker script.
17377
17378Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17379
17380 * configure.in: Configure testsuites only if they exist.
17381
17382Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17383
17384 * configure.in: Don't set machine_dir for i386 until there is
17385 something in libc/machine/i386 to compile. For i[34]86-*-netware*
17386 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
17387 CLOCK_PROVIDED and MALLOC_PROVIDED.
17388
17389 * libc/sys/netware: New directory. Contains simplistic and
17390 probably incorrect stubs for NetWare. Should be enough to load
17391 the library.
17392 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
17393 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
17394 stub files.
17395
17396 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
17397 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
17398 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
17399 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
17400
17401Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
17402
17403 * testsuite/Makefile.in: add "docs" dummy target for consistency
17404 with rest of newlib; turn "info" and "install-info" into dummy
17405 targets, since they wouldn't have worked. (Depended on
17406 nonexistent "doc" subdir.)
17407
17408Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
17409
17410 * configure.in: handle mips* instead of mips
17411
17412Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
17413
17414 * libc/include/sys/dirent.h: New file. If it is not overridden by
17415 a version of libc/sys/*/sys/dirent.h, it includes the next
17416 <dirent.h> file in case there is one lurking somewhere.
17417
17418Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17419
17420 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
17421 compliance, namely: Accept a minus sign. Consider a single 0 with
17422 a radix of 0 as being a conversion. Determine overflow correctly.
17423 If an overflow occurs, set *ptr to the end of the number, not the
17424 middle.
17425 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
17426
17427Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
17428
17429 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
17430
17431Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
17432
17433 * Makefile.in (INSTALL): Use $srcrootpre.
17434 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
17435 can't handle it.
17436 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
17437 it.
17438 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
17439 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
17440 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
17441 * libm/math/Makefile.in (matherr.o): Ditto.
17442
17443Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
17444
17445 * configure.in: Build multidirs for z8k.
17446 * libc/include/stdlib.h (_strtoul_r): add prototype.
17447 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
17448 * libc/include/machine/setjmp.h: Add for z8k.
17449 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
17450 * libc/sys/z8ksim/glue.c: tidy up.
17451
17452Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
17453
17454 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
17455 New files. Requires execve system call.
17456 * libc/unix/Makefile.in: Use them.
17457 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
17458 Deleted, moved to libc/unix.
17459 * libc/sys/sparc64/Makefile.in: Remove them.
17460
17461Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
17462
17463 * libc/sys/sparc64/{template.S template_r.S}: New files.
17464 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
17465 from templates.
17466 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
17467 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
17468 umask.S unlink.S wait4.S write.S}: Removed, now built from
17469 templates.
17470
17471Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
17472
17473 * libc/time/time.c: #include <_ansi.h>.
17474
17475Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
17476
17477 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
17478
17479Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17480
17481 * configure.in: match m8* rather than m88k so that m88110 is
17482 recognized as well.
17483
17484Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
17485
17486 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
17487 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
17488 misc.c: New file.
17489
17490 * configure.in: Add multilib support to h8300.
17491
17492Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
17493
17494 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
17495 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
17496 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
17497
17498Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17499
17500 * configure.in: Corrected multidirs for sparc target.
17501
17502Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17503
17504 Support for building newlib multiple times with different
17505 compilation flags.
17506 * configure.in: Only configure doc at top level. Set multidirs
17507 when appropriate for target, unless not at top level. If
17508 multidirs is set, independently configure each subdirectory.
17509 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
17510 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
17511 automagically set by configure.in.
17512 (all): If MULTIDIRS is set, build multiple copies of libraries.
17513 (install): If MULTIDIRS is set, install multiple copies of
17514 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
17515 MULTISUBDIR is set, don't bother to install header files.
17516 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
17517 ${srcrootpre}.
17518 * stub/configure.in: Set MULTISUBDIR appropriately.
17519 * stub/Makefile.in (install): Install in
17520 $(tooldir)/lib/$(MULTISUBDIR).
17521 * All Makefile.in files: Define SRCTOP as well as TOP.
17522
17523Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
17524
17525 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
17526 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
17527
17528Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
17529
17530 * libc/sys/h8300hms/exit.c (_exit): New function.
17531
17532Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17533
17534 * configure.in: recognize m88110.
17535
17536Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17537
17538 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
17539 prototype main and call with args.
17540
17541Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
17542
17543 First real try at system traps for m88k-bug.
17544 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
17545 to real trap calls.
17546 * libc/sys/m88kbug/sys/systraps.h: new file.
17547
17548Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17549
17550 Patches to fix info building when target does not use sys
17551 directory.
17552 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
17553 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
17554 libc/sys.tex.
17555 * libc/sys/Makefile.in (doc): do nothing.
17556
17557Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17558
17559 * libc/Makefile.in (CRT0): new macro.
17560 (all): depend on $(CRT0) rather than crt0.o.
17561
17562 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
17563 do not default crt0, instead, set crt0 and crt0_dir based on
17564 sys_dir and stub_dir.
17565
17566 * Makefile.in (CRT0_DIR): new macro.
17567 (all): depend on $(CRT0) rather than crt0.o which may not exist.
17568 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
17569 $(CRT0).
17570 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
17571
17572Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17573
17c0c97d
EB
17574 * testsuite/lib/libm.exp:
17575 added code to support compiling and linking of tests for
17576 libm.sac (paranoia to be added next) and processing the
8a0efa53
CF
17577 pass or failure of the tests.
17578
17579 * testsuite/config/unix-libm.exp:
17580 platform specific proc's for dealing with compiler, linker
17581 and the way we execute and process the test results.
17582
17583 * testsuite/libm.sac/execute.exp:
17c0c97d 17584 generic framework for the sac tests. the config and lib
8a0efa53
CF
17585 expect code for specific platforms tie it all together.
17586
17587 * testsuite/libm.sac/test_is.c:
17588 changed the output of the test to be consistant with the
17589 other tests. parsing of pass nad fail messages is now fixed.
17590
17591Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
17592
17593 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
17594 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
17595 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
17596 #ifdef __cplusplus, surround by extern ""C { ... }.
17597 * libc/include/assert.h: Do *not* protect assert.h against
17598 multiple inclusion! Also, #undef it before #define, to allow
17599 redefinition.
17600 * libc/include/stdio.h (getlogin, cuserid): Removed. These
17601 should be only in unistd.h.
17602
17603 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
17604 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
17605 ... }.
17606
17607Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
17608
17609 * libc/machine/sparc/Makefile.in: Must create a library, even
17610 if empty.
17611
17612Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17613
17614 * configure.in: set machine_dir for m88k. edit crt0 definition
17615 into makefiles.
17616
17617 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
17618
17619 * libc/Makefile.in (all): also build crt0.o.
17620
17621 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
17622 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
17623 to remove CRT0.
17624
17625 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
17626 (all): reworked to build in place.
17627 (clean): remove lib.a
17628 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
17629
17630 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
17631 (_start): key off edata rather than _start_bss.
17632
17633Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
17634
17635 * libc/include/sys/unistd.h, libc/include/reent.h,
17636 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
17637
17638Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17639
17640 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
17641
17642 * Makefile.in (libc.a): break into two rules, one for libc.a and
17643 one for libc/libc.a. Force subdirs current before rebuilding
17644 library.
17645 (libm.a): break into two rules, one for libm.a and one for
17646 libm/libm.a. Force subdirs current before rebuilding library.
17647
17648 * libc/Makefile.in (SUBLIBS): fix typo.
17649
17650 * libc/sys/Makefile.in (all): force descent into subdirs, then
17651 rebuild library iff out of of date.
17652
17653Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17654
17655 Rework so that library is built and then finished rather than
17656 being built on each invocation of make.
17657
17658 * host/any (machine_dir, sys_dir, signal_dir): these are not
17659 shared and have been moved to their associated Makefile.in's.
17660 (AR_FLAGS): switch to qc which is faster.
17661 * configure.in: no longer assign machine_dir for m88k. set
17662 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
17663 stub_dir set, then add to configdirs. add comment about silly
17664 configuration.
17665 (configdirs): drop stub. It will be added only
17666 when needed.
17667 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
17668 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
17669 stub_lib, crt0): new variables for tailoring lower level
17670 makefiles. Assign accordingly and edit into makefiles.
17671 * libm/Makefile.in: updated copyright.
17672 (TARGETLIB): removed.
17673 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
17674 (SUBDIRS): removed TARGETDEP_DIRS.
17675 (LIBM_FP_LIB, SUBLIBS): new macros.
17676 (all): reworked.
17677 (force): new target to force rebuilds.
17678 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17679 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
17680 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
17681 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
17682 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
17683 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
17684 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
17685 stub/m68kmvme/Makefile.in: updated copyright.
17686 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
17687 (all): reworked. made this the default rule.
17688 (clean): also remove lib.a.
17689 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17690 * stub/Makefile.in: updated copyright.
17691 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
17692 (stub_lib): new macro.
17693 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
17694 RANLIB.
17695 (all): reworked.
17696 (clean, install): assume stub_dir exists.
17697 (Makefile): depend on configure.in. call $(SHELL) rather than
17698 sh. drop redundant ./
17699 * stub/configure.in (stublib): new macro, assign it, edit it into
17700 makefiles.
17701 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
17702 updated copyright.
17703 (all): reworked.
17704 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17705 * libc/Makefile.in (TARGETCRT0): removed.
17706 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
17707 TARGETCRT0.
17708 (SUBDIRS): drop TARGETDEP_DIRS.
17709 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
17710 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
17711 (force): new target to force rebuilds.
17712 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
17713 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
17714 removed.
17715 (clean): assume sys_dir always exists.
17716 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
17717 drop redundant ./
17718 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
17719 libc/locale/Makefile.in, libc/machine/Makefile.in,
17720 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
17721 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
17722 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
17723 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
17724 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
17725 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
17726 libc/signal/Makefile.in, libc/stdio/Makefile.in,
17727 libc/stdlib/Makefile.in, libc/string/Makefile.in,
17728 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
17729 libc/time/Makefile.in, libc/unix/Makefile.in,
17730 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
17731 (TARGETLIB): removed.
17732 (all): reworked.
17733 (clean): also remove lib.a.
17734 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17735 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
17736 new macros.
17737 (SUBDIRS): moved to follow frag inclusion, change stub to
17738 stub_dir.
17739 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
17740 are now set in the libc Makefile.
17741 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
17742 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
17743 TARGETCRT0.
17744 (force): new target to force rebuilds.
17745 * stub/configure.in: determine and set stub_lib for for Makefile.
17746
17747Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
17748
17749 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
17750 crt0.s renamed to crt0.S.
17751 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
17752
17753 * libc/machine/h8300/Makefile.in: Make `all' the default target.
17754 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
17755 h8300h.
17756 * libc/machine/h8300/defines.h: Add macros to handle pointers for
17757 h8300 (16 bits) and h8300h (32 bits).
17758 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
17759 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
17760
17761Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
17762
17763 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
17764 implementation of setjmp and longjmp for the m88k.
17765 * libc/include/machine/setjmp.h: Added __m88000__ case.
17766
17767Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
17768
17769 * configure.in: Recognize h8300h as variant of h8300.
17770
17771Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
17772
17773 * libc/include/sys/unistd.h (read, write): get prototypes right.
17774 (sbrk): New prototype.
17775 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
17776 * libc/stdio/local.h: Include unistd.h.
17777 * libc/machine/h8300/syscalls.c: Names have changed.
17778
17779Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
17780
17781 * configure.in: add sys_dir assignment for m88k-bug.
17782
17783Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
17784
17785 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
17786 a.out or elf.
17787 * libc/sys/sparc64: all *.S files: Use new macros.
17788 * libc/sys/sparc64/isatty.c: New file.
17789 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
17790 functions beyond what newlib provides.
17791
17792Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
17793
17794 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
17795 svr4.
17796
17797Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
17798
17799 * libc/include/machine/ieeefp.h: Add support for h8/300h.
17800
17801Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
17802
17803 * configure.in: add m88k.
17804 * libc/include/machine/ieeefp.h: add case for m88k. Also add
17805 sanity check so no one else need ever chase what I did to find
17806 this.
17807
17808 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
17809
17810Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
17811
17812 * doc/makedoc.c: Include <ctype.h>.
17813
17814Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
17815
17816 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
17817 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
17818 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
17819
17820 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
17821
17822Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
17823
17824 * libc/include/errno.h (ENOSYS): Added.
17825
17826 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
17827
17828Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
17829
17830 * libc/stdio/fflush.c (fflush): Check for reent struct
17831 initialization.
17832 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
17833
17834Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
17835
17836 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
17837 out of dtoa.c so it doesn't pollute the namespace.
17838 * libc/include/_syslist.h: new file -- mappings from _function to
17839 function, for systems where we can't win (by default, all of them,
17840 until we start updating system calls.)
17841 * libc/syscalls: new directory -- stubs for exporting _function
17842 names as unmodified function names.
17843 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
17844 _syslist.h on all platforms by default, but put hooks in for
17845 fake_sys_dir so we can include it when we've renamed the system
17846 calls.
17847 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
17848 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
17849 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
17850 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
17851 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
17852 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
17853 non ANSI functions to call _function.
17854
17855Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
17856
17857 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
17858 when base 16 is specified. Don't accept non-digits if radix > 10.
17859
17860Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
17861
17862 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
17863
17864Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
17865
17866 * libc/include/sys/stat.h: Surround text after #endif with
17867 comments.
17868
17869Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
17870
17871 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
17872 _malloc_r, _realloc_r, and free_r call the corresponding
17873 non-reentrant functions.
17874
17875 * libm/math/modf.c (modf): We now take the address of ipart, so
17876 don't make it a register variable.
17877
17878Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
17879
17880 * libm/math/*: Rename all xxx_r fns to _xxx_r.
17881
17882Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
17883
17884 * libc/libc.texinfo and embedded docn throughout: formatting
17885 improvements, minor rephrasing for clarity, and improved
17886 reentrancy docn.
17887
17888Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17889
17890 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
17891
17892 * libc/stdio/cvt.c (_licvt): Print the right value on machines
17893 where sizeof(int) != sizeof(long).
17894
17895Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
17896
17897 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
17898 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
17899 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
17900 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
17901 libm/math/matherr.c: changes for better docn formatting (info).
17902
17903 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
17904 libc/reent/reent.tex, libc/signal/signal.tex,
17905 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
17906 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
17907 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
17908 makeinfo node defaulting to get better Info file node structure.
17909 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
17910 Also include a few formerly missing sections (subroutines).
17911
17912 * doc/doc.str: delete fossil expansion for "func"
17913
17914 * default.menu, no-signal.menu: delete.
17915
17916 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
17c0c97d 17917 method used to adjust doc for missing "signals" chapter when
8a0efa53
CF
17918 signal_dir is empty.
17919
17920Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17921
17922 * configure.in: added testsuite/libm.sac
17923
17924Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
17925
17926 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
17927 code model).
17928
17929Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
17930
17931 * libm/Makefile.in: Use $(MAKE) rather than make, and define
17932 MAKEOVERRIDES to be empty.
17933
17934Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
17935
17936 * configure.in: Don't build mips-*-* with -msoft-float, since that
17937 makes it incompatible with hard floating point.
17938
17939Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17940
17941 * Makefile.in: added recursive 'make check'
17942
17943Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17944
17945 * configure.in: added ./testsuite ./testsuite/libm.paranoia
17946 * ./testsuite/Makefile.in: created
17947 * ./testsuite/libm.paranoia: paranoia tests added
17948
17949Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
17950
17951 * configure.in: For mips-*-* set machine_dir to mips.
17952
17953 * libc/machine/mips: New directory.
17954 * libc/machine/mips/Makefile.in: New file.
17955 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
17956 setjmp and longjmp.
17957 * libc/include/machine/setjmp.h: Added __mips__ case.
17958
17959 * libc/machine/lmips: Removed unused and useless directory.
17960
17961Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
17962
17963 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
17964
17965Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
17966
17967 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
17968 start up).
17969
17970Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
17971
17972 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
17973 SETJMP_H.
17974
17975Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
17976
17977 * libm/test/convert.c: structure member errno -> errno_val.
17978 Must include <errno.h> to use errno, it's a macro now.
17979 * libm/test/math.c: Ditto.
17980 * libm/test/math2.c: Include errno.h.
17981 * libm/test/string.c: Ditto.
17982 * libm/test/test.h: structure member errno -> errno_val.
17983 Remove extern int errno decl.
17984
17985Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
17986
17987 * libc/stdio/Makefile.in: Added dependencies on local header
17988 files.
17989 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
17990 files.
17991
17992Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
17993
17994 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
17995
17996Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
17997
17998 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
17999 Initialize _data.
18000
18001 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
18002 * libc/stdio/local.h: Add prototype for _licvt.
18003
18004 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
18005 instead of malloc,reealloc.
18006
18007 * libc/stdlib/local.h: New file.
18008 * libc/stdlib/efgcvt.c: #include local.h.
18009 (gcvt): Fix call to _gcvt.
18010 * libc/stdlib/ecvtbuf.c: #include local.h.
18011
18012 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
18013 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
18014 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
18015
18016 * libc/stdlib/atexit.c: moved global data to struct _reent.
18017 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
18018
18019 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
18020
18021Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
18022
18023 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
18024 here from ../reent.h.
18025
18026Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
18027
18028 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
18029 should be provided in both libc.a and libm.a.
18030 (libc.a): Depend on targ-include and libm.a. Copy
18031 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
18032 (libm.a): Depend on targ-include.
18033 * configure.in (subdirs): Removed libc/math.
18034
18035Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
18036
18037 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
18038
18039Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
18040
18041 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
18042 sys/reent.h instead of reent.h.
18043 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
17c0c97d 18044 headers moved to sys/reent.h.
8a0efa53
CF
18045 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
18046 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
18047 __need__MAX_SIGNALS defined.
18048 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
18049 std{in,out,err} refer to new _std{in,out,err} members.
18050
18051Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
18052
18053 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
18054 case.
18055
18056Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
18057
18058 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
18059 rather than whatever macro seterrno() has.
18060
18061Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
18062
18063 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
18064 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
18065
18066 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
18067 __STDC__.
18068
18069 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
18070 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
18071 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
18072
18073 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
18074 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
18075
18076 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
18077 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
18078 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
18079 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
18080 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
18081 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
18082 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
18083 renamed to _xxx_r. struct reent_struct renamed to struct _reent
18084 for ANSI. structure members given leading "_" for ANSI. Use
18085 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
18086
18087 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
18088 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
18089 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
18090 reent_struct renamed to struct _reent for ANSI.
18091 Structure members given leading "_" for ANSI.
18092 _CONST --> const in prototypes.
18093 Use _HAVE_STDC instead of __STDC__.
18094
18095 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
18096 _xxx_r.
18097 struct reent_struct renamed to struct _reent for ANSI.
18098 Structure members given leading "_" for ANSI.
18099
18100 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
18101 _xxx_r.
18102 struct reent_struct renamed to struct _reent for ANSI.
18103
18104 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
18105 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
18106 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
18107 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
18108 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
18109
18110 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
18111 signal.h, stdio.h, stdlib.h, string.h, time.h}:
18112 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
18113 #ifndef _STRICT_ANSI non-ANSI routines.
18114 Reentrant routines renamed from _r_xxx to _xxx_r.
18115 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
18116 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
18117 Clean up namespace (structure members have leading "_").
18118 struct reent_struct renamed to struct _reent for ANSI compliance.
18119 _CONST --> const in function prototypes.
18120
18121 * libc/include/string.h: Add NULL and size_t.
18122
18123 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
18124 unlink, wait, wait4. Reentrant syscall routines close, fork,
18125 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
18126 write.
18127 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
18128 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
18129 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
18130 write.S}: Define reentrant versions.
18131 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
18132 reentrant syscalls.
18133
18134 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
18135
18136 * libc/include/stdlib.h (RAND_MAX): Fix value.
18137
18138Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
18139
18140 * libc/sys/a29khif/_main.c: Removed unnecessary file.
18141 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
18142 VPATH support targets after all: target.
18143
18144 * stub/mvme135/mvme.S: Renamed exceptionhandler to
18145 exceptionHandler, which is what mvme135-stub.c expects.
18146
18147Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
18148
18149 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
18150
18151 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
18152 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
18153 compliant).
18154
18155Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
18156
18157 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
18158 first.
18159 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
18160 _r_write): Ditto.
18161 libc/reent/fstatr.c (_r_fstat): Ditto.
18162 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
18163 libc/reent/sbrkr.c (_r_sbrk): Ditto.
18164 libc/reent/statr.c (_r_stat): Ditto.
18165
18166 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
18167 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
18168 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
18169 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
18170 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
18171 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
18172 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
18173 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
18174 (__swrite): Ditto for _r_lseek, _r_write.
18175 (__sseek): Ditto for _r_lseek.
18176 (__close): Ditto for _r_close.
18177 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
18178
18179 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
18180 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
18181
18182 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
18183 to make reent_struct the first argument (and thus consistent with
18184 the rest of newlib).
18185
18186 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
18187 reference to __STDC__.
18188
18189Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
18190
18191 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
ba3ccd63 18192 global __cleanup.
8a0efa53
CF
18193
18194Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
18195
18196 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
18197 first.
18198 libc/stdio/fclose.c (fclose): Ditto.
18199
18200Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
18201
18202 * Run through indent and rename reentrant routines for ANSI.
18203 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
18204 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
18205 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
18206 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
18207 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
18208 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
18209 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
18210 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
18211 vsprintf.c wbuf.c wsetup.c local.h}
18212
18213 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
18214
18215 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
18216 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
18217 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
18218 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
18219 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
18220 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
18221
18222 * Run through indent.
18223 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
18224 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
18225 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
18226 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
18227 strxfrm.c}
18228
18229 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
18230 localtime.c mktime.c strftime.c time.c}:
18231 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
18232
18233 * Reformatting + renaming (for ANSI, GNU style, consistency).
18234 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
18235 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
18236 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
18237
18238Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
18239
18240 * libc/include/stdio.h (stdin_r): Fix.
18241
18242Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
18243
18244 * Makefile.in: Unexport some variables to keep GNU make from
18245 putting them in the environment and using up needed ARG_MAX space
18246 (a hack is used to let this work with older makes as well).
18247
18248Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
18249
18250 * Makefile.in: Use $(MAKE) rather than make.
18251 (MAKEOVERRIDES): Define to be empty.
18252 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
18253 (libc.a, libm.a): Depend on targ-include.
18254 * host/any (LD): Don't define.
17c0c97d 18255 (INCLUDES): Use targ-include.
8a0efa53
CF
18256 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
18257 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
18258 * libc/Makefile.in: Use $(MAKE) rather than make.
18259 (MAKEOVERRIDES): Define to be empty.
18260 (FLAGS_TO_PASS): Don't pass LD (it's not used).
18261 (all): Rewrote to be slightly smaller.
18262 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
18263 Define to be empty.
18264 (FLAGS_TO_PASS): Don't pass LD (it's not used).
18265 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
18266
18267Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
18268
18269 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
18270 with errno/errno.c.
18271
18272Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
18273
18274 * Changes for reentrancy.
18275 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
18276 Use ptr->_errno, not errno.
18277 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
18278 libc/stdio/remove.c (remove_r): New function.
18279 libc/stdio/rename.c (rename_r): New function.
18280 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
18281 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
18282 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
18283 reentrant versions of system calls.
18284 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
18285 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
18286 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
18287 libc/stdio/findfp.c: Include <string.h>.
18288 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
18289 "local.h".
18290 libc/stdio/wbuf.c: Include "fvwrite.h"
18291
18292 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
18293 <string.h>.
18294 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
18295 (NULL): Don't define if already defined.
18296 libc/stdlib/system.c: Call reentrant versions of system calls.
18297 (system_r): New function.
18298
18299 * Changes for reentrancy.
18300 libc/include/_ansi.h (_PARAMS): New macro.
18301 libc/include/errno.h: Define errno as a macro that calls __errno.
18302 (__errno_r): New macro for reentrant code.
18303 libc/include/math.h: Include reent.h. Declare many reentrant
18304 functions.
18305 (signgam): Now a macro, not a variable.
18306 (struct exception): Added err field.
18307 libc/include/reent.h: Don't declare __sglue. Added function
18308 declarations.
18309 (struct reent_struct): Moved errno to beginning. Added _signgam.
18310 libc/include/stdio.h, libc/include/stdlib.h: Added function
18311 declarations.
18312
18313 * More reentrancy hacking.
18314 libc/errno/errno.c (__errno): New function.
18315 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
18316 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
18317 files.
17c0c97d 18318
8a0efa53
CF
18319 * Added many new reentrant functions to libm/math/*.
18320 libm/math/error.c (__matherror): Added reent_struct pointer
18321 argument. Changed all callers.
18322 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
18323 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
18324 libm/math/tan.h: Removed obsolete unused header files.
18325
18326 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
18327
18328 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
18329
18330Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
18331
18332 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
18333 delay slots.
18334
18335Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
18336
ba3ccd63 18337 * libc/libc.texinfo: comment out reentrancy chapter (duh)
8a0efa53
CF
18338
18339Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
18340
ba3ccd63 18341 * libc/reent/reent.tex: New file. (text from
8a0efa53
CF
18342 newlib/libc/libc.texinfo)
18343 * libc/stdio/tmpnam.c: fixed doc typo
18344 * libc/stdlib/rand.c: fixed doc typo
18345
18346Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
18347
ba3ccd63 18348 * libc/reent/reent.tex: New file. (text from
8a0efa53
CF
18349 newlib/libc/libc.texinfo)
18350
18351Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
18352
18353 support for reentrancy
18354 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
18355 new files
18356 * libc/errno/errno.c, libc/include/ieeefp.h,
18357 libc/include/locale.h, libc/include/reent.h,
18358 libc/include/signal.h, libc/include/stdio.h,
18359 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
18360 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
18361 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
18362 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
18363 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
18364 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
18365 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
18366 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
18367 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
18368 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
18369 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
18370 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
18371 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
18372 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
18373 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
18374 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
18375 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
18376 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
18377 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
18378 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
18379 libc/time/strftime.c: modify to provide reentracy.
18380
18381 new routines:
18382 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
18383 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
18384 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
18385 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
18386 mstats_r, realloc_r, localeconv_r, setlocale_r
18387
18388Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
18389
18390 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
18391 libc/include/sys/config.h, libc/include/sys/signal.h,
18392 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
18393 provided macros (such as m68000), use the ansi version
18394 (__m68000__) so that the library can be used with code compiled
18395 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
18396 and sparc.
18397
18398Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
18399
18400 * configure.in (sparc*): Don't set -fsoft-float for sparc
18401 configurations. Do set -fsoft-float for sparclite configurations.
18402
18403Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
18404
18405 * default.menu, no-signal.menu: alternate forms of libc main menu
ba3ccd63 18406 (in newlib rather than newlib/libc due to configuration restrictions)
8a0efa53
CF
18407
18408 * configure.in: select one of the two menus above, link to
18409 libc.menu
18410
ba3ccd63 18411 * libc/libc.texinfo: include menu from separate file
8a0efa53
CF
18412
18413Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
18414
18415 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
18416 (info): Split long shell command in half.
17c0c97d
EB
18417 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
18418 sub-makes, just CHEW and TARGETDOC.
8a0efa53
CF
18419 (targetdep.tex): Removed now special handling of sys and machine
18420 subdirectories, made obsolete some time ago.
18421 * libc/machine/Makefile.in (doc): Don't pass everything to
18422 sub-make, just CHEW and TARGETDOC.
18423 (Makefile): New target.
18424 * libc/sys/Makefile.in (Makefile): New target.
18425
18426Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
18427
18428 * Makefile.in (here and most subdirectories): Only pass down CHEW
18429 and TARGETDOC when making info, not for other targets.
18430
18431 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
18432 $(AR_FLAGS) rather than $(ARUPDATE).
18433
18434Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
18435
18436 * Try to reduce command line length:
18437 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
18438 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
18439 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
18440 (info): Pass CHEW to other subdirs.
18441
18442Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
18443
18444 * configure.in: add signal_dir, like unix_dir, but by default it
18445 is set to "signal" so that a29khif can turn it off (since a29khif
18446 has raise() as part of machine-specific signal.s.)
18447
18448Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
18449
18450 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
18451 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
18452 correctly.
18453 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
18454 libc/stdio/vfprintf: type lint.
18455 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
18456 initialzation code.
18457 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
18458
18459Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
18460
18461 * stub/mvme135/mvme135-asm.S: new file.
18462 stub/mvme135mvme135-stub.c: moved all assembler routines into
18463 mvme135-asm.S.
18464 stub/mvme135/Makefile.in: build mvme135-stub.o.
18465
18466Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
18467
18468 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
18469 sub-Makefiles instead, to try to avoid line length limitations.
18470
18471Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
18472
18473 * libc/include/unistd.h (read, write): Use void* instead of
18474 char*.
18475
18476Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
18477
18478 * stub/go32/resetpc: sample script to send a reset packet to the
18479 stub
18480
18481 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
18482 DOS environment, which compiles with Turbo C.
18483
18484 * stub/go32/DSER32.LNK: new file, linker commands for serial
ba3ccd63 18485 remote stub.
8a0efa53
CF
18486
18487 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
18488 start up message to identify version; call set_debug_traps.
18489
18490 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
18491 keyboard interaction); call handle_exception() in go_til_stop,
18492 rather than return, so that the remote stub gets control.
18493
18494 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
18495 rename, rather than mv), set flags that work with current Turbo C,
18496 including using the /3 flag; also, add commands to build dser32.
18497
18498 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
18499 default Turbo C installation (\tc rather than \usr)
18500
18501 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
ba3ccd63 18502 "&..."
8a0efa53
CF
18503
18504Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18505
18506 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
18507
18508Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18509
18510 * libc/stdio/cvt.c (licvt): new function to convert ints when
18511 sizeof(int) != sizeof(long).
18512
18513 * libc/include/stdio.h: added prototype for iprintf.
18514 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
18515
18516Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
18517
18518 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
18519 __REGISTER_PREFIX__.
18520
18521Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
18522
18523 * libc/sys/m68kbare: moved into stub directory.
18524
18525Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
18526
18527 * configure.in, Makefile.in: created new directory stub, to hold
18528 sample code for specific targets.
18529
18530Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
18531
18532 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
18533 in the unified libc/include/sys/fcntl.h.
18534
18535Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
18536
18537 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
18538 printed .01, not 0.01.
18539
18540Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
18541
18542 * configure.in: compile with -m68000 for m68* targets.
18543
18544Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
18545
18546 * libm/math/remainder.c (remainder): document the svr4 and sunos
18547 references used to construct the function.
18548
18549Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
18550
18551 * libm/math/remainder.c (rint, remainder): fix old typos.
18552 * libm/math/Makefile.in: actually build remainder.c (functions
18553 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
18554 page.)
18555
18556Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
18557
18558 * libc/string/bcopy.c: BSD version works on overlapping strings,
18559 so ours should too.
18560
18561 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
18562 ("SHELL").
18563
18564Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
18565
18566 * Makefile.in (docs): new target.
18567
18568Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
18569
18570 * libc/include/sys/times.h: define clock_t as required by POSIX.
18571 libc/include/time.h: protect clock_t from multiple definitions.
18572
18573Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18574
18575 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
18576 does not need more than the original three iterations to get
18577 within 1 ulp. (Paranoia tests for rounding to better than that,
18578 but further iterations *don't* help, only more subtle changes
18579 can.)
18580
18581Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
18582
18583 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
18584 were doing nothing useful.
18585
18586Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
18587
18588 * configure.in: define MALLOC_PROVIDED for vxworks targets;
18589 removed sys_dir settings of vxworks68 and vxworks960.
18590 host/any: don't pass -nostdinc to gcc, since newlib no longer
18591 provides all required header files.
18592
18593 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
18594 is not defined; this provides a hook for VxWorks.
18595
18596Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18597
18598 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
18599 buffer if buf is NULL, don't do it here -- it is already being
18600 done by makebuf elsewhere in stdio.
18601
18602Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
18603
18604 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
18605 that C programs can call functions without using initial
18606 underscores.
18607
18608Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
18609
18610 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
18611
18612Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
18613
18614 * configure.in: set TARGET_CFLAGS for certain CPU types to
18615 -msoft-float.
18616
18617Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
18618
18619 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
18620
18621Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
18622
18623 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
18624 m68k*-unknown-coff.
18625
18626Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
18627
18628 * libc/include/stdio.h: define __need___va_list before including
18629 <stdarg.h>, to avoid defining va_arg, et. al.
18630
18631Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
18632
18633 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
18634 (don't cd to the user's home directory).
18635
18636 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
18637 In general this is the wrong thing to do, but I can't get around
18638 GNU make's insistence on passing command line arguments any other
18639 way.
18640
18641Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
18642
18643 * configure.in: always configure the libc/sys directory, since it
18644 now provides a required documentation file.
18645
18646 * Makefile.in: replaced all instances of $(MAKE) with make. In
18647 general this is the wrong thing to do, but I can't get around GNU
18648 make's insistence on passing command line arguments any other way.
18649
18650Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
18651
18652 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
18653 terminated.
18654
18655 * libc/stdio/local.h: include <stdarg.h> to define va_list.
18656 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
18657
18658 * libc/include/float.h, libc/include/stdarg.h,
18659 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
18660 versions instead.
18661 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
18662 <stdarg.h>, not from <machine/types.h>. Protect definition of
18663 NULL.
18664 libc/include/time.h: get size_t from stddef.h. Protect definition
18665 of NULL.
18666 libc/include/machine/limits.h: override gcc <limits.h> by defining
18667 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
18668 get correct INT_MIN and LONG_LONG values.
18669 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
18670 size_t or va_list at all; they're now gotten from stddef.h
18671 instead.
18672 libc/include/machine/varargs.h: removed; use gcc version instead.
18673 libc/include/sys/types.h: explicitly include <machine/types.h>.
18674
18675 * libm/math/sqrt.h: using the fp-bit routines appears to require
18676 more iterations.
18677
18678 * Makefile.in, host/any: let system include files override machine
18679 include files.
18680
18681Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18682
18683 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
18684 override _*_T_ definitions defaulted here.
18685
18686Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
18687
18688 * Makefile.in (install): install the include files in
18689 $(tooldir)/include, not $(exec_prefix)/include.
18690
18691Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
18692
18693 * Makefile.in (install): fixed typo, and changed install to not
18694 force rebuild of libc.a and libm.a.
18695
18696Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
18697
18698 * libc/sys/a29khif/*: Changed all .include's to include
18699 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
18700 that they will be installed for the user.
18701
18702 * Makefile.in (all): create targ-include, a directory holding the
18703 machine and system specific header files during the build.
18704 (install): fixed installation of machine and system specific
18705 header files.
18706
18707 * Makefile.in: fixed comment.
18708 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
18709 we can pass $(INCLUDES) to it.
18710
18711Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
18712
18713 * libc/include/sys/param.h: new generic file, which may be
18714 overridden for specific systems.
18715
18716 * libc/include/sys/signal.h: define all ANSI signal names, and
18717 NSIG (which is not ANSI) for a29k.
18718
18719Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
18720
18721 * Makefile.in: don't pass down arguments the lower level makes
18722 will not need.
18723 * libc/Makefile.in: recurse directly, rather than using subdir_do,
18724 in hopes of avoiding argument length limits.
18725 * libm/Makefile.in: recurse directly, rather using subdir_do, in
18726 hopes of avoiding argument length limits.
18727
18728Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
18729
18730 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
18731 mode_t is defined.
18732
18733Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
18734
18735 * Fixed make info and make install-info for newlib, changing most
18736 Makefile.in and several *.tex files. Moved doc directory from
18737 libc to top level.
18738
18739 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
18740 Should be rewritten.
18741
18742 * libc/string/strings.tex: renamed node index to node index
18743 function, so that it does not conflict with the top level index
18744 node.
18745
18746 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
18747
18748Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
18749
18750 * Overhauled general configuration for newlib. Eliminated all
18751 target dependent Makefile fragments. Create libraries in newlib
18752 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
18753 than CROSS_CC, et. al. Broke make docs; will fix later.
18754
18755 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
18756 Should be rewritten.
18757
18758Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
18759
18760 * libc/configure.in: cleaned up somewhat; switch on ${target}
18761 rather than ${target_alias}.
17c0c97d 18762 * libm/configure.in: cleaned up somewhat; switch on ${target}
8a0efa53
CF
18763 rather than ${target_alias}.
18764
18765 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
18766 * libc/include/ctype.h: marked _ctype_ as _CONST.
18767
18768 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
18769 _CONST.
18770
18771 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
18772 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
18773 libc/stdio/gets.c (gets): removed non-ANSI warning message.
18774 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
18775
18776 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
18777 bigtens, tinytens): marked arrays _CONST.
18778 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
18779 rather than a static variable.
18780
18781 * libc/time/asctime.c (asctime), libc/time/localtime.c
18782 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
18783 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
18784 mname_len, mname): Marked static arrays _CONST.
18785
18786 * libm/math/gamma.h: made local variables non-static.
18787
18788 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
18789 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
18790 _CONST.
18791
18792 * libm/math/constants.c: removed file, because the constants it
18793 defined were never referenced.
18794 libm/math/Makefile.in: removed references to constants.c.
18795 libm/math/mathimpl.h: removed declarations of constants.
18796
18797Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
18798
18799 * libc/include/machine/varargs.h: only call __builtin_saveregs if
18800 it is sensibly defined in libgcc2. Checks preprocessor defines,
18801 which is not a good solution.
18802
18803 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
18804
18805 * libm/frexp.c: handle denormalized numbers as arguments.
18806
18807 * libm/math/Makefile.in: added some dependencies for .c files
18808 which include local .h files.
18809
18810Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
18811
18812 * libc/configure.in: set target_alias for OSE*. Replace
18813 target_makefile_frag if it is blank.
18814
18815 * libc/Makefile.in: make sure everything is passed to subsidiary
18816 makes; create all directories when installing.
18817
18818 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
18819 CROSS_ARUPDATE instead of AR.
18820
18821 * libm/configure.in: set target_alias for OSE*. Replace
18822 target_makefile_frag if it is blank.
18823
18824 * libm/Makefile.in: make sure everything is passed to subsidiary
18825 makes; create all directories when installing.
18826
18827Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
18828
ba3ccd63 18829 * add following change from libc copy.
8a0efa53
CF
18830
18831Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18832
18833 * libc/libc.texinfo: make copyright disclaimers appear on back of
18834 title page; make format of same slightly less ugly; avoid using
18835 underbars in section headings (avoids nasty texinfo bug in table
18836 of contents).
18837
18838 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
18839 comments only) avoid using underbars in section headings
18840
18841 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
18842 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
18843 changes in comments only): shorten headings ieeefp/infinity.c,
18844 ieeefp/isnan.c: (doc, comments only) more informative headings
18845
18846 * libc/math/bessel.c: (doc, comments only) shorten heading
18847
18848 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
18849 (doc, comments only) shorten headings
18850
18851 * libc/time/localtime.c (doc, comments only): shorten headings
18852
18853 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
18854 isnan
18855 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
18856 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
18857 headings
18858 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
18859 only) more informative headings
18860 * libm/math/bessel.c: (doc, comments only) shorten heading
18861
18862Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18863
18864 * .../Makefile.in: use CROSS_ARUPDATE consistently.
18865 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
18866 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
18867 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
18868 defined, the one from the .mt file will be correct.
18869 * libc/include/machine, libc/include/sys: created, and populated
18870 with common files from machine/*/machine. ifdefs were used for
18871 most, typically by handling exceptions first and then filling in
18872 defaults. Files with D.J. Delorie copyright #included rather than
18873 copied. Most files in include/sys really were the same in the
18874 original.
18875 * libc/include/...: cleaned up use of _EXFUN.
18876 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
18877 it with double quotes, not angles.
18878
18879Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
18880
18881 * libc/Makefile.in: always create installation directories.
18882
18883Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
18884
18885 * libc/configure.in: handle host properly (using canonical
18886 triples), better error message for the case of target not found
18887
18888Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
18889
18890 * libc/Makefile.in (insincdir): Ensure this directory exists
18891 before attempting installation.
18892
18893Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18894
18895 * libc/stdlib/assert.c: now calls abort like it should
18896 * libc/sys/a29khif: many many patches for 29khif work
18897 * libc/machine/i386: gnulib2 expanded there.
18898
18899Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18900
ba3ccd63 18901 Added accurate fp conversion routines to stdlib, moved dcvt from
8a0efa53
CF
18902 stdio to stdlib and called it ecvtbuf:
18903 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
18904 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
18905 routines
18906 * libc/libc.texinfo: Modifed to include the copyright info from
18907 the mprec files
18908 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
18909 * libc/test/ : many vector which tested for the implementation
18910 defined returns of strange conversion requests have been updated
18911 to relflect the new implementation
18912
18913Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18914
18915 * libc/libc.texinfo: new chapter on variable arg lists
18916 (stdarg.h/varargs.h)
18917 * libc/libc.texinfo: new title
18918 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
18919 (doc only) shorter headings for better formatting.
18920
18921Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18922
18923 * libc/libc.texinfo: three more info menu entries
18924 * libc/locale/locale.tex: new chapter
18925 * libc/locale/locale.c: new doc for setlocale, localeconv
18926 * libc/locale/Makefile.in: use new locale doc
18927 * libc/signal/signal.tex: new chapter
18928 * libc/signal/raise.c, libc/signal/signal.c: new doc
18929 * libc/signal/Makefile.in: use new doc
18930 * libc/time/time.tex: new chapter
18931 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
18932 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
18933 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
18934 * libc/time/Makefile.in: use new doc
18935
18936Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18937
18938 * libm/math/log1p.c: split to use the new function way of float
18939 function definition. math/log1p.h deleted
18940 * libm/math/scalb.c: obsolete and deleted
18941 * libm/math/scalbn.c: created from part log1p.c
18942 * libm/math/Makefile.in: know about log1p and scalbn
18943
18944Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18945
18946 * libc/ctype/isupper.c: revise doc;
18947 libc/ctype/ctype.tex: use doc from isupper.c
18948
18949 * libc/string/bzero.c: new doc
18950
18951Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18952
18953 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
18954 new doc
18955 * libc/stdlib/Makefile.in: extract new doc
18956 * libc/stdlib/stdlib.tex: use new doc
18957
18958 * libc/string/strerror.c: expanded doc.
18959
18960 * libc/stdio/Makefile.in: extract doc from more files
18961 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
18962 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
18963 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
18964 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
18965 libc/stdio/vsprintf.c: new doc
18966 * libc/stdio/stdio.tex: use new doc
18967
18968Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18969
18970 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
18971 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
18972 finitef functions.
18973 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
18974 time ago.
18975
18976 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
18977 * libc/stdio/setbuf.c: added ansi style definition.
18978 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
18979 buffer if none provided.
18980 * libc/stdio/tmpfile.c: lint
18981 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
18982 rather than using static, also make sure file isn't already
18983 present. Uses P_tmpdir. (tempnam): rewritten to use new
18984 subroutine, and uses P_tmpdir.
18985 * libc/stdio/siprintf.c: created
18986
18987Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18988
18989 Release 1.03 for NEC, major mods. Main differences from release
18990 1.02::
18991
18992 More tests in test/:
18993 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
18994 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
18995 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
18996 get/set mask, get/set sticky and get/set roundtoi. Tests
18997 that setting the bits changes the way arithmetic is done.
18998 * string.c: added test to make sure memcmp does it with unsigned
18999 chars.
19000 * test.c: cleaned up and removed lint.
19001 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
19002 dvec.c: tests for string to value conversions, sprintf, scanf,
19003 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
19004 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
19005 rounding in sprintf too.
19006 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
19007 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
19008 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
19009 and function form.
19010 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
19011 powf
19012
19013 In the library:
19014 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
19015 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
19016 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
19017 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
19018 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
19019 than sprintf.
17c0c97d 19020 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
8a0efa53
CF
19021 * Method of producting float versions of double functions has
19022 changed, functions will be modified gradually. So far:
19023 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
19024 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
19025 altered
19026 * libc/string/memcmp.c: now uses unsigned chars
19027 * libc/string/bcmp.c, libc/string/strcpy.c,
19028 libc/stsring/strxfrm.c: fixed doc
19029 * libc/sys/sysvnecv70.tex: fix example of sbrk code
19030\f
19031Local Variables:
19032version-control: never
19033End:
This page took 2.424241 seconds and 5 git commands to generate.