1 2006-04-11 Jeff Johnston <jjohnstn@redhat.com>
3 * acinclude.m4: Properly add square brackets for
4 AC_DEFUN macros. Rewrite LIB_AC_PROG_CC to remove
5 macros no longer available. Add LIB_AM_PROG_AS to
6 remove prereq of AC_PROG_CC. Add LIB_AC_PROG_CC_GNU
7 macro. Substitute lpfx (library object prefix).
8 * configure.host: Set lpfx depending on whether
9 libtool is used or not.
10 * configure.in: Individually specify libc and libm
11 to AC_CONFIG_SUBDIRS. Add square bracket quoting as
13 * Makefile.am: Use $(lpfx) to get object names for
14 math-library functions that should also be in libc.
15 * libc/machine/configure.in: Use case statement to determine
16 AC_CONFIG_SUBDIRS statement.
17 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
18 * libc/sys/linux/machine/configure.in: Ditto.
19 * libc/sys/configure.in: Ditto.
20 * libm/machine/configure.in: Ditto.
21 * libc/sys/linux/configure.in: Fix up AC_CONFIG_SUBDIRS.
22 * libm/configure.in: Add AM_CONDITIONAL statement
23 for HAVE_LIBM_MACHINE_DIR.
24 * libc/machine/a29k/Makefile.am: Modified to work with
25 latest automake. Change includes setting AM_CCASFLAGS
26 so building .S files will properly pick up flags used
28 * libc/machine/arm/Makefile.am: Ditto.
29 * libc/machine/crx/Makefile.am: Ditto.
30 * libc/machine/d10v/Makefile.am: Ditto.
31 * libc/machine/d30v/Makefile.am: Ditto.
32 * libc/machine/fr30/Makefile.am: Ditto.
33 * libc/machine/frv/Makefile.am: Ditto.
34 * libc/machine/h8300/Makefile.am: Ditto.
35 * libc/machine/h8500/Makefile.am: Ditto.
36 * libc/machine/hppa/Makefile.am: Ditto.
37 * libc/machine/i386/Makefile.am: Ditto.
38 * libc/machine/iq2000/Makefile.am: Ditto.
39 * libc/machine/m32c/Makefile.am: Ditto.
40 * libc/machine/m32r/Makefile.am: Ditto.
41 * libc/machine/m68hc11/Makefile.am: Ditto.
42 * libc/machine/m68k/Makefile.am: Ditto.
43 * libc/machine/m88k/Makefile.am: Ditto.
44 * libc/machine/mips/Makefile.am: Ditto.
45 * libc/machine/mn10200/Makefile.am: Ditto.
46 * libc/machine/mn10300/Makefile.am: Ditto.
47 * libc/machine/mt/Makefile.am: Ditto.
48 * libc/machine/necv70/Makefile.am: Ditto.
49 * libc/machine/powerpc/Makefile.am: Ditto.
50 * libc/machine/sh/Makefile.am: Ditto.
51 * libc/machine/sparc/Makefile.am: Ditto.
52 * libc/machine/tic4x/Makefile.am: Ditto.
53 * libc/machine/tic80/Makefile.am: Ditto.
54 * libc/machine/v850/Makefile.am: Ditto.
55 * libc/machine/w65/Makefile.am: Ditto.
56 * libc/machine/xscale/Makefile.am: Ditto.
57 * libc/machine/xstormy16/Makefile.am: Ditto.
58 * libc/machine/z8k/Makefile.am: Ditto.
59 * libc/sys/a29khif/Makefile.am: Ditto.
60 * libc/sys/arc/Makefile.am: Ditto.
61 * libc/sys/arm/Makefile.am: Ditto.
62 * libc/sys/d10v/Makefile.am: Ditto.
63 * libc/sys/decstation/Makefile.am: Ditto.
64 * libc/sys/h8300hms/Makefile.am: Ditto.
65 * libc/sys/h8500hms/Makefile.am: Ditto.
66 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
67 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
68 * libc/sys/m88kbug/Makefile.am: Ditto.
69 * libc/sys/mmixware/Makefile.am: Ditto.
70 * libc/sys/netware/Makefile.am: Ditto.
71 * libc/sys/rdos/Makefile.am: Ditto.
72 * libc/sys/rtems/Makefile.am: Ditto.
73 * libc/sys/sh/Makefile.am: Ditto.
74 * libc/sys/sparc64/Makefile.am: Ditto.
75 * libc/sys/sysmec/Makefile.am: Ditto.
76 * libc/sys/sysnec810/Makefile.am: Ditto.
77 * libc/sys/sysnecv850/Makefile.am: Ditto.
78 * libc/sys/sysvi386/Makefile.am: Ditto.
79 * libc/sys/sysvnecv70/Makefile.am: Ditto.
80 * libc/sys/tic80/Makefile.am: Ditto.
81 * libc/sys/w65/Makefile.am: Ditto.
82 * libc/sys/z8ksim/Makefile.am: Ditto.
83 * libm/machine/i386/Makefile.am: Ditto.
84 * libc/sys/arm/Makefile.am: Ditto plus add EXTRA sources including
85 trap.S so that automake will generate a .S.o suffix rule.
86 * libc/argz/Makefile.am: Modified to work with
87 latest automake. Change includes adding lib_a_CFLAGS
88 so automake doesn't complain about libtool and non-libtool
89 libraries sharing objects.
90 * libc/ctype/Makefile.am: Ditto.
91 * libc/errno/Makefile.am: Ditto.
92 * libc/iconv/ccs/Makefile.am: Ditto.
93 * libc/iconv/ces/Makefile.am: Ditto.
94 * libc/iconv/lib/Makefile.am: Ditto.
95 * libc/locale/Makefile.am: Ditto.
96 * libc/misc/Makefile.am: Ditto.
97 * libc/posix/Makefile.am: Ditto.
98 * libc/reent/Makefile.am: Ditto.
99 * libc/search/Makefile.am: Ditto.
100 * libc/signal/Makefile.am: Ditto.
101 * libc/stdio/Makefile.am: Ditto.
102 * libc/stdio64/Makefile.am: Ditto.
103 * libc/stdlib/Makefile.am: Ditto.
104 * libc/string/Makefile.am: Ditto.
105 * libc/sys/linux/Makefile.am: Ditto.
106 * libc/sys/linux/argp/Makefile.am: Ditto.
107 * libc/sys/linux/cmath/Makefile.am: Ditto.
108 * libc/sys/linux/dl/Makefile.am: Ditto.
109 * libc/sys/linux/iconv/Makefile.am: Ditto.
110 * libc/sys/linux/intl/Makefile.am: Ditto.
111 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
112 * libc/sys/linux/net/Makefile.am: Ditto.
113 * libc/sys/linux/stdlib/Makefile.am: Ditto.
114 * libc/syscalls/Makefile.am: Ditto.
115 * libc/time/Makefile.am: Ditto.
116 * libc/unix/Makefile.am: Ditto.
117 * libm/Makefile.am: Ditto.
118 * libm/common/Makefile.am: Ditto.
119 * libm/math/Makefile.am: Ditto.
120 * libm/mathfp/Makefile.am: Ditto.
121 * Regenerate all aclocal.m4, Makefile.in, and configure files.
123 2006-04-07 Jeff Johnston <jjohnstn@redhat.com>
125 * libc/time/time.c (time): Do not check for HAVE_GETTIMEOFDAY
126 anymore. Assume there is a gettimeofday syscall.
128 2006-03-29 Shaun Jackman <sjackman@gmail.com>
130 * libc/sys/linux/include/netinet/ip.h: Include netinet/in_systm.h
131 for the declaration of n_long.
133 2006-03-29 Shaun Jackman <sjackman@gmail.com>
135 * libc/sys/linux/include/net/if.h: Include sys/socket.h for
137 (IFF_SMART): Replace this define with IFF_NOTRAILERS.
138 (IFF_CANTCHANGE): Replace IFF_SMART reference with IFF_NOTRAILERS.
139 (IFF_NOTRAILERS): New define.
140 (struct ifreq): Add ifru_netmask.
141 (ifr_netmask): New define.
143 2006-03-29 Shaun Jackman <sjackman@gmail.com>
145 * libc/sys/linux/sys/ioccom.h (ioctl): Change declaration to
148 2006-03-29 Shaun Jackman <sjackman@gmail.com>
150 * libtool.m4: Set lt_cv_deplibs_check_method=pass_all for
151 linux-newlib libc implementations.
153 2006-03-29 Eric Blake <ebb9@byu.net>
155 * libc/stdio/freopen.c (_freopen_r) [__SCLE]: Fix typo.
156 * libc/stdio64/freopen64.c (_freopen64_r) [__SCLE]: Likewise.
158 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
160 * libc/sys/linux/io.c (__mknod): Fix declaration of
161 syscall to pass a dev_t as third argument rather than
164 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
166 * libc/sys/linux/net/name6.c: Fix struct references.
168 2006-03-22 Mark Mitchell <mark@codesourcery.com>
170 * configure.host: Allow hosts to set the default
171 newlib_atexit_dynamic_alloc value.
172 * configure.in: Likewise.
173 * configure: Regenerated.
175 2006-03-20 Mark Mitchell <mark@codesourcery.com>
177 * acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef.
178 * configure.in (--disable-newlib-atexit-dynamic-alloc): New
180 * configure: Regenerated.
181 * newlib.hin: Regenerated.
182 * libc/stdlib/__atexit.c (__register_exitproc): Don't call malloc
183 if _ATEXIT_DYNAMIC_ALLOC is undefined.
184 * libc/stdlib/__call_atexit.c (__call_exitprocs): Don't call free
185 if _ATEXIT_DYNAMIC_ALLOC is undefined.
187 2006-03-17 Jeff Johnston <jjohnstn@redhat.com>
189 * libc/sys/linux/linuxthreads/config.h: Remove definition
192 2006-03-15 Jeff Johnston <jjohnstn@redhat.com>
194 * libc/stdio/wsetup.c (__swsetup): Don't make a buffer
195 for a string I/O file that isn't using the asprintf family.
197 2006-03-07 Eric Blake <ebb9@byu.net>
199 * libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL
200 filename, allow read-only or write-only FILE atop O_RDWR file
202 * libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.
204 2006-03-07 Jeff Johnston <jjohnstn@redhat.com>
206 * libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf.
207 * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.
209 2006-03-02 Jeff Johnston <jjohnstn@redhat.com>
211 * libm/math/math.tex: Fix reference to sisnan.def which
212 is now in common subdirectory.
213 * libm/mathfp/mathfp.tex: Ditto.
215 2006-02-27 Jeff Johnston <jjohnstn@redhat.com>
217 * Makefile.am (MATHOBJS_IN_LIBC): Add s_isinfd, sf_isinff,
218 s_isnand, and sf_isnanf object files.
219 * Makefile.in: Regenerated.
220 * libc/include/ieeefp.h: Undef isnan and isinf to avoid
221 conflict if <math.h> has previously been included.
222 * libc/include/math.h
223 * libc/include/math.h: Make isnan and isinf macros to
225 (__isinfd, __isinff, __isnand, __isnanf): New functions.
226 * libm/common/Makefile.am: Add new s_isinfd, s_isnand, sf_isinff,
227 and sf_isnanf files. Also support s_isnan, sf_isnan, s_isinf, and
228 sf_isinf files which have been moved from math/mathfp directories.
229 * libm/common/Makefile.in: Regenerated.
230 * libm/common/s_isinfd.c: New file.
231 * libm/common/s_isnand.c: Ditto.
232 * libm/common/sf_isinff.c: Ditto.
233 * libm/common/sf_isnanf.c: Ditto.
234 * libm/common/s_isinf.c: Moved from libm/math directory.
235 * libm/common/s_isnan.c: Ditto.
236 * libm/common/sf_isinf.c: Ditto.
237 * libm/common/sf_isnan.c: Ditto.
238 * libm/math/Makefile.am: Remove isinf and isnan family functions
239 which have been moved into common directory.
240 * libm/mathfp/Makefile.am: Ditto.
241 * libm/math/Makefile.in: Regenerated.
242 * libm/mathfp/Makefile.in: Ditto.
243 * libm/math/s_isinf.c: Removed.
244 * libm/math/s_isnan.c: Ditto.
245 * libm/math/sf_isinf.c: Ditto.
246 * libm/math/sf_isnan.c: Ditto.
247 * libm/mathfp/s_isinf.c: Ditto.
248 * libm/mathfp/s_isnan.c: Ditto.
249 * libm/mathfp/sf_isinf.c: Ditto.
250 * libm/mathfp/sf_isnan.c: Ditto.
252 2006-02-20 Jeff Johnston <jjohnstn@redhat.com>
254 * libc/stdio/fflush.c (fflush): For an fflush on a read-only
255 stream, turn off fseek/rewind optimization as per POSIX/SUSv3.
256 * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized
257 seek, turn off the __SNPT no-optimization flag.
259 2006-02-16 Jeff Johnston <jjohnstn@redhat.com>
261 * libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit
263 * libc/sys/linux/sys/types.h: Move <sys/config.h> ahead of
264 <features.h> to preset special flags.
266 2006-02-15 Corinna Vinschen <corinna@vinschen.de>
268 * libc/include/sys/time.h (struct timeval): Change member types
270 * libc/include/sys/types.h (useconds_t): Change to unsigned
272 (suseconds_t): Define type.
274 2006-02-13 Jeff Johnston <jjohnstn@redhat.com>
275 David Carne <davidcarne@gmail.com>
277 * libc/string/strndup_r.c (_strndup_r): Use strnlen logic
278 instead of strlen to determine number of bytes to copy.
279 * libc/string/strnlen.c (strnlen): Fix so check for max limit occurs
280 before looking at storage location.
282 2006-02-07 Paul Brook <paul@codesourcery.com>
284 * libc/machine/arm/setjmp.S: Add Thumb-2 support.
285 * libc/sys/arm/crt0.S: Add Thumb-2 startup code.
286 * libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
287 * libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
288 * libc/sys/arm/trap.S: Disable for Thumb-2.
290 2006-01-31 Leif Ekblad <leif@rdos.net>
292 * configure.host: RDOS support added
293 * libc/include/sys/config.h: Ditto.
294 * libc/sys/rdos/Makefile.am, libc/sys/rdos/Makefile.in: New files.
295 * libc/sys/rdos/aclocal.m4, libc/sys/rdos/chown.c: Ditto.
296 * libc/sys/rdos/close.c, libc/sys/rdos/config.h: Ditto.
297 * libc/sys/rdos/configure, libc/sys/rdos/configure.in: Ditto.
298 * libc/sys/rdos/crt0.S, libc/sys/rdos/execve.c: Ditto.
299 * libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c: Ditto.
300 * libc/sys/rdos/getenv.c, libc/sys/rdos/getpid.c: Ditto.
301 * libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c: Ditto.
302 * libc/sys/rdos/kill.c, libc/sys/rdos/link.c: Ditto.
303 * libc/sys/rdos/lseek.c, libc/sys/rdos/open.c: Ditto.
304 * libc/sys/rdos/rdos.S, libc/sys/rdos/rdos.h: Ditto.
305 * libc/sys/rdos/rdoshelp.c, libc/sys/rdos/read.c: Ditto.
306 * libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c: Ditto.
307 * libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c: Ditto.
308 * libc/sys/rdos/times.c, libc/sys/rdos/unlink.c: Ditto.
309 * libc/sys/rdos/user.def, libc/sys/rdos/wait.c: Ditto.
310 * libc/sys/rdos/write.c: Ditto.
312 2006-01-24 Jeff Johnston <jjohnstn@redhat.com>
314 * acinclude.m4: Add nodefine to AM_INIT_AUTOMAKE macro invocation
315 so as not to define PACKAGE and VERSION in newlib.h.
316 * aclocal.m4: Regenerated.
320 2006-01-20 Jeff Johnston <jjohnstn@redhat.com>
322 * acconfig.h: New file to generate newlib.hin from.
323 * newlib.hin: Regenerated.
324 * stamp-h.in: Regenerated.
325 * Makefile.am: Add ACLOCAL_AMFLAGS so aclocal can be
326 called automatically.
327 * Makefile.in: Regenerated.
328 * acinclude.m4: Add proper comment for hack in previous change.
329 * aclocal.m4 */aclocal.m4: Regenerated.
330 * configure */configure: Regenerated.
332 2006-01-11 Jeff Johnston <jjohnstn@redhat.com>
334 * acinclude.m4: Add hack to prevent INSTALL in subdirs
335 from being set to "../".
336 * Makefile.am: Pass INSTALL in AM_MAKEFLAGS.
337 * aclocal.m4: Regenerated.
339 * Makefile.in: Ditto.
340 * doc/aclocal.m4: Ditto.
341 * doc/configure: Ditto.
342 * iconvdata/aclocal.m4: Ditto.
343 * iconvdata/configure: Ditto.
344 * libc/*/aclocal.m4: Ditto.
345 * libc/*/configure: Ditto.
346 * libc/libc.texinfo: Ditto.
347 * libm/*/aclocal.m4: Ditto.
348 * libm/*/configure: Ditto.
350 2006-01-10 Eric Blake <ebb9@byu.net>
352 * libc/stdio/freopen.c (_freopen_r): Fix use of oflags.
353 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
355 2006-01-10 Jeff Johnston <jjohnstn@redhat.com>
357 * libm/mathfp/s_frexp.c: Check for special values on
358 the original input, not the manipulated output value.
359 * libm/mathfp/sf_frexp.c: Ditto.
360 * libm/mathfp/s_atangent.c: Don't use local value branch
361 when checking for quadrant.
362 * libm/mathfp/sf_atangent.c: Ditto.
364 2006-01-09 Jeff Johnston <jjohnstn@redhat.com>
366 * libc/stdio/freopen.c: Switch to use isatty instead of _isatty.
367 * libc/stdio64/freopen64.c: Ditto.
369 2006-01-09 Eric Blake <ebb9@byu.net>
371 * libc/stdio/freopen.c (_freopen_r): Accept NULL filename.
372 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
374 2006-01-06 Jeff Johnston <jjohnstn@redhat.com>
376 * libc/sys/linux/include/getopt.h: Add macros needed by
377 new version of getopt.c in libc/stdlib.
379 2006-01-04 Gregory Pietsch <gpietsch@comcast.net>
381 * libc/stdlib/getopt.c: Replaced with version
382 that adds getopt_long and getopt_long_only support.
383 * libc/include/getopt.h: New file.
385 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
387 * NEWS: Update with 1.14.0 info.
389 * acinclude.m4: Change version number to 1.14.0.
390 * aclocal.m4: Regenerated.
392 * doc/aclocal.m4: Ditto.
393 * doc/configure: Ditto.
394 * libc/*/aclocal.m4: Ditto.
395 * libc/*/configure: Ditto.
396 * libc/libc.texinfo: Ditto.
397 * libm/*/aclocal.m4: Ditto.
398 * libm/*/configure: Ditto.
399 * libm/libm.texinfo: Ditto.
400 * libc/sys/linux/shared.ld: Add VERS_1.14.
402 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
404 * libc/sys/linux/sys/stat.h: Change *stat64 prototypes to
405 take a pointer to struct stat64 rather than struct stat.
407 2005-12-16 Ralf Corsepius <ralf.corsepius@rtems.org>
409 * libc/include/stdint.h: Prefer long over int for int32_t.
410 Use __have_long32 to set up int32_t.
411 * libc/include/inttypes.h: Use "#if xxx" instead of "#ifdef xxx"
412 (Sync with stdint.h).
414 2005-12-14 Corinna Vinschen <corinna@vinschen.de>
416 * libc/include/sys/fcntl.h: Define O_SYNC unconditionally. Fix
417 typo in O_NDELAY comment.
419 2005-12-13 Nathan Sidwell <nathan@codesourcery.com>
421 * libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__.
422 * libc/include/machine/setjmp.h (__mt__): Likewise.
423 * libc/machine/mt/setjmp.S: Rename ms1 reference to mt.
424 * libc/machine/configure.in: Ditto.
426 2005-12-12 Nathan Sidwell <nathan@codesourcery.com>
428 * configure.host: Replace ms1 arch with mt arch.
429 * libc/machine/mt: Renamed from ms1 dir.
431 2005-12-08 Shaun Jackman <sjackman@gmail.com>
433 * libc/include/sys/types.h: Remove the ifdef armour around
434 standard POSIX types.
436 2005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
438 * libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
439 rtems_gxx_key_delete, rtems_gxx_getspecific,
440 rtems_gxx_setspecific, rtems_gxx_mutex_trylock,
441 rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock,
442 rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.
444 2005-12-05 Christopher Faylor <cgf@timesys.com>
446 * libc/include/stdlib.h: Move cygwin declarations to cygwin-specific
447 file. Declare unsetenv and _unsetenv_r when not cygwin.
449 2005-11-18 Jeff Johnston <jjohnstn@redhat.com>
451 * libc/time/strptime.c (strptime): Don't abort for %c and %Z.
452 Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.
454 2005-11-18 Christopher Faylor <cgf@timesys.com>
456 * include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
458 2005-11-18 Christopher Faylor <cgf@timesys.com>
460 * include/time.h: Remove more cygwin-specific stuff.
462 2005-11-18 Christopher Faylor <cgf@timesys.com>
464 * include/time.h: Move cygwin declarations to cygwin-specific header.
465 * include/sys/time.h: Rename cygwin include to "sys_time.h".
467 2005-11-17 Jeff Johnston <jjohnstn@redhat.com>
469 * libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
470 in libc/sys/linux/include.
471 * libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
472 * libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
473 * libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
474 in libc/sys/linux/dl.
476 2005-11-11 Christopher Faylor <cgf@timesys.com>
478 * libc/include/sys/time.h: For cygwin, use general header rather than
479 specific "sys/select.h".
481 2005-11-08 Tom Walsh <tom@openhardware.net>
483 * libc/time/tzvars.c: New file.
484 * libc/time/tzset_r.c: Moved globals into tzvars.c
485 so other time functions needn't link in __tzset_r and its
487 * libc/time/Makefile.am: Add the new file.
488 * libc/time/Makefile.in: Regenerated.
490 2005-11-08 Christopher Faylor <cgf@timesys.com>
492 * libc/include/string.h: Add cygwin-specific function declaration.
494 2005-11-07 Corinna Vinschen <corinna@vinschen.de>
496 * libc/include/ieeefp.h: Add C++ guards.
498 2005-11-03 Jeff Johnston <jjohnstn@redhat.com>
500 * libc/unix/getcwd.c: Don't use non-reentrant syscall names.
501 * libc/unix/getlogin.c: Ditto.
502 * libc/unix/getpass.c: Ditto.
503 * libc/unix/getut.c: Ditto.
504 * libc/unix/ttyname.c: Ditto.
506 2005-11-03 Shaun Jackman <sjackman@gmail.com>
508 * libc/include/sys/unistd.h (readlink, symlink): Provide these
509 prototypes by default.
510 * libc/sys/linux/include/unistd.h (readlink): Remove this
512 * libc/sys/linux/sys/unistd.h (readlink, symlink): New
515 2005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>
517 * libc/include/stdint.h: Cleanup #if vs. #ifdef.
519 2005-10-31 Darin Johnson <darin@usa.net>
521 * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
522 correct for constants.
524 2005-10-28 Bob Wilson <bob.wilson@acm.org>
526 * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
527 * libc/stdio/siscanf.c: Likewise.
528 * libc/stdio/sprintf.c: Likewise.
529 * libc/stdio/sscanf.c: Likewise.
530 * libc/stdio/vfprintf.c: Likewise.
531 * libc/stdio/vfscanf.c: Likewise.
532 * libc/stdio/viprintf.c: Likewise.
533 * libc/stdio/viscanf.c: Likewise.
535 2005-10-28 Bob Wilson <bob.wilson@acm.org>
537 * libc/sys.tex (Stubs): Format examples consistently. Change sbrk
538 example to use "_end" symbol instead of "end". Change write example
539 to use "outbyte" instead of "writechar".
541 2005-10-28 Bob Wilson <bob.wilson@acm.org>
543 * libc/ctype/ctype.tex: Use hyphens as appropriate, but not otherwise.
544 * libc/ctype/islower.c: Likewise.
545 * libc/ctype/isupper.c: Likewise.
546 * libc/ctype/iswalnum.c: Likewise.
547 * libc/ctype/iswalpha.c: Likewise.
548 * libc/ctype/iswblank.c: Likewise.
549 * libc/ctype/iswcntrl.c: Likewise.
550 * libc/ctype/iswdigit.c: Likewise.
551 * libc/ctype/iswgraph.c: Likewise.
552 * libc/ctype/iswlower.c: Likewise.
553 * libc/ctype/iswprint.c: Likewise.
554 * libc/ctype/iswpunct.c: Likewise.
555 * libc/ctype/iswspace.c: Likewise.
556 * libc/ctype/iswupper.c: Likewise.
557 * libc/ctype/iswxdigit.c: Likewise.
558 * libc/ctype/tolower.c: Likewise.
559 * libc/ctype/toupper.c: Likewise.
560 * libc/ctype/towctrans.c: Likewise.
561 * libc/ctype/towlower.c: Likewise.
562 * libc/ctype/towupper.c: Likewise.
563 * libc/string/strcasecmp.c: Likewise.
564 * libc/string/strcoll.c: Likewise.
565 * libc/string/strings.tex: Likewise.
566 * libc/string/strlwr.c: Likewise.
567 * libc/string/strncasecmp.c: Likewise.
568 * libc/string/strupr.c: Likewise.
569 * libc/string/wcscoll.c: Likewise.
570 * libc/string/wcslcat.c: Likewise.
571 * libc/string/wcslcpy.c: Likewise.
572 * libc/string/wcsnlen.c: Likewise.
573 * libc/string/wcsstr.c: Likewise.
574 * libc/string/wcstrings.tex: Likewise.
575 * libc/string/wmemchr.c: Likewise.
576 * libc/string/wmemcmp.c: Likewise.
577 * libc/string/wmemcpy.c: Likewise.
578 * libc/string/wmemmove.c: Likewise.
579 * libc/string/wmemset.c: Likewise.
581 2005-10-28 Bob Wilson <bob.wilson@acm.org>
583 * libc/misc/unctrl.c: Replace FUNCTION description.
584 * libc/signal/signal.c: Remove documentation for raise and _raise_r.
585 * libc/stdio/getdelim.c: Fix spelling errors.
586 * libc/stdio/getw.c: Put RETURNS on a separate line. Fix punctuation.
587 * libc/stdio/putw.c: Likewise.
588 * libc/stdlib/a64l.c: Fix formatting, spelling and punctuation in
590 * libc/stdlib/assert.c: Do not capitalize FUNCTION description.
591 * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
592 * libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
593 * libc/stdlib/mlock.c: Likewise.
594 * libc/stdlib/mstats.c: Likewise.
595 * libc/time/tzlock.c: Likewise.
596 * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe" in NOTES.
597 * libc/stdlib/rand48.c: Remove extra space in FUNCTION description
598 and hyphenate "pseudo-random".
599 * libc/string/bcmp.c: Remove extra blank lines in documentation.
600 * libc/string/strncat.c: Likewise.
601 * libc/string/memchr.c: Remove extra ">" character in documentation.
602 * libc/string/strcspn.c: Use "characters" instead of "chars".
603 * libc/string/strpbrk.c: Likewise.
604 * libc/string/strerror_r.c: Capitalize "GNU".
605 * libc/string/strnlen.c: Likewise.
606 * libc/string/strtok.c: Fix formatting, spelling and punctuation in
607 documentation. Use "multi-threaded" and "thread-safe" in NOTES.
608 * libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
609 * libc/string/wcschr.c: Likewise.
610 * libc/string/wcscmp.c: Likewise.
611 * libc/string/wcscpy.c: Likewise.
612 * libc/string/wcscspn.c: Likewise.
613 * libc/string/wcslen.c: Likewise.
614 * libc/string/wcsncat.c: Likewise.
615 * libc/string/wcsncmp.c: Likewise.
616 * libc/string/wcsncpy.c: Likewise.
617 * libc/string/wcsnlen.c: Likewise.
618 * libc/string/wcspbrk.c: Likewise.
619 * libc/string/wcsrchr.c: Likewise.
620 * libc/string/wcsspn.c: Likewise.
621 * libc/string/wmemchr.c: Likewise.
622 * libc/string/wmemcmp.c: Likewise.
623 * libc/string/wmemcpy.c: Likewise.
624 * libc/string/wmemset.c: Likewise.
625 * libc/string/wmemmove.c: Likewise. Also fix FUNCTION description.
626 * libc/string/wcswidth.c: Formatting and punctuation in documentation.
627 * libc/string/wcwidth.c: Likewise.
628 * libm/common/s_modf.c: Remove extra period from documentation.
629 * libm/math/s_isnan.c: Fix formatting, grammar and punctuation in
631 * libm/mathfp/s_isnan.c: Likewise.
632 * libm/math/s_ldexp.c: Fix punctuation.
633 * libm/mathfp/s_ldexp.c: Likewise.
634 * libm/math/w_log.c: Likewise.
635 * libm/mathfp/s_logarithm.c: Likewise.
636 * libm/math/w_j0.c: Add spaces to FUNCTION description.
637 * libm/mathfp/w_jn.c: Likewise.
639 2005-10-26 Shaun Jackman <sjackman@gmail.com>
641 * libc/posix/scandir.c (scandir): Update the function
642 prototype to match the header.
643 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
645 * libc/sys/linux/sys/lock.h: Do not include
646 machine/weakalias.h, since it's not used by this file.
648 2005-10-26 Jeff Johnston <jjohnstn@redhat.com>
650 * libc/Makefile.am: Reorder SUBLIBS so machine and sys
651 directories can override properly.
653 2005-10-20 Jeff Johnston <jjohnstn@redhat.com>
655 * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
656 gcc is 3.3 or greater, use special gcc builtins.
658 2005-10-20 Corinna Vinschen <corinna@vinschen.de>
660 * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
662 2005-10-18 Corinna Vinschen <corinna@vinschen.de>
664 * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
666 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
668 * libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
669 * libm/common/Makefile.am: Add s_infconst.c support.
670 * libm/common/Makefile.in: Regenerated.
671 * libm/common/s_infconst.c: New file with float and
672 long double infinity support added.
673 * libm/math/Makefile.am: Remove s_infconst.c support.
674 * libm/math/Makefile.in: Regenerated.
675 * libm/math/s_infconst.c: Moved to common directory.
676 * libm/mathfp/Makefile.am: Remove s_infconst.c support.
677 * libm/mathfp/Makefile.in: Regenerated.
678 * libm/mathfp/s_infconst.c: Moved to common directory.
680 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
682 * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
683 dbgprintf to prevent conflict with new dprintf function.
685 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
687 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
688 "nan" processing for systems that have long double support.
690 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
692 * libc/sys/linux/sys/types.h (int8_t): Add type.
694 2005-10-14 Bob Wilson <bob.wilson@acm.org>
696 * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC).
697 * libm/common/Makefile.in: Regenerate.
698 * libm/common/common.tex: Delete file.
699 * libm/math/math.tex: Include .def files from common/.
700 * libm/mathfp/mathfp.tex: Likewise.
702 2005-10-14 Bob Wilson <bob.wilson@acm.org>
704 * libc/libc.texinfo (Top): Surround this node with @ifnottex
705 instead of @ifinfo. Update menu to add Introduction and match
707 (Introduction): New section.
709 2005-10-14 Bob Wilson <bob.wilson@acm.org>
711 * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
712 with "Red Hat newlib C Library".
713 * libc/sys.tex (Stubs): Likewise.
714 * libm/math/math.tex (Math): Likewise.
715 * libm/mathfp/mathfp.tex (Math): Likewise.
717 2005-10-11 Shaun Jackman <sjackman@gmail.com>
719 * libc/include/stdio.h (dprintf): New declaration.
721 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
723 * libc/stdio/Makefile.in: Regenerate.
724 * libc/stdio/dprintf.c: New file.
725 * libc/stdio/vdprintf.c: New file.
726 * libc/stdio/stdio.tex (dprintf): New entry.
728 2005-10-11 David Weatherford <weath@tensilica.com>
730 * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
731 Print "inf" and "nan" in lowercase for e/f/g formats and in
732 uppercase for E/F/G formats.
734 2005-10-07 Bob Wilson <bob.wilson@acm.org>
736 * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
737 to ENOMEM on failure.
739 2005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>
741 * libc/include/stdint.h: Add [u]int_fast<N>_t types.
743 2005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>
745 * libc/include/stdint.h: Move magic to set __have_long* to the
746 beginning. Use #if __have* instead of #if defined(__have*).
749 2005-10-04 James E Wilson <wilson@specifix.com>
751 * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next. Add
754 2005-10-03 Jeff Johnston <jjohnstn@redhat.com>
756 * libc/sys/linux/include/stdint.h: Include <sys/types.h> and
757 incorporate Ralf's change below.
759 2005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>
761 * libc/include/stdint.h:
762 Use __INTMAX_TYPE__ to derive intmax_t.
763 Use __UINTMAX_TYPE__ to derive uintmax_t.
766 2005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
768 * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
771 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
773 * libc/sys/linux/include/stdint.h: Update to match functionality
774 of generic newlib stdint.h.
776 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
778 * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
779 and do not #undef the macro after it is used. Fix typos.
780 Also change 64-bit constants to use the __have_long64 and
781 __have_longlong64 flags to determine if long or long long
782 constants should be used.
783 * libc/include/inttypes.h: Include stddef.h to get wchar_t
786 2005-09-20 Shaun Jackman <sjackman@gmail.com>
788 * libc/include/stdint.h: Fix typo in names of
791 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
793 * libc/sys/rtems/include/inttypes.h: Moved to...
794 * libc/include/inttypes.h: ...here.
796 2005-09-19 Jeff Johnston <jjohnstn@redhat.com>
798 * libc/sys/rtems/include/stdint.h: Moved to...
799 * libc/include/stdint.h: ...here.
801 2005-09-08 Jeff Johnston <jjohnstn@redhat.com>
803 * Makefile.am: Add include files under bits sub-directory.
804 * Makefile.in: Regenerated.
805 * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
806 actual value of 1 to be compatible with newer glibc headers.
807 * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
809 * libc/sys/linux/sys/dirent.h: Ditto.
810 * libc/sys/linux/argp/argp-xinl.c: Ditto.
811 * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
812 profile_fixup routines are marked used so they won't be
814 * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
815 to mark functions as weak.
816 * libc/sys/linux/dl/dl-open.c: Ditto.
817 * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
819 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
820 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
821 weak_extern macro to mark functions as weak. Instead always
823 * iconvdata/jis0208.h: Fix to work with gcc4.
824 * libc/sys/linux/dl/dl-load.c: Ditto.
825 * libc/sys/linux/dl/dl-reloc.c: Ditto.
826 * libc/sys/linux/dl/do-rel.h: Ditto.
827 * libc/sys/linux/dl/dynamic-link.h: Ditto.
828 * libc/sys/linux/include/ltdl.h: Ditto.
829 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
830 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
831 * libc/sys/linux/net/ns_ntoa.c: Ditto.
832 * libc/sys/linux/bits/initspin.h: New file.
833 * libc/sys/linux/bits/libc-lock.h: Ditto.
834 * libc/sys/linux/bits/pthreadtypes.h: Ditto.
835 * libc/sys/linux/bits/typesizes.h: Ditto.
837 2005-09-08 Eric Blake <ebb9@byu.net>
839 * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
842 2005-09-08 Brian Dessent <brian@dessent.net>
844 * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
848 2005-09-02 Jeff Johnston <jjohnstn@redhat.com>
850 * libc/include/stdio.h: Add prototype for viprintf.
852 2005-09-01 Jeff Johnston <jjohnstn@redhat.com>
854 * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
855 any positive power results in 0.
856 * libm/mathfp/sf_pow.c (powf): Ditto.
858 2005-08-31 Paul Brook <paul@codesourcery.com>
860 * configure.host: Set have_crt0 to no for Arm targts when not
861 providing syscalls. Set sys_dir=arm unconditionally.
862 Default have_crt0 based on sys_dir.
863 * configure.in: Use have_crt0.
864 * libc/configure.in: Ditto.
865 * libc/sys/configure.in: Ditto.
866 * configure: Regenerate.
867 * libc/configure: Regenerate.
868 * libc/sys/configure: Regenerate.
869 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
870 Only build other files when providing syscalls.
871 * libc/sys/arm/Makefile.in: Regenerate.
872 * libc/sys/arm/aeabi_atexit.c: New file.
874 2005-08-26 Christopher Faylor <cgf@timesys.com>
876 * libc/include/string.h: Revert previous change.
878 2005-08-25 Christopher Faylor <cgf@timesys.com>
880 * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
882 2005-08-22 Shaun Jackman <sjackman@gmail.com>
884 * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
885 define _opendir as opendir, _readdir as readdir, and
886 _closedir as closedir so that the implementations in
887 libc/posix will be used.
889 2005-08-10 DJ Delorie <dj@redhat.com>
891 * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
893 2005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
895 * libm/common/sf_fmax.c: Fix to properly handle NaNs.
896 * libm/common/s_max.c: Ditto.
897 * libm/common/sf_fmin.c: Ditto.
898 * libm/common/s_min.c: Ditto.
900 2005-08-10 DJ Delorie <dj@redhat.com>
902 * configure.host: Add m32c support.
903 * libc/include/machine/ieeefp.h: Likewise.
904 * libc/include/machine/setjmp.h: Likewise.
905 * libc/include/sys/config.h: Likewise.
906 * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
907 * libc/machine/m32c/aclocal.m4: New file.
908 * libc/machine/m32c/configure: Ditto.
909 * libc/machine/m32c/configure.in: Ditto.
910 * libc/machine/m32c/Makefile.am: Ditto.
911 * libc/machine/m32c/Makefile.in: Ditto.
912 * libc/machine/m32c/setjmp.S: Ditto.
914 2005-08-02 Bob Wilson <bob.wilson@acm.org>
916 * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
917 to the value for 2^126.
919 2005-07-26 Hans-Peter Nilsson <hp@bitrange.com>
921 * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
924 2005-07-20 Bob Wilson <bob.wilson@acm.org>
925 Darin Petkov <darin@tensilica.com>
927 * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
929 2005-07-19 Paul Brook <paul@codesourcery.com>
931 * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
933 2005-07-18 Joseph S. Myers <joseph@codesourcery.com>
935 * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
936 names after PASS and FAIL which do not depend on source directory
937 name or on whether test passed or failed.
938 * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
940 2005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
942 * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
944 2005-07-07 Shaun Jackman <sjackman@gmail.com>
946 * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
947 twice for the same directory. _closedir calls free, and freeing
948 the same pointer twice may cause a crash.
950 2005-07-06 Aldy Hernandez <aldyh@redhat.com>
952 * configure.host: Added entry for ms1*.
953 * libc/include/machine/ieeefp.h: Handle ms1.
954 * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
955 * libc/machine/ms1/aclocal.m4: New.
956 * libc/machine/ms1/configure: New.
957 * libc/machine/ms1/configure.in: New.
958 * libc/machine/ms1/Makefile.am: New.
959 * libc/machine/ms1/Makefile.in: New.
960 * libc/machine/ms1/setjmp.S: New.
962 2005-07-04 Mark Mitchell <mark@codesourcery.com>
964 * Makefile.am (site.exp): Set tmpdir.
965 * Makefile.in: Regenerated.
966 * testsuite/lib/checkoutput.exp (newlib_check_output): Put
967 executables in $tmpdir.
968 * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
969 libgloss version if not running in the build directory.
970 * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
972 * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
975 2005-06-28 Dave Korn <dave.korn@artimi.com>
977 * libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison
978 and miscalculation caused by fp representation of zero.
979 * libm/common/sf_lrint.c (lrintf): Likewise.
981 2005-06-16 Christopher Faylor <cgf@timesys.com>
983 * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
984 determine characteristics of long double. Use a union instead.
985 * ldtoa.c (_ldtoa_r): Ditto.
988 (union uconv): New union.
990 2005-06-03 Jeff Johnston <jjohnstn@redhat.com>
992 * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
995 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
997 * configure.host (mn10300-*): Add long long I/O support by default.
999 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
1001 * libc/sys/linux/getpwuid.c: Removed.
1002 * libc/sys/linux/getpwnam.c: Removed.
1003 * libc/sys/linux/getpwent.c: New file containing logic
1004 from files removed above. This allows overriding of file
1006 * libc/sys/linux/Makefile.am: Support changes above.
1007 * libc/sys/linux/Makefile.in: Regenerated.
1009 2005-04-28 Jeff Johnston <jjohnstn@redhat.com>
1011 * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
1012 when checking for multiple flags.
1014 2005-04-18 Hans-Peter Nilsson <hp@axis.com>
1016 * configure.host <cris-*-* | crisv32-*-*>: Set
1017 default_newlib_io_long_long="yes".
1019 2005-04-08 Jeff Johnston <jjohnstn@redhat.com>
1021 * libc/include/libgen.h: New file.
1023 2005-04-08 Shaun Jackman <sjackman@gmail.com>
1025 * libc/unix/Makefile.am: Add support for basename and dirname.
1026 * libc/unix/Makefile.in: Regenerated.
1027 * libc/unix/basename.c: New file.
1028 * libc/unix/dirname.c: New file.
1030 2005-04-07 Shaun Jackman <sjackman@gmail.com>
1032 * libc/sys/linux/inode.c (lchown): New function.
1034 2005-04-07 Shaun Jackman <sjackman@gmail.com>
1036 * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
1037 ELIX level is defined.
1038 * libc/unix/Makefile.in: Regenerated.
1040 2005-04-05 Dave Korn <dave.korn@artimi.com>
1042 * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
1043 something that looks like a "NaN", put back the characters processed.
1045 2005-04-01 Corinna Vinschen <corinna@vinschen.de>
1047 * libc/stdlib/strtod.c (_strtod_r): Never change s00.
1049 2005-03-23 Christopher Faylor <cgf@timesys.com>
1051 * configure.host: For cygwin, redefine CC with cygwin include directory
1052 first to mimic the behavior of the top-level configury. Move include
1053 directory out of newlib_cflags.
1055 2005-03-22 Jeff Johnston <jjohnstn@redhat.com>
1057 * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
1058 * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
1061 2005-03-22 Christopher Faylor <cgf@timesys.com>
1063 * libc/include/machine/_types.h: Make trivial change to comment to
1064 avoid a spurious warning from gcc.
1066 2005-03-21 Nicholas Wourms <nwourms@netscape.net>
1068 * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
1069 since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
1072 2005-03-18 Hans-Peter Nilsson <hp@axis.com>
1073 Corinna Vinschen <corinna@vinschen.de>
1075 * libc/include/ctype.h: Remove invalid +1 offset from
1076 ctype macro references to __ctype_ptr.
1077 (_ctype_): Move declaration outside #ifndef __cplusplus.
1079 2005-03-18 Corinna Vinschen <corinna@vinschen.de>
1081 * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
1082 evaluate first parameter only once.
1083 (siglongjmp): Ditto.
1085 2005-03-17 Jeff Johnston <jjohnstn@redhat.com>
1087 * configure.in: Add new check to see if compiler supports
1088 aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
1089 * configure: Regenerated.
1090 * Makefile.in: Ditto.
1091 * newlib.hin: Add _HAVE_ARRAY_ALIASING.
1092 * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
1093 aliasing the _ctype_ array to _ctype_b.
1094 * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
1095 _ctype_ as deprecated.
1097 2005-03-17 Hans-Peter Nilsson <hp@axis.com>
1099 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
1102 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
1104 * libc/sys/rtems/include/inttypes.h: New file.
1105 * libc/sys/rtems/include/stdint.h: Ditto.
1107 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
1109 * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
1111 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
1113 * libc/include/machine/_types.h: New file.
1114 * libc/include/sys/types.h: Do not check for __rtems__
1115 when including <machine/_types.h>. Remove some redundant
1116 declarations now that <machine/_types.h> is included.
1117 * libc/sys/rtems/machine/_types.h: Removed. Replaced with
1120 2005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
1122 * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
1123 L qualifier for these long constants.
1125 2005-02-25 Eric Blake <ebb9@byu.net>
1127 * libc/include/time.h (__tzrule_struct): Make offset long, since
1128 a 16-bit int overflows on a 12-hour offset.
1129 * libc/sys/linux/include/time.h: Ditto.
1130 * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
1131 * libc/time/mktm_r.c: Ditto.
1132 * libc/time/gettzinfo.c: Ditto.
1133 * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
1134 years. Fix '%z' to use long, not int.
1136 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
1138 * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
1139 manipulate float values in integer form.
1140 * libm/common/sf_round.c: Ditto.
1142 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
1144 * libc/include/sys/types.h [__rtems__]: Include new
1145 header file machine/_types.h.
1146 * libc/include/machine/types.h: Ditto.
1147 * libc/sys/rtems/machine/_types.h: New file.
1149 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
1151 * libc/include/time.h (_timezone): Change to long also for Cygwin.
1152 (timezone): Drop cast from definition.
1154 2005-02-23 Jeff Johnston <jjohnstn@redhat.com>
1156 * libc/include/time.h [!CYGWIN](_timezone): Change to long.
1157 (__tzrule_type, __tzinfo_type): New types.
1158 (__gettzinfo): New function.
1159 * libc/sys/linux/include/time.h: Ditto.
1160 * libc/time/Makefile.am: Add gettzinfo.c.
1161 * libc/time/Makefile.in: Regenerated.
1162 * libc/time/local.h: Moved __tzrule_type to time.h.
1163 * libc/time/mktime.c: Call __gettzinfo to reference
1164 __tznorth, __tzyear, and __tzrule array.
1165 * libc/time/mktm_r.c: Ditto.
1166 * libc/time/strftime.c: Ditto.
1167 * libc/time/tzset_r.c: Ditto. Also remove definition
1168 of __tzrule which is now in gettzinfo.c. Change _timezone
1169 references to not cast to time_t.
1170 * libc/time/gettzinfo.c: New file.
1172 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
1174 * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
1176 2005-02-22 Corinna Vinschen <corinna@vinschen.de>
1178 * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
1180 2005-02-16 Eric Blake <ebb9@byu.net>
1182 * libc/time/time.tex: Improve the documentation.
1183 * libc/time/strftime.c: Improve the documentation.
1184 (iso_year_adjust): New helper function.
1185 (strftime): Simplify '%E' and '%O'. Change '%c' to use
1186 recursion. Fix '%C', '%y', and '%Y' to deal with years with more
1187 than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
1188 '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
1189 Avoid core dumps on valid inputs (maxsize == 0, or
1190 tim_p->tm_isdst > 1).
1192 2005-02-08 Corinna Vinschen <corinna@vinschen.de>
1194 * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
1195 members to uid_t and gid_t according to SUSv3.
1196 * libc/include/sys/time.h (utimes): Change second parameter
1197 to const according to SUSv3.
1199 2005-02-07 Antony King <antony.king@st.com>
1201 * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
1202 called before _flockfile to prevent lock object use before
1203 initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
1204 take a struct _reent * instead of a FILE *.
1205 * libc/stdio/fclose.c (_fclose_r): Ditto.
1206 * libc/stdio/feof.c (feof): Ditto.
1207 * libc/stdio/ferror.c (ferror): Ditto.
1208 * libc/stdio/fflush.c (fflush): Ditto.
1209 * libc/stdio/fgetc.c (fgetc): Ditto.
1210 * libc/stdio/fgets.c (fgets): Ditto.
1211 * libc/stdio/fileno.c (fileno): Ditto.
1212 * libc/stdio/fputc.c (fputc): Ditto.
1213 * libc/stdio/fputs.c (fputs): Ditto.
1214 * libc/stdio/fread.c (fread): Ditto.
1215 * libc/stdio/freopen.c (_freopen_r): Ditto.
1216 * libc/stdio/fseek.c (_fseek_r): Ditto.
1217 * libc/stdio/ftell.c (_ftell_r): Ditto.
1218 * libc/stdio/fwrite.c (fwrite): Ditto.
1219 * libc/stdio/getc.c (getc): Ditto.
1220 * libc/stdio/getdelim.c (__getdelim): Ditto.
1221 * libc/stdio/putc.c (putc): Ditto.
1222 * libc/stdio/setvbuf.c (setvbuf): Ditto.
1223 * libc/stdio/ungetc.c (_ungetc_r): Ditto.
1224 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
1225 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
1226 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
1227 * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
1228 * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
1229 _reent * instead of a FILE * and so replace incorrect use of
1230 _REENT with argument.
1231 * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
1232 * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
1233 CHECK_INIT() take a struct _reent * instead of a FILE *.
1234 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
1235 * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
1236 * libc/stdio/perror.c (perror): Ditto.
1237 * libc/stdio/printf.c (printf, _printf_r): Ditto.
1238 * libc/stdio/putchar.c (putchar): Ditto.
1239 * libc/stdio/puts.c (puts): Ditto.
1240 * libc/stdio/refill.c (__srefill): Ditto.
1241 * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
1242 * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
1243 * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
1244 * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
1245 * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
1246 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
1247 * libc/stdio/wbuf.c (__swbuf): Ditto.
1248 * libc/stdio/wsetup.c (__swsetup): Ditto.
1249 * libc/stdlib/mallocr.c (malloc_stats): Ditto.
1250 * libc/stdlib/mstats.c (_mstats_r): Ditto.
1251 * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
1252 * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
1253 * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
1254 to _flockfile and _funlockfile; rely on locking in _ftell_r.
1255 * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
1256 * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
1257 initialision of _data field in FILE structure.
1258 * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
1260 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
1262 * libc/stdio/findfp.c (__sinit): Protect with new lock.
1263 (__sinit_lock): New lock.
1264 (__sinit_lock_acquire, __sinit_lock_release): New functions.
1265 * libc/stdio/local.h: Add reference to new __sinit locking
1268 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
1270 * libc/include/math.h (isfinite, isnormal, isunordered): Change
1271 input variable names to avoid mixups with nesting macros.
1273 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
1275 * configure.host: Add support for cris-*-* and crisv32-*-*.
1276 * libc/include/machine/ieeefp.h: Ditto.
1277 * libc/include/machine/setjmp.h: Ditto.
1278 * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
1279 libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
1280 libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
1281 libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
1282 libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
1283 libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
1284 libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
1287 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
1289 * testsuite/newlib.string/memmove1.c: New test.
1291 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
1293 * testsuite/include/check.h: Include stdlib.h.
1295 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
1297 * Makefile.am (stmp-targ-include): Support include header files
1298 from machine directories.
1299 (install-data-local): Ditto.
1300 * Makefile.in: Regenerate.
1302 2005-01-24 Jeff Johnston <jjohnstn@redhat.com>
1304 * libc/include/string.h: Remove Linux-specific declaration of
1305 strsignal and add #include <sys/string.h>.
1306 * libc/include/sys/string.h: New file.
1307 * libc/include/sys/linux/sys/string.h: New file with strsignal
1308 declaration deleted above.
1310 2005-01-20 Jeff Johnston <jjohnstn@redhat.com>
1312 * libc/time/strftime.c (strftime): Change %r and %x to be compliant
1313 to POSIX standard for "C" locale. Allow %E and %O modifiers
1314 to be ignored as long as they precede valid specifiers according
1317 2005-01-19 Shaun Jackman <sjackman@gmail.com>
1319 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
1320 environment variable is set.
1322 2005-01-19 Shaun Jackman <sjackman@gmail.com>
1324 * tzset_r.c (_tzname): Add a comma.
1326 2005-01-18 Aldy Hernandez <aldyh@redhat.com>
1328 * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
1331 2005-01-07 Paul Brook <paul@codesourcery.com>
1333 * configure.in: Add test for .init_array.
1334 * configure: Regenerate.
1335 * newlib.hin: Add HAVE_INITFINI_ARRAY.
1336 * libc/misc/Makefile.am: Add init.c
1337 * libc/misc/Makefile.in: Regenerate.
1338 * libc/misc/init.c: New file.
1339 * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
1340 _init/_fini if they exist.
1342 2005-01-06 Jeff Johnston <jjohnstn@redhat.com>
1344 * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
1346 * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
1347 * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
1348 functions for use by strtod and strtof.
1349 * Makefile.in: Regenerated.
1351 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
1353 * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
1354 bit-test in combination with NULL test.
1356 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
1358 * README: Fix typo of LGPL. Change "license" to "copyright".
1360 2004-12-17 Jeff Johnston <jjohnstn@redhat.com>
1362 * NEWS: Update with 1.13.0 info.
1364 * acinclude.m4: Change version number to 1.13.0.
1365 * aclocal.m4: Regenerated.
1367 * doc/aclocal.m4: Ditto.
1368 * doc/configure: Ditto.
1369 * libc/*/aclocal.m4: Ditto.
1370 * libc/*/configure: Ditto.
1371 * libc/libc.texinfo: Ditto.
1372 * libm/*/aclocal.m4: Ditto.
1373 * libm/*/configure: Ditto.
1374 * libm/libm.texinfo: Ditto.
1375 * libc/sys/linux/shared.ld: Add VERS_1.13.
1377 2004-12-17 Christian Groessler <chris@groessler.org>
1379 * libc/machine/z8k/memcmp.S: New file.
1380 * libc/machine/z8k/memcpy.S: Ditto.
1381 * libc/machine/z8k/memmove.S: Ditto.
1382 * libc/machine/z8k/memset.S: Ditto.
1383 * libc/machine/z8k/Makefile.am: Add new files.
1384 * libc/machine/z8k/Makefile.in: Regenerated.
1385 * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
1386 part. Implement Z8002 stdcall version.
1388 2004-12-13 Jeff Johnston <jjohnstn@redhat.com>
1390 * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
1391 a low-level read if we don't get the full amount of bytes so
1392 EOF or error flags will be set.
1394 2004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
1396 * libc/time/tzset_r (_tzset_r): Properly skip over
1397 '/' when it is detected.
1399 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
1401 * libc/time/tzset_r (_tzset_r): Fix loop.
1403 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
1405 * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
1407 (__tzcalc_limits): Fix reference to month array to be zero-based.
1409 2004-12-07 Jeff Johnston <jjohnstn@redhat.com>
1411 * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
1414 2004-12-03 Jeff Johnston <jjohnstn@redhat.com>
1416 * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
1417 libgcc dependencies.
1418 (libm_la_LDFLAGS): Ditto.
1419 * Makefile.in: Regenerated.
1421 2004-12-03 Shaun Jackman <sjackman@gmail.com>
1423 * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
1424 our link to use readlink so as to preserve any relative link created
1425 by install-toollibLIBRARIES.
1426 * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
1428 2004-12-02 Shaun Jackman <sjackman@gmail.com>
1430 * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
1431 time_t before including sys/stat.h, which uses it.
1432 * libc/sys/linux/sys/stat.h: Include <sys/types.h> and
1433 <linux/time.h> just prior to definition of __KERNEL__ so as to
1434 allow building on Debian Linux where otherwise, mktime would
1437 2004-11-26 Paul Brook <paul@codesourcery.com>
1439 * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
1441 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
1443 * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
1444 const for value string parameter to match Single Unix and glibc.
1445 * libc/stdlib/putenv.c: Ditto.
1446 * libc/stdlib/putenv_r.c: Ditto.
1448 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
1450 * libc/stdio/Makefile.am: Fix missing vfscanf.
1451 * libc/stdio/Makefile.in: Regenerated.
1453 2004-11-23 Jeff Johnston <jjohnstn@redhat.com>
1455 * libc/include/stdio.h: Add new iprintf and iscanf variants. Also
1457 * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
1458 * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
1460 * libc/stdio/Makefile.in: Regenerated.
1461 * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
1462 * libc/stdio/iprintf.c: Ditto.
1463 * libc/stdio/local.h (__svfiscanf_r): New prototype.
1464 * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
1465 * libc/stdio/sniprintf.c: Move docs to siprintf.c.
1466 * libc/stdio/stdio.tex: Add new functions.
1467 * libc/stdio/vfscanf.c: Split out __sccl function to separate
1468 file and add special name defines so this file can be used
1469 to build vfiscanf.o.
1470 * libc/stdio/asiprintf.c: New file.
1471 * libc/stdio/fiscanf.c: Ditto.
1472 * libc/stdio/iscanf.c: Ditto.
1473 * libc/stdio/sccl.c: Ditto.
1474 * libc/stdio/siscanf.c: Ditto.
1475 * libc/stdio/vasiprintf.c: Ditto.
1476 * libc/stdio/viprintf.c: Ditto.
1477 * libc/stdio/viscanf.c: Ditto.
1478 * libc/stdio/vsiprintf.c: Ditto.
1479 * libc/stdio/vsiscanf.c: Ditto.
1480 * libc/stdio/vsniprintf.c: Ditto.
1482 2004-11-19 Shaun Jackman <sjackman@gmail.com>
1484 * libc/include/stdio.h: Add sniprintf.
1485 * libc/stdio/Makefile.am: Add sniprintf.c.
1486 * libc/stdio/Makefile.in: Regenerated.
1487 * libc/stdio/sniprintf.c: New file.
1488 * libc/stdio/stdio.tex: Add sniprintf.
1490 2004-11-17 Christopher Faylor <cgf@timesys.com>
1492 * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear
1493 EOF flag if successful.
1495 2004-10-28 Christopher Faylor <cgf@timesys.com>
1497 * libc/include/sys/signal.h: Move <signal.h> include to bottom of file
1498 so that all relevant definitions have been performed for use in the
1501 2004-10-26 Jason Tishler <jason@tishler.net>
1503 * libc/stdio/fread.c (fread): Fix return value for unbuffered
1506 2004-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1508 * libc/include/machine/setjmp.h: Add AVR support.
1509 * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
1511 2004-10-08 Jeff Johnston <jjohnstn@redhat.com>
1513 * libc/include/sys/signal.h: If <signal.h> didn't include
1514 this header file, include <signal.h> to account for
1515 applications that take advantage that the two header
1516 files are the same in glibc.
1518 2004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
1520 * configure.host: Add support for crx.
1521 * libc/include/machine/ieeefp.h: Ditto.
1522 * libc/include/machine/setjmp.h: Ditto.
1523 * libc/machine/crx/Makefile.am: New file.
1524 * libc/machine/crx/configure.in: Ditto.
1525 * libc/machine/crx/setjmp.S: Ditto.
1526 * libc/machine/crx/getenv.c: Ditto.
1527 * libc/machine/crx/aclocal.m4: Generate.
1528 * libc/machine/crx/configure: Ditto.
1529 * libc/machine/crx/Makefile.in: Ditto.
1530 * libc/machine/crx/sys/asm.h: New file.
1531 * libc/machine/crx/sys/libh.h: Ditto.
1532 * libc/machine/crx/sys/syscall.h: Ditto.
1534 2004-10-05 Jeff Johnston <jjohnstn@redhat.com>
1536 * Makefile.am (stmp-targ-include): Support sys header files
1537 from machine directories.
1538 * Makefile.in: Regenerated.
1540 2004-10-04 Jeff Johnston <jjohnstn@redhat.com>
1542 * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
1543 count skipped zero characters as part of the nread count for %n.
1544 * libc/machine/powerpc/vfscanf.c: Ditto.
1546 2004-09-24 Jeff Johnston <jjohnstn@redhat.com>
1548 * libc/stdio/local.h: Include <stdlib.h>.
1550 2004-09-24 Corinna Vinschen <corinna@vinschen.de>
1552 * libc/stdio/fread.c (fread): Include <malloc.h>.
1554 2004-09-22 Jeff Johnston <jjohnstn@redhat.com>
1556 * libc/stdio/fread.c (fread): For non-space-optimized case,
1557 add special code for unbuffered files to use user buffer and
1558 only require one low-level system read.
1560 2004-09-21 Ian Lance Taylor <ian@wasabisystems.com>
1562 * libc/machine/xscale/setjmp.S: New file, copied from
1563 libc/machine/arm/setjmp.S.
1564 * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
1565 * libc/machine/xscale/Makefile.in: Regenerate.
1567 2004-09-16 Antony King <antony.king@st.com>
1569 * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
1571 * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
1572 check for__SSTR in _flags and if set, skip lock request.
1573 (_funlockfile)[!SINGLE_THREAD]: Ditto.
1574 * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
1576 * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
1577 initialisation of _file to -1 in local FILE.
1578 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
1579 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
1580 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
1581 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
1582 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
1583 _flags in local FILE to prevent locking.
1584 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
1586 2004-09-16 Antony King <antony.king@st.com>
1588 * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
1589 and only walk the reentrancy parameter.
1590 (_fwalk_reent): Ditto.
1591 * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
1593 2004-09-16 Antony King <antony.king@st.com>
1595 * libc/stdio64/freopen64.c: Remove casting of fp lock to
1598 2004-09-16 Antony King <antony.king@st.com>
1600 * libc/time/tzlock.c: Add default stubs that use generic
1603 2004-09-16 Antony King <antony.king@st.com>
1605 * libc/ctype/ctype.tex: Added missing documentation.
1606 * libc/stdio/stdio.tex Ditto.
1607 * libc/stdlib/stdlib.tex Ditto.
1608 * libc/string/strings.tex Ditto.
1609 * libc/time/time.tex: Ditto.
1610 * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
1612 2004-09-15 Corinna Vinschen <vinschen@redhat.com>
1614 * libc/reent/impure.c (reent_data): Define as alias to impure_data
1615 when building for Cygwin.
1616 * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
1619 2004-09-15 Jeff Johnston <jjohnstn@redhat.com>
1621 * configure.host: Reverting 2004-09-14 change as fix has occurred on
1623 * configure.in: Ditto.
1624 * libc/configure.in: Ditto.
1625 * libc/sys/configure.in: Ditto.
1627 * libc/configure: Ditto.
1628 * libc/sys/configure: Ditto.
1629 * libc/include/sys/reent.h: Ditto.
1630 * libc/stdlib/__atexit.c: Ditto.
1631 * libc/stdlib/__call_atexit.c: Ditto.
1632 * libc/stdlib/cxa_atexit.c: Ditto.
1633 * libc/stdlib/cxa_finalize.c: Ditto.
1634 * libc/sys/cygwin/Makefile.am: Removed again.
1635 * libc/sys/cygwin/Makefile.in: Ditto.
1636 * libc/sys/cygwin/aclocal.m4: Ditto.
1637 * libc/sys/cygwin/configure: Ditto.
1638 * libc/sys/cygwin/configure.in: Ditto.
1639 * libc/sys/cygwin/dummy.c: Ditto.
1640 * libc/sys/cygwin/sys/reent.h: Ditto.
1642 2004-09-14 Jeff Johnston <jjohnstn@redhat.com>
1644 * configure.host: Add Cygwin sys directory.
1645 * configure.in: Do not set CRT0 for cygwin.
1646 * libc/configure.in: Ditto.
1647 * libc/sys/configure.in: Ditto.
1648 * configure: Regenerated.
1649 * libc/configure: Ditto.
1650 * libc/sys/configure: Ditto.
1651 * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
1652 * libc/stdlib/__atexit.c: Keep cxa support protected by new
1653 __REENT_HAS_CXA_SUPPORT flag.
1654 * libc/stdlib/__call_atexit.c: Ditto.
1655 * libc/stdlib/cxa_atexit.c: Ditto.
1656 * libc/stdlib/cxa_finalize.c: Ditto.
1657 * libc/sys/cygwin/Makefile.am: New file.
1658 * libc/sys/cygwin/Makefile.in: Ditto.
1659 * libc/sys/cygwin/aclocal.m4: Ditto.
1660 * libc/sys/cygwin/configure: Ditto.
1661 * libc/sys/cygwin/configure.in: Ditto.
1662 * libc/sys/cygwin/dummy.c: Ditto.
1663 * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
1666 2004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
1668 * libc/iconv/iconv.tex: Updated with new content.
1669 * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
1670 instead of NLS_DEFAULT_NLSPATH.
1671 * libc/iconv/lib/iconvnls.h: Fix typo.
1672 * libc/include/sys/iconvnls.h: New file.
1674 2004-09-09 Paul Brook <paul@codesourcery.com>
1676 * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
1678 (struct _atexit): Add _next when _REENT_SMALL.
1679 (struct _reent): Add _atexit0 when _REENT_SMALL.
1680 (_REENT_INIT_PTR): Adjust.
1681 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
1683 (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
1684 * libc/stdlib/Makefile.in: Regenerate.
1685 * libc/stdlib/__atexit.c: New file.
1686 * libc/stdlib/__call_atexit.c: New file.
1687 * libc/stdlib/atexit.h: Remove old definitions. Add new.
1688 * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
1689 * libc/stdlib/cxa_atexit.c: New file.
1690 * libc/stdlib/cxa_finalize.c: New file.
1691 * libc/stdlib/exit.c (exit): Use __call_exitprocs.
1692 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
1693 2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
1694 * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
1697 2004-08-23 Jeff Johnston <jjohnstn@redhat.com>
1699 * libc/include/sys/unistd.h (getpass): Change prototype to use
1700 const instead of __const.
1702 2004-08-16 Nathan Sidwell <nathan@codesourcery.com>
1704 * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
1707 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
1709 * libc/sys/linux/sys/types.h (u64): New typedef to allow building
1710 on linux systems with glibc 2.3.3 installed.
1711 * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
1712 profile_fixup so newlib can build on fc3 system.
1714 2004-07-30 Alexandre Oliva <aoliva@redhat.com>
1716 Introduce SH2a support.
1717 2004-03-16 Corinna Vinschen <vinschen@redhat.com>
1718 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
1719 __SH2A_SINGLE_ONLY__, too.
1720 * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
1721 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
1722 * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
1723 2004-02-10 DJ Delorie <dj@redhat.com>
1724 * libc/sys/sh/crt0.S (start_l): Support sh2a.
1726 2004-07-29 Jeff Johnston <jjohnstn@redhat.com>
1728 * libc/time/strptime.c: Correct full-name of "March" typo.
1730 2004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
1732 * configure.host (h8300*-*-*): Default long long printing support.
1734 2004-07-16 Jeff Johnston <jjohnstn@redhat.com>
1736 * libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
1737 calls, if realloc fails, free up buffer as it is no longer
1740 2004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
1742 * libc/iconv/iconv.tex: Updated to represent recent changes.
1743 * libc/iconv/lib/iconv.c: Documentation updated.
1745 2004-07-07 Nick Clifton <nickc@redhat.com>
1747 * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
1750 2004-07-06 Chris Demetriou <cgd@broadcom.com>
1752 * configure.host (mips*-*-elf*): Default long long printing
1755 2004-07-05 Jeff Johnston <jjohnstn@redhat.com>
1757 * libc/Makefile.am (libc.dvi): Add target and specify
1758 same dependencies as libc.info.
1759 * libc/Makefile.in: Regenerated.
1760 * libm/Makefile.am (libm.dvi): Add target and specify
1761 same dependencies as libm.info.
1762 * libm/Makefile.in: Regenerated.
1764 2004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
1766 * acinclude.m4: Move --enable-newlib-iconv option back here.
1767 * configure.in: Remove --enable-newlib-iconv option. Don't
1768 tie iconv support to --enable-newlib-mb.
1769 * aclocal.m4: Regenerated.
1771 * doc/aclocal.m4, doc/configure: Ditto.
1772 * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
1773 * libm/*/aclocal.m4: Ditto.
1774 * libm/*/configure: Ditto.
1775 * libc/*/aclocal.m4: Ditto.
1776 * libc/*/configure: Ditto.
1778 2004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
1780 * acinclude.m4: Move iconv options into configure.in.
1781 * aclocal.m4: Regenerated.
1783 * configure.in: Add iconv options.
1784 * newlib.hin: Add new iconv encodings and remove deleted ones.
1785 * doc/aclocal.m4: Regenerated.
1786 * doc/configure: Ditto.
1787 * iconvdata/aclocal.m4: Ditto.
1788 * iconvdata/configure: Ditto.
1789 * libc/iconv: Design change. New size-optimized ccs format.
1790 * libc/iconv/AUTHORS: Removed.
1791 * libc/iconv/COPYING: Ditto.
1792 * libc/iconv/README.ORIGINAL: Ditto.
1793 * libc/iconv/README.TODO: Ditto.
1794 * libc/iconv/charset.aliases: Ditto.
1795 * libc/iconv/encoding.aliases: New file.
1796 * libc/iconv/Makefile.am: Updated.
1797 * libc/iconv/Makefile.in: Regenerated.
1798 * libc/iconv/iconv.tex: Updated.
1799 * libc/iconv/ccs/Makefile.am: Ditto.
1800 * libc/iconv/ccs/Makefile.in: Regenerated.
1801 * libc/iconv/ccs/big5.c: Updated.
1802 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
1803 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
1804 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
1805 * libc/iconv/ccs/cp775.c: Ditto.
1806 * libc/iconv/ccs/cp850.c: Ditto.
1807 * libc/iconv/ccs/cp852.c: Ditto.
1808 * libc/iconv/ccs/cp855.c: Ditto.
1809 * libc/iconv/ccs/cp866.c: Ditto.
1810 * libc/iconv/ccs/iso_8859_1.c: Ditto.
1811 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
1812 * libc/iconv/ccs/gb_2312_80.c: Ditto.
1813 * libc/iconv/ccs/iconv_mktbl: Ditto.
1814 * libc/iconv/ccs/jis_x0201.c: Ditto.
1815 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
1816 * libc/iconv/ccs/shift_jis.c: Ditto.
1817 * libc/iconv/ccs/us_ascii.c: Ditto.
1818 * libc/iconv/ccs/ccs.h: New file.
1819 * libc/iconv/ccs/ccsbi.c: Ditto.
1820 * libc/iconv/ccs/ccsbi.h: Ditto.
1821 * libc/iconv/ccs/ccsnames.h: Ditto.
1822 * libc/iconv/ccs/iso_8859_10.c: Ditto.
1823 * libc/iconv/ccs/iso_8859_11.c: Ditto.
1824 * libc/iconv/ccs/iso_8859_13.c: Ditto.
1825 * libc/iconv/ccs/iso_8859_14.c: Ditto.
1826 * libc/iconv/ccs/iso_8859_3.c: Ditto.
1827 * libc/iconv/ccs/iso_8859_6.c: Ditto.
1828 * libc/iconv/ccs/iso_8859_7.c: Ditto.
1829 * libc/iconv/ccs/iso_8859_8.c: Ditto.
1830 * libc/iconv/ccs/iso_8859_9.c: Ditto.
1831 * libc/iconv/ccs/iso_ir_111.c: Ditto.
1832 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
1833 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
1834 * libc/iconv/ccs/koi8_ru.c: Ditto.
1835 * libc/iconv/ccs/koi8_uni.c: Ditto.
1836 * libc/iconv/ccs/mktbl.pl: Ditto.
1837 * libc/iconv/ccs/win_1250.c: Ditto.
1838 * libc/iconv/ccs/win_1251.c: Ditto.
1839 * libc/iconv/ccs/win_1252.c: Ditto.
1840 * libc/iconv/ccs/win_1253.c: Ditto.
1841 * libc/iconv/ccs/win_1254.c: Ditto.
1842 * libc/iconv/ccs/win_1255.c: Ditto.
1843 * libc/iconv/ccs/win_1256.c: Ditto.
1844 * libc/iconv/ccs/win_1257.c: Ditto.
1845 * libc/iconv/ccs/win_1258.c: Ditto.
1846 * libc/iconv/ccs/iso_8859_15.c: Updated.
1847 * libc/iconv/ccs/iso_8859_2.c: Ditto.
1848 * libc/iconv/ccs/iso_8859_4.c: Ditto.
1849 * libc/iconv/ccs/iso_8859_5.c: Ditto.
1850 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
1851 * libc/iconv/ccs/koi8_r.c: Ditto.
1852 * libc/iconv/ccs/koi8_u.c: Ditto.
1853 * libc/iconv/ccs/ksx1001.c: Ditto.
1854 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
1855 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
1856 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
1857 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
1858 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
1859 * libc/iconv/ccs/binary/Makefile.am: Updated.
1860 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
1861 * libc/iconv/ccs/binary/big5.cct: Updated.
1862 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
1863 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
1864 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
1865 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
1866 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
1867 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
1868 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
1869 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
1870 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
1871 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
1872 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
1873 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
1874 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
1875 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
1876 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
1877 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
1878 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
1879 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
1880 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
1881 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
1882 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
1883 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
1884 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
1885 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
1886 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
1887 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
1888 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
1889 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
1890 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
1891 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
1892 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
1893 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
1894 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
1895 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
1896 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
1897 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
1898 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
1899 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
1900 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
1901 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
1902 * libc/iconv/ces/Makefile.am: Updated.
1903 * libc/iconv/ces/Makefile.in: Regenerated.
1904 * libc/iconv/ces/ucs-2-internal.c: Updated.
1905 * libc/iconv/ces/ucs-4-internal.c: Ditto.
1906 * libc/iconv/ces/utf-16.c: Ditto.
1907 * libc/iconv/ces/utf-8.c: Ditto.
1908 * libc/iconv/ces/cesbi.c: New file.
1909 * libc/iconv/ces/cesbi.h: Ditto.
1910 * libc/iconv/ces/cesdeps.h: Ditto.
1911 * libc/iconv/ces/euc.c: Ditto.
1912 * libc/iconv/ces/mkdeps.pl: Ditto.
1913 * libc/iconv/ces/table-pcs.c: Ditto.
1914 * libc/iconv/ces/table.c: Ditto.
1915 * libc/iconv/ces/ucs-2.c: Ditto.
1916 * libc/iconv/ces/ucs-4.c: Ditto.
1917 * libc/iconv/ces/us-ascii.c: Ditto.
1918 * libc/iconv/ces/euc-jp.c: Removed.
1919 * libc/iconv/ces/euc-kr.c: Ditto.
1920 * libc/iconv/ces/euc-tw.c: Ditto.
1921 * libc/iconv/ces/gb2312.c: Ditto.
1922 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
1923 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
1924 * libc/iconv/lib/Makefile.am: Updated.
1925 * libc/iconv/lib/Makefile.in: Regenerated.
1926 * libc/iconv/lib/endian.h: Updated.
1927 * libc/iconv/lib/iconv.c: Ditto.
1928 * libc/iconv/lib/local.h: Ditto.
1929 * libc/iconv/lib/aliases.c: Removed.
1930 * libc/iconv/lib/bialiasesi.c: Ditto.
1931 * libc/iconv/lib/biccs.c: Ditto.
1932 * libc/iconv/lib/bices.c: Ditto.
1933 * libc/iconv/lib/ccs.c: Ditto.
1934 * libc/iconv/lib/ces.c: Ditto.
1935 * libc/iconv/lib/ces_euc.c: Ditto.
1936 * libc/iconv/lib/ces_iso2022.c: Ditto.
1937 * libc/iconv/lib/ces_table.c: Ditto.
1938 * libc/iconv/lib/converter.c: Ditto.
1939 * libc/iconv/lib/deps.h: Ditto.
1940 * libc/iconv/lib/loaddata.c: Ditto.
1941 * libc/iconv/lib/aliasesbi.c: New file.
1942 * libc/iconv/lib/aliasesi.c: Ditto.
1943 * libc/iconv/lib/conv.h: Ditto.
1944 * libc/iconv/lib/encnames.h: Ditto.
1945 * libc/iconv/lib/encoding.deps: Ditto.
1946 * libc/iconv/lib/iconvnls.c: Ditto.
1947 * libc/iconv/lib/iconvnls.h: Ditto.
1948 * libc/iconv/lib/nullconv.c: Ditto.
1949 * libc/iconv/lib/ucsconv.c: Ditto.
1950 * libc/iconv/lib/ucsconv.h: Ditto.
1951 * libc/include/iconv.h: Update copyright.
1952 * libc/*/aclocal.m4: Regenerated.
1953 * libc/*/configure: Ditto.
1954 * libm/*/aclocal.m4: Ditto.
1955 * libm/*/configure: Ditto.
1957 2004-06-22 Alexandre Oliva <aoliva@redhat.com>
1959 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
1960 instead of typedefing jmp_buf.
1962 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
1963 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
1964 * libc/machine/h8300/defines.h (LEN): New macro.
1965 * libc/machine/h8300/memcpy.S: Add h8sx version.
1966 * libc/machine/h8300/memset.S: Likewise.
1967 * libc/machine/h8300/strcmp.S: Likewise.
1968 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
1969 * libc/machine/h8300/h8sx_strcpy.S: New file.
1970 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
1971 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
1973 * libc/include/machine/setjmp.h: Likewise.
1974 * libc/include/sys/config.h: Likewise.
1975 * libc/machine/h8300/defines.h: Likewise.
1976 * libc/machine/h8300/setjmp.S: Likewise.
1977 * libc/machine/h8300/strcmp.S: Likewise.
1978 * libc/sys/h8300hms/close.S: Likewise.
1979 * libc/sys/h8300hms/fstat.S: Likewise.
1980 * libc/sys/h8300hms/lseek.S: Likewise.
1981 * libc/sys/h8300hms/read.S: Likewise.
1982 * libc/sys/h8300hms/write.S: Likewise.
1983 * libc/sys/h8300hms/crt0.S: Likewise.
1984 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
1985 __H8300SX__ is defined.
1986 * libc/sys/h8300hms/setarch.h: Likewise.
1988 2004-06-17 Jeff Johnston <jjohnstn@redhat.com>
1990 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
1991 out change which set _GLOBAL_REENT to _global_impure_ptr until
1992 we understand why Cygwin breaks because of it.
1994 2004-06-14 Jeff Johnston <jjohnstn@redhat.com>
1996 * libc/sys/linux/machine/i386/syscall.h: For now, set up
1997 __syscall_return macro for systems with vsyscall.
1999 2004-06-11 Antony King <antony.king@st.com>
2001 * libc/include/sys/_types.h: Include <sys/lock.h> and change
2002 _flock_t to be of type _LOCK_RECURSIVE_T.
2003 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
2004 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
2005 (_global_impure_ptr): New declaration.
2006 (_GLOBAL_REENT): Change to be _global_impure_ptr.
2007 * libc/include/sys/stdio.h: Include <sys/lock.h> and
2009 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
2010 (_funlockfile)[!SINGLE_THREAD]: Ditto.
2011 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
2012 * libc/stdio/fclose.c: Remove casting of fp lock to
2014 * libc/stdio/findfp.c: Ditto.
2015 * libc/stdio/fopen.c: Ditto.
2016 * libc/stdio/freopen.c: Ditto.
2017 * libc/stdio/vfprintf.c: Ditto.
2018 * libc/stdio64/fopen64.c: Ditto.
2019 * libc/stdlib/envlock.c: Add default stubs that use generic
2021 * libc/stdlib/mlock.c: Ditto.
2023 Jeff Johnston <jjohnstn@redhat.com>
2024 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
2025 (_flock_t): Change to be a struct containing a single member
2026 named mutex which is of type __flock_mutex_t.
2028 2004-06-09 Jeff Johnston <jjohnstn@redhat.com>
2030 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
2031 from /usr/include/asm/signal.h instead of kernel sources. Also
2032 default max to 32 if not found in header file.
2033 * libc/sys/linux/Makefile.in: Regenerated.
2034 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
2035 systems where __syscall_return is not defined.
2036 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
2037 systems to use syscall() function instead of assembler interrupt.
2039 2004-06-09 Toralf Lund <toralf@procaptura.com>
2041 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
2042 files from libc/sys/arm to libc/machine/arm.
2043 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
2044 library build support for files moved from libc/sys/arm.
2045 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
2046 references to access and setjmp.
2047 * configure.host: Add checks for newlib_may_supply_syscalls to
2048 determine whether or not to use sys/arm directory and use
2049 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
2051 2004-06-02 Jeff Johnston <jjohnstn@redhat.com>
2053 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
2054 reset digit flags appropriately after we have discovered "0x".
2055 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
2057 2004-05-27 Jeff Johnston <jjohnstn@redhat.com>
2059 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
2061 (_VFPRINTF_R): ... to here so all I/O printf routines
2064 2004-05-26 Jeff Johnston <jjohnstn@redhat.com>
2066 * libc/search/hash_buf.c: Protect MAX and MIN macros from
2068 * libc/search/hash.c: Ditto.
2070 2004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2072 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
2073 (_WANT_IO_LONG_LONG): Ditto.
2074 (_WANT_IO_LONG_DOUBLE): Ditto.
2075 * configure.in: Add new configuration options
2076 --enable-newlib-io-long-long and --enable-newlib-io-long-double
2077 which tie to new defines in newlib.hin.
2078 * configure: Regenerated.
2079 * configure.host: Add checks for new configuration options. Also
2080 fix up check for --enable-newlib-io-pos-args so configuration
2081 option will override any default for a given platform.
2082 Remove defining compiler flags for the _WANT_IO* options.
2083 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
2084 instead of looking for old compiler flags.
2085 * libc/stdio/vfscanf.c: Ditto.
2086 * libc/stdio/vfieeefp.h: Ditto.
2087 * libc/machine/powerpc/vfprintf.c: Ditto.
2088 * libc/machine/powerpc/vfscanf.c: Ditto.
2090 2004-05-25 Jeff Johnston <jjohnstn@redhat.com>
2092 * testsuite/include/check.h: Add include of <stdio.h>.
2094 2004-05-17 Corinna Vinschen <corinna@vinschen.de>
2096 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
2098 2004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2100 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
2103 2004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2105 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
2106 list for reentrant pointer. Call _vfiprintf_r.
2107 * libc/stdio/siprintf.c (_siprintf_r): New function.
2108 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
2109 pointer argument. Change all callers. Call _VFPRINTF_R.
2110 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
2113 2004-05-07 Jeff Johnston <jjohnstn@redhat.com>
2115 * libc/include/sys/param.h: Remove endian info and include
2116 <machine/endian.h> instead.
2117 * libc/include/machine/endian.h: New file.
2118 * libc/include/machine/param.h: Ditto.
2119 * libc/machine/arm/machine/endian.h: Ditto.
2120 * libc/machine/arm/machine/param.h: Ditto.
2121 * libc/sys/arm/sys/param.h: Removed.
2122 * libc/sys/sysvi386/sys/param.h: Ditto.
2123 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
2125 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2127 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
2128 multibyte functions return failure for %C, %S, %lc, and %ls
2131 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2133 * testsuite/include/check.h (CHECK): Add flush of stdout.
2135 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2137 * libc/include/stdio.h (_ungetc_r): New prototype.
2138 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
2139 (__submore): Add reentrant struct pointer argument.
2140 (ungetc): Change to call _ungetc_r.
2142 2004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2144 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
2145 function pointer argument.
2146 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
2147 to specify function pointer arguments.
2148 (__fwalk, __fwalk_reent): Ditto.
2150 2004-04-26 Aldy Hernandez <aldyh@redhat.com>
2152 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
2155 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2157 * configure.in: Define _MB_CAPABLE if mb supported.
2158 * configure: Regenerated.
2159 * configure.host: Remove manual setting of MB_CAPABLE compiler
2161 * newlib.hin: Add _MB_CAPABLE flag.
2162 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
2163 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
2164 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
2165 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
2166 * libc/ctype/jp2uc.c: Ditto.
2167 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
2168 * libc/locale/locale.c: Ditto
2169 * libc/machine/powerpc/vfscanf.c: Ditto
2170 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
2171 * libc/stdlib/mblen.c: Ditto
2172 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
2173 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
2174 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
2175 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
2176 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
2177 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
2178 * libc/sys/linux/intl/explodename.c: Ditto
2179 * libc/sys/linux/intl/finddomain.c: Ditto
2180 * libc/sys/linux/intl/l10nflist.c: Ditto
2181 * libc/sys/linux/intl/loadmsgcat.c: Ditto
2182 * libc/sys/linux/intl/localealias.c: Ditto
2184 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
2186 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
2187 (__svfscanf_r): In integer conversions, leave out leading zeroes
2188 which are not part of a base prefix.
2189 Keep track of width truncation to fit into buf, not counting left-out
2190 zeroes against width till the truncation has been compensated for.
2191 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
2193 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
2195 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
2197 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2199 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
2200 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
2201 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
2202 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
2203 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
2204 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
2205 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
2206 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
2207 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
2208 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
2209 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
2210 libc/stdio/getchar.c libc/stdio/getchar_u.c,
2211 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
2212 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
2213 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
2214 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
2215 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
2216 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
2217 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
2218 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
2219 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
2220 libc/stdio/siprintf.c libc/stdio/snprintf.c,
2221 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
2222 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
2223 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
2224 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
2225 libc/stdio/vprintf.c libc/stdio/vscanf.c,
2226 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
2227 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
2228 libc/stdio/wsetup.c: Perform minor formatting changes. Move
2229 copyright notices to top of file, ensure that <_ansi.h> is
2230 included, be consistent with open parentheses, use _DEFUN macro,
2231 include "local.h" where needed, and remove various compiler
2234 2004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
2236 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
2237 (__svfscanf_r): In integer conversions, leave out leading zeroes
2238 which are not part of a base prefix.
2239 Keep track of width truncation to fit into buf, not counting left-out
2240 zeroes against width till the truncation has been compensated for.
2242 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
2244 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
2246 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
2248 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
2250 2004-04-10 Corinna Vinschen <corinna@vinschen.de>
2252 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
2255 2004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2257 * libc/stdio/fclose.c (_fclose_r): New function.
2258 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
2259 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
2260 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
2261 * libc/include/stdio.h (_fclose_r): New prototype.
2262 * libc/stdio/fopen.c: Fix typo in comment.
2264 2004-04-08 Jeff Johnston <jjohnstn@redhat.com>
2266 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
2267 to handle _r reentrant functions.
2269 2004-04-08 Eric Christopher <echristo@redhat.com>
2271 * libc/include/machine/setjmp.h: Fix endif locations.
2273 2004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2275 * libc/time/strptime.c: Add standard includes to avoid
2276 warning messages at compilation time.
2278 2004-04-01 Jeff Johnston <jjohnstn@redhat.com>
2280 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
2283 2004-03-30 Jeff Johnston <jjohnstn@redhat.com>
2285 * libc/machine/h8300/Makefile.am: Reformat slightly.
2286 * libc/machine/h8300/Makefile.in: Regenerate.
2288 2004-03-30 Thomas Pfaff <tpfaff@gmx.net>
2290 * libc/stdio/findfp.c (__fp_lock_all): Add call to
2292 (__fp_unlock_all): Add call to __sfp_lock_release.
2294 2004-03-25 Thomas Pfaff <tpfaff@gmx.net>
2296 * libc/stdio/fclose.c (fclose): Protect file pointer list when
2298 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
2300 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
2301 _flockfile/_funlockfile.
2302 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
2304 Change __lock_acquire/__lock_release calls for __sfp_lock to
2305 __sfp_lock_acquire/__sfp_lock_release throughout.
2306 (std): Make sure that file lock is only initialized once.
2307 (__sfp): Move _file initialization. Initialize file lock.
2308 (__sfp_lock_acquire): New function.
2309 (__sfp_lock_release): Ditto.
2310 (__fp_lock_all): Remove __sfp_lock_acquire call.
2311 (__fp_unlock_all): Remove __sfp_lock_release call.
2312 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
2313 Add calls to _flockfile/_funlockfile. Remove
2314 __lock_init_recursive call.
2315 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
2316 * libc/stdio/fwalk.c (__fwalk): New static function.
2317 (_fwalk): Protect file pointer list. Use __fwalk to walk through
2319 * libc/stdio/local.h: Add defines for
2320 __sfp_lock_acquire/__sfp_lock_release when
2321 single threaded. Add function prototypes otherwise.
2322 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
2323 _flockfile/_funlockfile.
2324 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
2325 Add calls to _flockfile/_funlockfile. Remove
2326 __lock_init_recursive call.
2327 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
2330 2004-03-25 Jeff Johnston <jjohnstn@redhat.com>
2332 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
2333 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
2334 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
2335 to be __LOCK_INIT_RECURSIVE.
2337 2004-03-11 Kazu Hirata <kazu@cs.umass.edu>
2339 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
2340 _exit.c with _exit.S.
2341 * libc/sys/h8300hms/Makefile.in: Regenerate.
2342 * libc/sys/h8300hms/_exit.c: Remove.
2343 * libc/sys/h8300hms/_exit.S: New.
2345 2004-03-09 Thomas Pfaff <tpfaff@gmx.net>
2347 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
2348 Change __sfp_lock to static global.
2349 (__fp_lock): New static function.
2350 (__fp_unlock): Ditto.
2351 (__fp_lock_all): New function.
2352 (__fp_unlock_all): Ditto.
2354 2004-02-10 Christopher Faylor <cgf@redhat.com>
2356 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
2357 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
2358 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
2359 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
2361 2004-02-09 Christopher Faylor <cgf@redhat.com>
2363 * libc/include/time.h (TIMER_RELTIME): New define.
2365 2004-02-09 Jeff Johnston <jjohnstn@redhat.com>
2367 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
2368 * libc/stdlib/Makefile.in: Regenerated.
2370 2004-02-08 Christopher Faylor <cgf@redhat.com>
2372 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
2373 * libc/include/sys/reent.h (__getreent): Protect against possibly being
2375 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
2377 2004-02-05 Paul Brook <paul@codesourcery.com>
2379 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
2380 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
2382 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
2384 * NEWS: Update with 1.12.0 info.
2386 * acinclude.m4: Change version number to 1.12.0.
2387 * aclocal.m4: Regenerated.
2389 * doc/aclocal.m4: Ditto.
2390 * doc/configure: Ditto.
2391 * libc/*/aclocal.m4: Ditto.
2392 * libc/*/configure: Ditto.
2393 * libc/libc.texinfo: Ditto.
2394 * libm/*/aclocal.m4: Ditto.
2395 * libm/*/configure: Ditto.
2396 * libm/libm.texinfo: Ditto.
2397 * libc/sys/linux/shared.ld: Add VERS_1.12.
2399 2004-02-02 Joel Sherrill <joel@oarcorp.com>
2401 * configure.host: Add support for tic4x.
2402 * libc/include/machine/ieeefp.h: Ditto.
2403 * libc/include/machine/setjmp.h: Ditto.
2404 * libc/machine/tic4x/Makefile.am: New file.
2405 * libc/machine/tic4x/configure.in: Ditto.
2406 * libc/machine/tic4x/setjmp.S: Ditto.
2407 * libc/machine/tic4x/aclocal.m4: Generated.
2408 * libc/machine/tic4x/configure: Ditto.
2409 * libc/machine/tic4x/Makefile.in: Ditto.
2411 2004-01-30 Jeff Johnston <jjohnstn@redhat.com>
2413 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
2414 file chain on the passed in reentrancy struct if it
2417 2004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2418 Jeff Johnston <jjohnstn@redhat.com>
2420 * libc/iconv/iconv.tex: Updated with more information.
2422 2004-01-30 Thomas Pfaff <tpfaff@gmx.net>
2423 Jeff Johnston <jjohnstn@redhat.com>
2425 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
2426 struct for std streams and traverse the global reeentrancy
2427 struct for all other streams.
2429 2004-01-27 Jeff Johnston <jjohnstn@redhat.com>
2431 * libc/stdlib/atexit.c: Protect global atexit list with a
2432 lock when newlib is multithreaded.
2434 2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2436 * configure.in: Add support to generate iconv converter flags
2438 * newlib.hin: Add iconv converter flags.
2439 * configure: Regenerated.
2440 * libc/Makefile.in: Ditto.
2441 * libc/configure.in: Moved iconv converter parsing logic to
2442 top level newlib configure.in.
2443 * libc/configure: Regenerated.
2444 * libc/iconv/Makefile.in: Ditto.
2445 * libc/iconv/README.TODO
2446 * libc/iconv/charset.aliases: Remove wrong BE aliases for
2448 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
2449 newlib.h can be used.
2450 * libc/iconv/ces/Makefile.am: Ditto.
2451 * libc/iconv/lib/Makefile.am: Ditto.
2452 * libc/iconv/ccs/Makefile.in: Regenerated.
2453 * libc/iconv/ces/Makefile.in: Ditto.
2454 * libc/iconv/lib/Makefile.in: Ditto.
2455 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
2456 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
2457 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
2458 defined in newlib.h.
2459 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
2460 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
2461 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
2462 * libc/iconv/ccs/cp775.c: Ditto.
2463 * libc/iconv/ccs/cp850.c: Ditto.
2464 * libc/iconv/ccs/cp852.c: Ditto.
2465 * libc/iconv/ccs/cp855.c: Ditto.
2466 * libc/iconv/ccs/cp866.c: Ditto.
2467 * libc/iconv/ccs/gb_2312_80.c: Ditto.
2468 * libc/iconv/ccs/iso_8859_1.c: Ditto.
2469 * libc/iconv/ccs/iso_8859_15.c: Ditto.
2470 * libc/iconv/ccs/iso_8859_2.c: Ditto.
2471 * libc/iconv/ccs/iso_8859_4.c: Ditto.
2472 * libc/iconv/ccs/iso_8859_5.c: Ditto.
2473 * libc/iconv/ccs/jis_x0201.c: Ditto.
2474 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
2475 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
2476 * libc/iconv/ccs/koi8_r.c: Ditto.
2477 * libc/iconv/ccs/koi8_u.c: Ditto.
2478 * libc/iconv/ccs/ksx1001.c: Ditto.
2479 * libc/iconv/ccs/shift_jis.c: Ditto.
2480 * libc/iconv/ccs/us_ascii.c: Ditto.
2481 * libc/iconv/ccs/binary/big5.cct: Newly generated.
2482 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
2483 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
2484 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
2485 * libc/iconv/ccs/binary/cp775.cct: Ditto.
2486 * libc/iconv/ccs/binary/cp850.cct: Ditto.
2487 * libc/iconv/ccs/binary/cp852.cct: Ditto.
2488 * libc/iconv/ccs/binary/cp855.cct: Ditto.
2489 * libc/iconv/ccs/binary/cp866.cct: Ditto.
2490 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
2491 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
2492 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
2493 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
2494 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
2495 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
2496 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
2497 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
2498 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
2499 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
2500 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
2501 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
2502 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
2503 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
2504 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
2505 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
2506 * libc/iconv/ces/euc-kr.c: Ditto.
2507 * libc/iconv/ces/euc-tw.c: Ditto.
2508 * libc/iconv/ces/gb2312.c: Ditto.
2509 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
2510 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
2511 * libc/iconv/ces/ucs-2-internal.c: Ditto.
2512 * libc/iconv/ces/ucs-4-internal.c: Ditto.
2513 * libc/iconv/ces/utf-16.c: Ditto.
2514 * libc/iconv/ces/utf-8.c: Ditto.
2515 * libc/iconv/lib/aliases.c: Ditto.
2516 * libc/iconv/lib/biccs.c: Ditto.
2517 * libc/iconv/lib/bices.c: Ditto.
2518 * libc/iconv/lib/ccs.c: Ditto.
2519 * libc/iconv/lib/ces.c: Ditto.
2520 * libc/iconv/lib/ces_euc.c: Ditto.
2521 * libc/iconv/lib/ces_iso2022.c: Ditto.
2522 * libc/iconv/lib/ces_table.c: Ditto.
2523 * libc/iconv/lib/converter.c: Ditto.
2524 * libc/iconv/lib/deps.h: Ditto.
2525 * libc/iconv/lib/endian.h: Ditto.
2526 * libc/iconv/lib/iconv.c: Ditto.
2527 * libc/iconv/lib/loaddata.c: Ditto.
2528 * libc/iconv/lib/local.h: Include newlib.h.
2529 * libc/argz/Makefile.in: Regenerated.
2530 * libc/ctype/Makefile.in: Ditto.
2531 * libc/errno/Makefile.in: Ditto.
2532 * libc/iconv/ccs/binary/Makefile.in: Ditto.
2533 * libc/locale/Makefile.in: Ditto.
2534 * libc/misc/Makefile.in: Ditto.
2535 * libc/posix/Makefile.in: Ditto.
2536 * libc/reent/Makefile.in: Ditto.
2537 * libc/search/Makefile.in: Ditto.
2538 * libc/signal/Makefile.in: Ditto.
2539 * libc/stdio/Makefile.in: Ditto.
2540 * libc/stdio64/Makefile.in: Ditto.
2541 * libc/stdlib/Makefile.in: Ditto.
2542 * libc/string/Makefile.in: Ditto.
2543 * libc/syscalls/Makefile.in: Ditto.
2544 * libc/time/Makefile.in: Ditto.
2545 * libc/unix/Makefile.in: Ditto.
2546 * testsuite/newlib.iconv/iconv.exp: New file.
2547 * testsuite/newlib.iconv/iconvjp.c: Ditto.
2548 * testsuite/newlib.iconv/iconvnm.c: Ditto.
2549 * testsuite/newlib.iconv/iconvru.c: Ditto.
2551 2004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2553 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
2554 (--enable-newlib-builtin-converters): Ditto.
2555 * configure.in: Add code to set _ICONV_ENABLED flag.
2556 Set _MB_LEN_MAX to 1 if not mb enabled.
2557 * configure: Regenerated.
2558 * aclocal.m4: Ditto.
2559 * Makefile.in: Ditto.
2560 * newlib.hin: Add _ICONV_ENABLED flag.
2561 * libc/Makefile.am: Add support for iconv.
2562 * libc/configure.in: Ditto.
2563 * libc/Makefile.in: Regenerated.
2564 * libc/aclocal.m4: Ditto.
2565 * libc/configure: Ditto.
2566 * libc/libc.texinfo: Add iconv documentation.
2567 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
2568 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
2569 libc/iconv/README.TODO, libc/iconv/charset.aliases,
2570 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
2571 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
2572 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
2573 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
2574 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
2575 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
2576 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
2577 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
2578 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
2579 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
2580 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
2581 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
2582 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
2583 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
2584 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
2585 libc/iconv/ccs/binary/big5.cct,
2586 libc/iconv/ccs/binary/cns11643_plane1.cct,
2587 libc/iconv/ccs/binary/cns11643_plane14.cct,
2588 libc/iconv/ccs/binary/cns11643_plane2.cct,
2589 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
2590 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
2591 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
2592 libc/iconv/ccs/binary/iso_8859_1.cct,
2593 libc/iconv/ccs/binary/iso_8859_15.cct,
2594 libc/iconv/ccs/binary/iso_8859_2.cct,
2595 libc/iconv/ccs/binary/iso_8859_4.cct,
2596 libc/iconv/ccs/binary/iso_8859_5.cct,
2597 libc/iconv/ccs/binary/jis_x0201.cct,
2598 libc/iconv/ccs/binary/jis_x0208_1983.cct,
2599 libc/iconv/ccs/binary/jis_x0212_1990.cct,
2600 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
2601 libc/iconv/ccs/binary/ksx1001.cct,
2602 libc/iconv/ccs/binary/shift_jis.cct,
2603 libc/iconv/ccs/binary/us_ascii.cct,
2604 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
2605 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
2606 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
2607 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
2608 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
2609 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
2610 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
2611 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
2612 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
2613 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
2614 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
2615 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
2616 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
2617 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
2618 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
2619 * libc/sys/linux/include/iconv.h: Ditto.
2620 * libc/include/sys/_types.h (_iconv_t): Added.
2621 * doc/aclocal.m4: Regenerated.
2622 * doc/configure: Ditto.
2623 * doc/Makefile.in: Ditto.
2624 * iconvdata/Makefile.in: Ditto.
2625 * iconvdata/aclocal.m4: Ditto.
2626 * iconvdata/configure: Ditto.
2627 * libc/*aclocal.m4: Ditto.
2628 * libc/*Makefile.in: Ditto.
2629 * libc/*configure: Ditto.
2630 * libm/*aclocal.m4: Ditto.
2631 * libm/*Makefile.in: Ditto.
2632 * libm/*configure: Ditto.
2634 2004-01-22 Thomas Pfaff <tpfaff@gmx.net>
2636 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
2637 by a lock when newlib is multithreaded.
2639 2004-01-21 Jeff Johnston <jjohnstn@redhat.com>
2641 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
2642 pointer to match C99 spec.
2643 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
2644 dst is NULL. Also fix to not alter src pointer when dst is NULL
2645 and call _mbrtowc_r instead of _mbtowc_r.
2646 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
2649 2004-01-19 Thomas Pfaff <tpfaff@gmx.net>
2651 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
2652 * libc/stdio/freopen.c (freopen): Ditto.
2654 2004-01-16 Christopher Faylor <cgf@redhat.com>
2656 * libc/stdio/vfprintf.c: Add sys/lock.h include.
2658 2004-01-16 Thomas Pfaff <tpfaff@gmx.net>
2660 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
2661 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
2662 Add calls to __lock_init_recursive and __lock_close_recursive
2665 2004-01-15 Thomas Pfaff <tpfaff@gmx.net>
2667 * libc/stdio/fclose.c: Include sys/lock.h.
2668 (fclose): Destroy lock when file is closed.
2669 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
2671 * libc/stdio/freopen.c: Include sys/lock.h.
2672 (_freopen_r): Destroy lock when file is closed.
2673 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
2676 2004-01-08 Joel Sherrill <joel@oarcorp.com>
2678 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
2681 2004-01-08 Joel Sherrill <joel@oarcorp.com>
2683 * libc/sys/rtems/sys/queue.h: New file.
2684 * libc/include/sys/signal.h: Reflect renumbering of signals to
2685 fit into 32-bit mask.
2686 * libc/include/sys/unistd.h: Add fdatasync() prototype.
2687 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
2688 required. In particular, add the reentrant variants of libc calls.
2689 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
2691 2004-01-06 Mark Mitchell <mark@codesourcery.com>
2693 * libc/sys/arm/syscalls.c (unistd.h): Include it.
2694 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
2695 Similarly for stdout and stderr.
2697 2004-01-06 Jeff Johnston <jjohnstn@redhat.com>
2699 * libc/libc.texinfo: Correct escape character for @ sign
2700 so file will be processed by make info. Update copyright years.
2701 * libm/libm.texinfo: Ditto.
2703 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
2705 * libc/include/sys/stat.h: No longer include stat-dj.h.
2706 * libc/include/sys/stat-dj.h: Removed.
2708 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
2710 * libc/include/wchar.h: Include <sys/reent.h>.
2712 2003-12-05 Christopher Faylor <cgf@redhat.com>
2714 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
2715 when defining _mbrtowc.
2716 * libc/stdlib/mbsinit.c: Ditto.
2717 * libc/stdlib/mbsrtowcs.c: Ditto.
2718 * libc/stdlib/wcrtomb.c: Ditto.
2719 * libc/stdlib/wcsrtombs.c: Ditto.
2720 * libc/stdlib/wctob.c: Ditto.
2722 2003-12-05 Christopher Faylor <cgf@redhat.com>
2724 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
2725 errors when defining _mbrtowc.
2726 * libc/stdlib/mbsinit.c: Ditto.
2727 * libc/stdlib/mbsrtowcs.c: Ditto.
2729 2003-12-05 Christopher Faylor <cgf@redhat.com>
2731 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
2732 errors when defining _mbrtowc.
2734 2003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2736 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
2737 of mb routines for %lc and %ls support.
2738 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
2739 %ls, and %S support. Remove CYGNUS_NEC markers and
2742 2003-12-04 Jeff Johnston <jjohnstn@redhat.com>
2744 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
2745 _wcrtomb_r, and _wcsrtombs_r.
2747 2003-12-01 Corinna Vinschen <corinna@vinschen.de>
2749 * libc/include/sys/fcntl.h: Don't define struct flock when on
2750 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
2752 2003-11-28 Christopher Faylor <cgf@redhat.com>
2754 * libc/include/sys/signal.h: Use system specific signal file when
2757 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
2759 * libc/include/stdlib.h (_atoi_r): New prototype.
2760 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
2762 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
2764 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
2765 * libc/stdlib/atol.c (_atol_r): New reentrant function.
2766 * libc/stdlib/atoll.c (_atoll_r): Ditto.
2768 2003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2769 Jeff Johnston <jjohnstn@redhat.com>
2771 * libc/include/stdlib.h (lldiv_t): New type.
2772 (atoll, llabs, lldiv): New prototypes.
2773 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
2774 * libc/stdlib/stdlib.tex: Ditto.
2775 * libc/stdlib/Makefile.in: Regenerated.
2776 * libc/stdlib/atoll.c: New file.
2777 * libc/stdlib/llabs.c: Ditto.
2778 * libc/stdlib/lldiv.c: Ditto.
2780 2003-11-26 Corinna Vinschen <corinna@vinschen.de>
2782 * libc/include/fcntl.h: Declare syscalls only when building newlib.
2783 * libc/include/unistd.h: Ditto.
2784 * libc/include/stat.h: Ditto. Also declare struct stat64.
2786 2003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2788 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
2789 specifier to use ch instead of *fmt.
2791 2003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2793 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
2794 code within checks for MB_CAPABLE. For non-mb-capable platforms,
2795 use simple byte logic.
2797 2003-11-21 Jeff Johnston <jjohnstn@redhat.com>
2799 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
2800 _strtold routine for processing floats and doubles since it
2801 is not as fast as _strtod_r.
2803 2003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
2805 * libc/machine/h8300/defines.h : Correct pointer register defines
2807 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
2809 * libc/machine/h8300/reg_memcpy.S : Likewise.
2810 * libc/machine/h8300/reg_memset.S : Likewise.
2811 * libc/machine/h8300/strcmp.S : Likewise.
2813 2003-11-19 Nicholas Wourms <nwourms@netscape.net>
2815 * configure.host: Enable positional arguments for printf
2817 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
2818 pointer reference for quad_ptr_t.
2820 2003-11-19 Jeff Johnston <jjohnstn@redhat.com>
2822 * libc/stdio/scanf.c: Don't include local.h more than once.
2824 2003-11-18 Corinna Vinschen <corinna@vinschen.de>
2826 * libc/include/sys/fcntl.h: Declare _open64.
2827 * libc/include/sys/stat.h: Declare _fstat64.
2828 * libc/include/sys/unistd.h: Declare _lseek64.
2830 2003-11-17 Corinna Vinschen <corinna@vinschen.de>
2832 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
2833 (setprogname): Ditto.
2835 2003-11-10 Jeff Johnston <jjohnstn@redhat.com>
2837 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
2838 to use (Ebits + 1) which accounts for the sign-bit.
2840 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
2842 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
2844 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
2845 and set up default flags to pass to aclocal.
2846 * iconvdata/Makefile.in: Regenerated.
2847 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
2848 and getpwuid routines.
2849 * libc/sys/linux/Makefile.in: Regenerated.
2850 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
2851 applications to link with newlib's shared libc library.
2852 * libc/sys/linux/getpwnam.c: Ditto.
2853 * libc/sys/linux/getpwuid.c: Ditto.
2854 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
2855 that were formerly supplied by /usr/include/linux/types.h with
2857 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
2858 test _ELIX_LEVEL macro.
2860 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
2862 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
2863 referring to _NO_LONGLONG macro.
2865 2003-11-06 Jeff Johnston <jjohnstn@redhat.com>
2867 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
2868 in LOG() macro so this will compile on gcc 3.4 and up.
2869 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
2870 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
2871 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
2872 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
2873 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
2874 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
2875 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
2876 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
2877 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
2878 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
2879 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
2880 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
2881 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
2882 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
2883 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
2884 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
2885 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
2886 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
2887 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
2888 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
2889 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
2890 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
2891 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
2892 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
2893 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
2894 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
2895 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
2896 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
2897 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
2898 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
2899 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
2900 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
2901 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
2902 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
2903 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
2904 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
2906 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
2907 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2909 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
2910 %ls, %S, %lc, and %C format specifiers.
2912 * libc/stdio/sprintf.c: Add documentation regarding new
2913 format specifiers added in vfprintf.c.
2915 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
2917 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
2918 to make code work as specified in standard.
2920 2003-10-23 Jeff Johnston <jjohnstn@redhat.com>
2922 * configure.in: Use absolute newlib basedir when forming
2923 CC_FOR_NEWLIB include options.
2924 * configure: Regenerated.
2926 2003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2928 * libc/string/wcsnlen.c: New file.
2929 * libc/include/wchar.h: Add wcsnlen prototype.
2930 * libc/string/Makefile.am: Add wcsnlen support.
2931 * libc/string/Makefile.in: Regenerated.
2932 * libc/string/wcstrings.tex: Add wcsnlen documentation.
2934 2003-10-22 Richard Sandiford <rsandifo@redhat.com>
2936 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
2938 2003-10-20 Bob Wilson <bob.wilson@acm.org>
2940 * libc/locale/locale.c: Use double quotes in code.
2941 * libc/locale/locale.tex: Likewise.
2942 * libc/libc.texinfo: Hyphenate "floating-point".
2943 * libc/machine/necv70/necv70.tex: Likewise.
2944 * libc/stdio/sprintf.c: Likewise.
2945 * libc/stdio/sscanf.c: Likewise.
2946 * libc/stdlib/atof.c: Likewise.
2947 * libc/stdlib/ldtoa.c: Fix comment typo.
2948 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
2949 * libc/stdlib/ldiv.c: Likewise.
2950 * libm/common/s_expm1.c: Likewise.
2951 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
2952 * libm/common/s_infinity: Hyphenate "double- and single-precision".
2953 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
2954 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
2955 and "floating-point".
2956 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
2957 * libm/math/e_pow.c: Fix comment typo.
2958 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
2959 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
2960 * libm/math/s_atan.c: Likewise.
2961 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
2962 * libm/math/s_isnan.c: Hyphenate "single-precision" and
2963 "floating-point". Use "nonzero".
2964 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
2965 * libm/math/w_acos.c: Likewise.
2966 * libm/math/w_acosh.c: Likewise.
2967 * libm/math/w_asin.c: Likewise.
2968 * libm/math/w_atan2.c: Likewise.
2969 * libm/math/w_atanh.c: Likewise.
2970 * libm/math/w_cosh.c: Likewise.
2971 * libm/math/w_exp.c: Likewise.
2972 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
2973 version of 2^x in the description.
2974 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
2975 * libm/math/w_gamma.c: Likewise.
2976 * libm/math/w_hypot.c: Likewise.
2977 * libm/math/w_j0.c: Likewise.
2978 * libm/math/w_sinh.c: Likewise.
2979 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
2980 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
2982 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
2983 * libm/mathfp/e_atanh.c: Likewise.
2984 * libm/mathfp/e_hypot.c: Likewise.
2985 * libm/mathfp/er_lgamma.c: Likewise.
2986 * libm/mathfp/s_acos.c: Likewise.
2987 * libm/mathfp/s_asine.c: Likewise.
2988 * libm/mathfp/s_asinh.c: Likewise.
2989 * libm/mathfp/s_atan.c: Likewise.
2990 * libm/mathfp/s_atan2.c: Likewise.
2991 * libm/mathfp/s_atangent.c: Likewise.
2992 * libm/mathfp/s_cosh.c: Likewise.
2993 * libm/mathfp/s_exp.c: Likewise.
2994 * libm/mathfp/s_fmod.c: Likewise.
2995 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
2996 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
2997 "floating-point". Use "nonzero".
2998 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
2999 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
3000 * libm/mathfp/s_sineh.c: Likewise.
3001 * libm/mathfp/w_jn.c: Likewise.
3003 2003-10-15 Alexandre Oliva <aoliva@redhat.com>
3005 * Makefile.am: Add $(MAKE) comments to multido and multiclean
3006 lines, to enable parallel make.
3007 * Makefile.in: Rebuilt.
3009 2003-10-14 Christopher Faylor <cgf@redhat.com>
3011 * libc/time/clock.c: Clarify documentation of return value when no
3012 measurement is available.
3014 2003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
3016 * libm/configure.in: Check libm_machine_dir, not machine_dir.
3017 * libm/configure: Regenerate.
3018 * libm/Makefile.in: Ditto.
3020 2003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
3022 * libc/machine/sh/strncpy.S: New file.
3023 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
3024 * libc/machine/sh/Makefile.in: Regenerate.
3026 2003-09-11 James E Wilson <wilson@specifixinc.com>
3028 * MAINTAINERS: Update my e-mail address.
3030 2003-09-10 Corinna Vinschen <corinna@vinschen.de>
3032 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
3034 2003-09-09 Jeff Johnston <jjohnstn@redhat.com>
3036 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
3038 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
3039 _simdldcheck(). Also add unsigned cast for index variable in
3040 for loop using sizeof operators.
3041 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
3042 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
3043 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
3044 plus fix shift calculation for determining if there is a
3047 2003-09-09 Corinna Vinschen <corinna@vinschen.de>
3049 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
3050 setgroupent for Cygwin.
3052 2003-09-05 Jeff Johnston <jjohnstn@redhat.com>
3054 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
3055 is different for _REENT_SMALL than when using regular reent
3058 2003-09-05 Ben Elliston <bje@wasabisystems.com>
3060 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
3061 modern versions of GCC issue a warning.
3063 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
3064 after continuation characters that induces a warning from modern
3067 2003-09-04 Ben Elliston <bje@wasabisystems.com>
3069 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
3070 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
3072 2003-09-02 Thomas Pfaff <tpfaff@gmx.net>
3074 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
3075 * libc/stdlib/exit.c : Ditto.
3076 * libc/stdlib/on_exit.c: Ditto.
3078 2003-08-27 Corinna Vinschen <corinna@vinschen.de>
3080 * libc/include/reent.h: Define stat64 as __stat64 when
3081 compiling newlib for Cygwin.
3083 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
3085 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
3086 __stat64 when compiling newlib.
3088 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
3090 * libc/include/stdio.h: Allow the io64 function prototypes for
3091 Cygwin when compiling newlib.
3092 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
3093 to expose the Cygwin struct __stat64 type.
3094 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
3096 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
3098 2003-08-23 Christopher Faylor <cgf@redhat.com>
3100 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
3101 definition to fseeko64.
3103 2003-08-22 Jeff Johnston <jjohnstn@redhat.com>
3105 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
3106 * libc/stdio: Globally remove/replace all references to fp->_data.
3107 Replace with _REENT or _GLOBAL_REENT where appropriate.
3108 * libc/stdio/asprintf.c: Ditto.
3109 * libc/stdio/fclose.c: Ditto.
3110 * libc/stdio/fvwrite.c: Ditto.
3111 * libc/stdio/makebuf.c: Ditto.
3112 * libc/stdio/refill.c: Ditto.
3113 * libc/stdio/local.h: Ditto.
3114 * libc/stdio/setvbuf.c: Ditto.
3115 * libc/stdio/sscanf.c: Ditto.
3116 * libc/stdio/stdio.c: Ditto.
3117 * libc/stdio/ungetc.c: Ditto.
3118 * libc/stdio/vfscanf.c: Ditto.
3119 * libc/stdio/vsscanf.c: Ditto.
3120 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
3121 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
3122 * libc/stdio/vsnprintf.c: Ditto.
3123 * libc/stdio/vsprintf.c: Ditto.
3124 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
3125 instead of _REENT to walk file list.
3126 * libc/stdio/fflush.c: Ditto.
3127 * libc/stdio/fgetpos.c: Add reentrant version and have regular
3128 version call reentrant version with _REENT argument.
3129 * libc/stdio/fsetpos.c: Ditto.
3130 * libc/stdio/fseek.c: Ditto.
3131 * libc/stdio/fseeko.c: Ditto.
3132 * libc/stdio/ftell.c: Ditto.
3133 * libc/stdio/ftello.c: Ditto.
3134 * libc/stdio/freopen.c: Ditto.
3135 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
3136 new files to chain. Also use _GLOBAL_REENT pointer for
3138 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
3139 * libc/stdio/siprintf.c: Ditto.
3140 * libc/stdio/iprintf.c: Ditto.
3141 * libc/stdio/fprintf.c: Ditto.
3142 * libc/stdio/printf.c: Ditto.
3143 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
3144 * libc/stdio/sprintf.c: Ditto.
3145 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
3146 * libc/stdio/rewind.c: Call _fseek_r directly.
3147 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
3148 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
3150 (get_arg): Add extra struct _reent pointer argument.
3151 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
3153 * libc/stdio64/fopen64.c: Ditto.
3154 * libc/stdio64/freopen64.c: Ditto.
3155 * libc/stdio64/fsetpos64.c: Ditto.
3156 * libc/stdio64/ftello64.c: Ditto.
3157 * libc/stdio64/local64.h: Ditto.
3158 * libc/stdio64/stdio64.c: Ditto.
3159 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
3160 _fstat64_r for the meantime.
3162 2003-08-19 Jeff Johnston <jjohnstn@redhat.com>
3164 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
3167 2003-08-13 Aldy Hernandez <aldyh@redhat.com>
3169 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
3172 2003-08-13 Jeff Johnston <jjohnstn@redhat.com>
3174 * libc/include/math.h: Add prototypes for __signbitf and
3177 2003-07-31 Jeff Johnston <jjohnstn@redhat.com>
3179 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
3180 correct type of conversion when dealing with EUCJP or SJIS.
3181 * libc/ctype/iswblank.c: Ditto.
3182 * libc/ctype/iswcntrl.c: Ditto.
3183 * libc/ctype/iswprint.c: Ditto.
3184 * libc/ctype/iswpunct.c: Ditto.
3185 * libc/ctype/iswspace.c: Ditto.
3186 * libc/ctype/towlower.c: Ditto.
3187 * libc/ctype/towupper.c: Ditto.
3189 2003-07-31 Nick Clifton <nickc@redhat.com>
3191 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
3192 before calling main, in case it saves its argument registers.
3193 Remove reference to deleted v850ea port.
3194 * configure.host: Remove reference to deleted v850ea port.
3195 Do not use -mv850 when building for v850e target. This
3196 prevents the ctbp system register from being initialised.
3198 2003-07-29 Honda Hiroki <hhonda@ipflex.com>
3200 * libc/stdio/vfprintf.c: Set output size to 1 when
3201 we have %f format with precision 0 and # flag not specified.
3203 2003-07-29 Alexandre Oliva <aoliva@redhat.com>
3205 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
3208 2003-07-25 Christopher Faylor <cgf@redhat.com>
3210 * libc/stdio64/fdopen64.c: Include sys/lock.h.
3212 2003-07-25 Christopher Faylor <cgf@redhat.com>
3214 * configure.host: Find cygwin include directory, when appropriate.
3216 2003-07-24 Christopher Faylor <cgf@redhat.com>
3218 * libc/stdio64/fdopen64.c: New file.
3219 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
3220 * libc/stdio64/Makefile.in: Regenerate.
3221 * libc/include/stdio.h (fdopen64): Define.
3222 * libc/include/stdio.h (_fdopen64_r): Ditto.
3224 2003-07-10 Alexandre Oliva <aoliva@redhat.com>
3226 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
3227 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
3228 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
3229 restore callee-saved FP registers.
3231 2003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
3233 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
3235 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
3237 * libc/sys/sh/Makefile.in: Regenerate.
3238 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
3239 * libc/sys/sh/ftruncate.c: New file.
3240 * libc/sys/sh/truncate.c: Likewise.
3242 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
3244 * libc/include/math.h (nan, nanf): Update prototype to C99.
3245 * libm/common/s_nan.c (nan): Likewise.
3246 * libm/common/s_nanf.c (nanf, nan): Likewise.
3247 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
3249 2003-07-07 Jeff Johnston <jjohnstn@redhat.com>
3251 * libc/include/stdbool.h: Removed as this is defined by gcc.
3253 2003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
3255 * libc/include/stdbool.h: New header file defined by C99.
3257 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
3259 * libc/include/sys/types.h (int8_t): Make signed.
3261 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
3263 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
3265 2003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
3267 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
3268 on if we actually created the shared memory file exclusively.
3270 2003-06-27 Joe Vornehm <joev@mitre.org>
3272 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
3273 comparisons to account for unsigned internal value w.
3275 2003-06-26 Jeff Johnston <jjohnstn@redhat.com>
3277 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
3278 wrbuf for a non-creating open.
3280 2003-06-24 Kazu Hirata <kazu@cs.umass.edu>
3282 * libc/machine/h8300/setarch.h: New.
3283 * libc/machine/h8300/memcpy.S: Use it.
3284 * libc/machine/h8300/memset.S: Likewise.
3285 * libc/machine/h8300/reg_memcpy.S: Likewise.
3286 * libc/machine/h8300/reg_memset.S: Likewise.
3287 * libc/machine/h8300/setjmp.S: Likewise.
3288 * libc/machine/h8300/strcmp.S: Likewise.
3290 2003-06-24 Richard Sandiford <rsandifo@redhat.com>
3292 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
3295 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
3297 * configure.host (iq2000): Add tabs.
3299 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
3301 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
3302 to handle latest on_exit change.
3303 * libc/sys/linux/Makefile.am: Remove special compilation
3304 for malloc.c and mcheck.c.
3305 * libc/sys/linux/Makefile.in: Regenerated.
3306 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
3307 after including <features.h>.
3308 * libc/sys/linux/mcheck.c: Ditto.
3309 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
3311 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
3312 add -DNOT_IN_libc to C flags.
3313 * libc/sys/linux/intl/Makefile.in: Regenerated.
3314 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
3315 * libc/sys/linux/linuxthreads/semaphore.h: Include
3316 <bits/pthreadtypes.h>.
3317 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
3318 including <features.h>.
3319 * libc/sys/linux/sys/lock.h: Ditto.
3321 2003-06-11 Nick Clifton <nickc@redhat.com>
3323 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
3326 2003-06-10 Stan Cox <scox@redhat.com>
3327 Anthony Green <green@redhat.com>
3329 * configure.host: Add iq2000 support.
3330 * newlib/libc/include/machine/ieeefp.h: Ditto.
3331 * newlib/libc/include/machine/setjmp.h: Ditto.
3332 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
3333 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
3334 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
3335 libc/machine/iq2000/Makefile.in: New files.
3337 2003-06-10 Richard Sandiford <rsandifo@redhat.com>
3339 * libc/sys/h8300hms/setarch.h: New file.
3340 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
3341 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
3342 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
3343 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
3345 2003-06-06 Jeff Johnston <jjohnstn@redhat.com>
3347 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
3349 * libc/argz/argz_add_sep.c: Ditto.
3350 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
3351 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
3352 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
3353 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
3354 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
3355 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
3356 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
3357 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
3358 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
3359 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
3360 * libc/posix/execl.c libc/posix/execle.c: Ditto.
3361 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
3362 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
3363 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
3364 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
3365 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
3366 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
3367 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
3368 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
3369 * libc/search/twalk.c libc/signal/signal.c: Ditto.
3371 2003-06-05 Nick Clifton <nickc@redhat.com>
3373 * libc/include/sys/reent.h (struct _on_exit_args): New
3374 structure containing fields used by the on_exit() function.
3375 (struct _atexit): Include struct _on_exit_args. For
3376 _REENT_SMALL do his via a pointer that is initialised when
3378 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
3379 structure, if one has been allocated.
3380 * libc/stdlib/atexit.c (atexit): Update indirection to
3382 * libc/stdlib/on_exit.c (on_exit): Indirect via the
3383 _on_exit_args structure. For _REENT_SMALL, allocate a
3384 structure if one does not exist.
3385 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
3388 2003-06-04 Jeff Johnston <jjohnstn@redhat.com>
3390 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
3391 * libc/sys/linux/net/Makefile.in: Regenerated.
3393 2003-06-03 Jeff Johnston <jjohnstn@redhat.com>
3395 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
3396 * libc/reent/fcntlr.c: Ditto.
3397 * libc/reent/fstat64r.c: Ditto.
3398 * libc/reent/linkr.c: Ditto.
3399 * libc/reent/lseek64r.c: Ditto.
3400 * libc/reent/lseekr.c: Ditto.
3401 * libc/reent/openr.c: Ditto.
3402 * libc/reent/readr.c: Ditto.
3403 * libc/reent/reent.c: Ditto.
3404 * libc/reent/sbrkr.c: Ditto.
3405 * libc/reent/signalr.c: Ditto.
3406 * libc/reent/signgam.c: Ditto.
3407 * libc/reent/statr.c: Ditto.
3408 * libc/reent/timer.c: Ditto.
3409 * libc/reent/unlinkr.c: Ditto.
3410 * libc/reent/writer.c: Ditto.
3411 * libc/syscalls/sysclose.c: Ditto.
3412 * libc/syscalls/sysexecve.c: Ditto.
3413 * libc/syscalls/sysfcntl.c: Ditto.
3414 * libc/syscalls/sysfork.c: Ditto.
3415 * libc/syscalls/sysfstat.c: Ditto.
3416 * libc/syscalls/sysgetpid.c: Ditto.
3417 * libc/syscalls/sysgettod.c: Ditto.
3418 * libc/syscalls/syskill.c: Ditto.
3419 * libc/syscalls/syslink.c: Ditto.
3420 * libc/syscalls/syslseek.c: Ditto.
3421 * libc/syscalls/sysopen.c: Ditto.
3422 * libc/syscalls/sysread.c: Ditto.
3423 * libc/syscalls/syssbrk.c: Ditto.
3424 * libc/syscalls/sysstat.c: Ditto.
3425 * libc/syscalls/systimes.c: Ditto.
3426 * libc/syscalls/sysunlink.c: Ditto.
3427 * libc/syscalls/syswait.c: Ditto.
3428 * libc/syscalls/syswrite.c: Ditto.
3430 2003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
3432 * libc/time/tzset_r.c: Change local variables that are
3433 set via sscanf using the %h format specifier to be unsigned short
3436 2003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
3438 * configure.host: Allow i[34567]86 variant.
3439 * configure.in: Likewise.
3440 * README: Likewise to the docs.
3441 * configure: Regenerated.
3442 * Makefile.in: Ditto.
3444 2003-05-28 Jeff Johnston <jjohnstn@redhat.com>
3445 Tom Fitzsimmons <fitzsim@redhat.com>
3447 * configure.in: Add iconvdata support for x86 linux.
3448 * configure: Regenerated.
3449 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
3450 library, iconv, and linuxthreads support.
3451 * libc/sys/linux/configure.in: Ditto.
3452 * libc/sys/linux/Makefile.in: Regenerated.
3453 * libc/sys/linux/configure: Ditto.
3454 * iconvdata/EUC-JP.irreversible: New file.
3455 * iconvdata/Makefile.am: Ditto.
3456 * iconvdata/Makefile.in: Ditto.
3457 * iconvdata/SJIS.irreversible: Ditto.
3458 * iconvdata/aclocal.m4: Ditto.
3459 * iconvdata/configure: Ditto.
3460 * iconvdata/configure.in: Ditto.
3461 * iconvdata/dummy.c: Ditto.
3462 * iconvdata/euc-jp.c: Ditto.
3463 * iconvdata/gconv-modules: Ditto.
3464 * iconvdata/jis0201.c: Ditto.
3465 * iconvdata/jis0201.h: Ditto.
3466 * iconvdata/jis0208.c: Ditto.
3467 * iconvdata/jis0208.h: Ditto.
3468 * iconvdata/jis0212.c: Ditto.
3469 * iconvdata/jis0212.h: Ditto.
3470 * iconvdata/sjis.c: Ditto.
3471 * libc/include/errno.h: Protect definition of error_t.
3472 * libc/sys/linux/gethostid.c: New file.
3473 * libc/sys/linux/sethostid.c: Ditto.
3474 * libc/sys/linux/dl/Makefile.am: Ditto.
3475 * libc/sys/linux/dl/Makefile.in: Ditto.
3476 * libc/sys/linux/dl/abi-tag.h: Ditto.
3477 * libc/sys/linux/dl/atomicity.h: Ditto.
3478 * libc/sys/linux/dl/dl-addr.c: Ditto.
3479 * libc/sys/linux/dl/dl-cache.c: Ditto.
3480 * libc/sys/linux/dl/dl-cache.h: Ditto.
3481 * libc/sys/linux/dl/dl-close.c: Ditto.
3482 * libc/sys/linux/dl/dl-debug.c: Ditto.
3483 * libc/sys/linux/dl/dl-deps.c: Ditto.
3484 * libc/sys/linux/dl/dl-dst.h: Ditto.
3485 * libc/sys/linux/dl/dl-error.c: Ditto.
3486 * libc/sys/linux/dl/dl-fini.c: Ditto.
3487 * libc/sys/linux/dl/dl-init.c: Ditto.
3488 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
3489 * libc/sys/linux/dl/dl-libc.c: Ditto.
3490 * libc/sys/linux/dl/dl-librecon.h: Ditto.
3491 * libc/sys/linux/dl/dl-load.c: Ditto.
3492 * libc/sys/linux/dl/dl-lookup.c: Ditto.
3493 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
3494 * libc/sys/linux/dl/dl-minimal.c: Ditto.
3495 * libc/sys/linux/dl/dl-misc.c: Ditto.
3496 * libc/sys/linux/dl/dl-object.c: Ditto.
3497 * libc/sys/linux/dl/dl-open.c: Ditto.
3498 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
3499 * libc/sys/linux/dl/dl-profile.c: Ditto.
3500 * libc/sys/linux/dl/dl-profstub.c: Ditto.
3501 * libc/sys/linux/dl/dl-reloc.c: Ditto.
3502 * libc/sys/linux/dl/dl-runtime.c: Ditto.
3503 * libc/sys/linux/dl/dl-support.c: Ditto.
3504 * libc/sys/linux/dl/dl-sym.c: Ditto.
3505 * libc/sys/linux/dl/dl-version.c: Ditto.
3506 * libc/sys/linux/dl/dlfcn.h: Ditto.
3507 * libc/sys/linux/dl/do-lookup.h: Ditto.
3508 * libc/sys/linux/dl/do-rel.h: Ditto.
3509 * libc/sys/linux/dl/dynamic-link.h: Ditto.
3510 * libc/sys/linux/dl/kernel-features.h: Ditto.
3511 * libc/sys/linux/dl/ldsodefs.h: Ditto.
3512 * libc/sys/linux/dl/libintl.h: Ditto.
3513 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
3514 * libc/sys/linux/dl/unsecvars.h: Ditto.
3515 * libc/sys/linux/iconv/Makefile.am: Ditto.
3516 * libc/sys/linux/iconv/Makefile.in: Ditto.
3517 * libc/sys/linux/iconv/categories.def: Ditto.
3518 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
3519 * libc/sys/linux/iconv/gconv.c: Ditto.
3520 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
3521 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
3522 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
3523 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
3524 * libc/sys/linux/iconv/gconv_close.c: Ditto.
3525 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
3526 * libc/sys/linux/iconv/gconv_db.c: Ditto.
3527 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
3528 * libc/sys/linux/iconv/gconv_int.h: Ditto.
3529 * libc/sys/linux/iconv/gconv_open.c: Ditto.
3530 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
3531 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
3532 * libc/sys/linux/iconv/hash-string.h: Ditto.
3533 * libc/sys/linux/iconv/iconv.c: Ditto.
3534 * libc/sys/linux/iconv/iconv.h: Ditto.
3535 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
3536 * libc/sys/linux/iconv/iconv_close.c: Ditto.
3537 * libc/sys/linux/iconv/iconv_open.c: Ditto.
3538 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
3539 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
3540 * libc/sys/linux/iconv/loadinfo.h: Ditto.
3541 * libc/sys/linux/iconv/localeinfo.h: Ditto.
3542 * libc/sys/linux/iconv/loop.c: Ditto.
3543 * libc/sys/linux/iconv/skeleton.c: Ditto.
3544 * libc/sys/linux/iconv/strtab.c: Ditto.
3545 * libc/sys/linux/include/dl-hash.h: Ditto.
3546 * libc/sys/linux/include/dlfcn.h: Ditto.
3547 * libc/sys/linux/include/fnmatch.h: Ditto.
3548 * libc/sys/linux/include/gconv.h: Ditto.
3549 * libc/sys/linux/include/glob.h: Ditto.
3550 * libc/sys/linux/include/hesiod.h: Ditto.
3551 * libc/sys/linux/include/ifaddrs.h: Ditto.
3552 * libc/sys/linux/include/libc_private.h: Ditto.
3553 * libc/sys/linux/include/link.h: Ditto.
3554 * libc/sys/linux/include/namespace.h: Ditto.
3555 * libc/sys/linux/include/netconfig.h: Ditto.
3556 * libc/sys/linux/include/netdb.h: Ditto.
3557 * libc/sys/linux/include/nsswitch.h: Ditto.
3558 * libc/sys/linux/include/regex.h: Ditto.
3559 * libc/sys/linux/include/resolv.h: Ditto.
3560 * libc/sys/linux/include/rune.h: Ditto.
3561 * libc/sys/linux/include/runetype.h: Ditto.
3562 * libc/sys/linux/include/semaphore.h: Ditto.
3563 * libc/sys/linux/include/setlocale.h: Ditto.
3564 * libc/sys/linux/include/un-namespace.h: Ditto.
3565 * libc/sys/linux/include/wordexp.h: Ditto.
3566 * libc/sys/linux/include/arpa/ftp.h: Ditto.
3567 * libc/sys/linux/include/arpa/inet.h: Ditto.
3568 * libc/sys/linux/include/arpa/nameser.h: Ditto.
3569 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
3570 * libc/sys/linux/include/arpa/telnet.h: Ditto.
3571 * libc/sys/linux/include/arpa/tftp.h: Ditto.
3572 * libc/sys/linux/include/net/bpf.h: Ditto.
3573 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
3574 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
3575 * libc/sys/linux/include/net/bridge.h: Ditto.
3576 * libc/sys/linux/include/net/ethernet.h: Ditto.
3577 * libc/sys/linux/include/net/fddi.h: Ditto.
3578 * libc/sys/linux/include/net/if.h: Ditto.
3579 * libc/sys/linux/include/net/if_arc.h: Ditto.
3580 * libc/sys/linux/include/net/if_arp.h: Ditto.
3581 * libc/sys/linux/include/net/if_atm.h: Ditto.
3582 * libc/sys/linux/include/net/if_dl.h: Ditto.
3583 * libc/sys/linux/include/net/if_gif.h: Ditto.
3584 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
3585 * libc/sys/linux/include/net/if_llc.h: Ditto.
3586 * libc/sys/linux/include/net/if_media.h: Ditto.
3587 * libc/sys/linux/include/net/if_mib.h: Ditto.
3588 * libc/sys/linux/include/net/if_ppp.h: Ditto.
3589 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
3590 * libc/sys/linux/include/net/if_slvar.h: Ditto.
3591 * libc/sys/linux/include/net/if_sppp.h: Ditto.
3592 * libc/sys/linux/include/net/if_stf.h: Ditto.
3593 * libc/sys/linux/include/net/if_tap.h: Ditto.
3594 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
3595 * libc/sys/linux/include/net/if_tun.h: Ditto.
3596 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
3597 * libc/sys/linux/include/net/if_types.h: Ditto.
3598 * libc/sys/linux/include/net/if_var.h: Ditto.
3599 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
3600 * libc/sys/linux/include/net/intrq.h: Ditto.
3601 * libc/sys/linux/include/net/iso88025.h: Ditto.
3602 * libc/sys/linux/include/net/net_osdep.h: Ditto.
3603 * libc/sys/linux/include/net/netisr.h: Ditto.
3604 * libc/sys/linux/include/net/pfil.h: Ditto.
3605 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
3606 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
3607 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
3608 * libc/sys/linux/include/net/radix.h: Ditto.
3609 * libc/sys/linux/include/net/raw_cb.h: Ditto.
3610 * libc/sys/linux/include/net/route.h: Ditto.
3611 * libc/sys/linux/include/net/slcompress.h: Ditto.
3612 * libc/sys/linux/include/net/slip.h: Ditto.
3613 * libc/sys/linux/include/net/zlib.h: Ditto.
3614 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
3615 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
3616 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
3617 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
3618 * libc/sys/linux/include/netinet/igmp.h: Ditto.
3619 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
3620 * libc/sys/linux/include/netinet/in.h: Ditto.
3621 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
3622 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
3623 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
3624 * libc/sys/linux/include/netinet/in_var.h: Ditto.
3625 * libc/sys/linux/include/netinet/ip.h: Ditto.
3626 * libc/sys/linux/include/netinet/ip6.h: Ditto.
3627 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
3628 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
3629 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
3630 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
3631 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
3632 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
3633 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
3634 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
3635 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
3636 * libc/sys/linux/include/netinet/tcp.h: Ditto.
3637 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
3638 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
3639 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
3640 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
3641 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
3642 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
3643 * libc/sys/linux/include/netinet/udp.h: Ditto.
3644 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
3645 * libc/sys/linux/include/netinet6/ah.h: Ditto.
3646 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
3647 * libc/sys/linux/include/netinet6/esp.h: Ditto.
3648 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
3649 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
3650 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
3651 * libc/sys/linux/include/netinet6/in6.h: Ditto.
3652 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
3653 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
3654 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
3655 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
3656 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
3657 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
3658 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
3659 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
3660 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
3661 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
3662 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
3663 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
3664 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
3665 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
3666 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
3667 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
3668 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
3669 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
3670 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
3671 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
3672 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
3673 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
3674 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
3675 * libc/sys/linux/include/netns/idp.h: Ditto.
3676 * libc/sys/linux/include/netns/idp_var.h: Ditto.
3677 * libc/sys/linux/include/netns/ns.h: Ditto.
3678 * libc/sys/linux/include/netns/ns_error.h: Ditto.
3679 * libc/sys/linux/include/netns/ns_if.h: Ditto.
3680 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
3681 * libc/sys/linux/include/netns/sp.h: Ditto.
3682 * libc/sys/linux/include/netns/spidp.h: Ditto.
3683 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
3684 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
3685 * libc/sys/linux/include/netns/spp_var.h: Ditto.
3686 * libc/sys/linux/include/rpc/Makefile: Ditto.
3687 * libc/sys/linux/include/rpc/auth.h: Ditto.
3688 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
3689 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
3690 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
3691 * libc/sys/linux/include/rpc/clnt.h: Ditto.
3692 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
3693 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
3694 * libc/sys/linux/include/rpc/des.h: Ditto.
3695 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
3696 * libc/sys/linux/include/rpc/nettype.h: Ditto.
3697 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
3698 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
3699 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
3700 * libc/sys/linux/include/rpc/raw.h: Ditto.
3701 * libc/sys/linux/include/rpc/rpc.h: Ditto.
3702 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
3703 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
3704 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
3705 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
3706 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
3707 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
3708 * libc/sys/linux/include/rpc/svc.h: Ditto.
3709 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
3710 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
3711 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
3712 * libc/sys/linux/include/rpc/types.h: Ditto.
3713 * libc/sys/linux/include/rpc/xdr.h: Ditto.
3714 * libc/sys/linux/intl/Makefile.am: Ditto.
3715 * libc/sys/linux/intl/Makefile.in: Ditto.
3716 * libc/sys/linux/intl/bindtextdom.c: Ditto.
3717 * libc/sys/linux/intl/catgets.c: Ditto.
3718 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
3719 * libc/sys/linux/intl/config.h: Ditto.
3720 * libc/sys/linux/intl/dcgettext.c: Ditto.
3721 * libc/sys/linux/intl/dcigettext.c: Ditto.
3722 * libc/sys/linux/intl/dcngettext.c: Ditto.
3723 * libc/sys/linux/intl/dgettext.c: Ditto.
3724 * libc/sys/linux/intl/dngettext.c: Ditto.
3725 * libc/sys/linux/intl/explodename.c: Ditto.
3726 * libc/sys/linux/intl/finddomain.c: Ditto.
3727 * libc/sys/linux/intl/gettext.c: Ditto.
3728 * libc/sys/linux/intl/gettext.h: Ditto.
3729 * libc/sys/linux/intl/gettextP.h: Ditto.
3730 * libc/sys/linux/intl/hash-string.h: Ditto.
3731 * libc/sys/linux/intl/l10nflist.c: Ditto.
3732 * libc/sys/linux/intl/loadinfo.h: Ditto.
3733 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
3734 * libc/sys/linux/intl/locale.alias: Ditto.
3735 * libc/sys/linux/intl/localealias.c: Ditto.
3736 * libc/sys/linux/intl/ngettext.c: Ditto.
3737 * libc/sys/linux/intl/open_catalog.c: Ditto.
3738 * libc/sys/linux/intl/plural.c: Ditto.
3739 * libc/sys/linux/intl/plural.y: Ditto.
3740 * libc/sys/linux/intl/stpcpy.c: Ditto.
3741 * libc/sys/linux/intl/textdomain.c: Ditto.
3742 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
3743 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
3744 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
3745 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
3746 * libc/sys/linux/linuxthreads/attr.c: Ditto.
3747 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
3748 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
3749 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
3750 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
3751 * libc/sys/linux/linuxthreads/config.h: Ditto.
3752 * libc/sys/linux/linuxthreads/configure: Ditto.
3753 * libc/sys/linux/linuxthreads/configure.in: Ditto.
3754 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
3755 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
3756 * libc/sys/linux/linuxthreads/events.c: Ditto.
3757 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
3758 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
3759 * libc/sys/linux/linuxthreads/internals.h: Ditto.
3760 * libc/sys/linux/linuxthreads/join.c: Ditto.
3761 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
3762 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
3763 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
3764 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
3765 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
3766 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
3767 * libc/sys/linux/linuxthreads/manager.c: Ditto.
3768 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
3769 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
3770 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
3771 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
3772 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
3773 * libc/sys/linux/linuxthreads/prio.c: Ditto.
3774 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
3775 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
3776 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
3777 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
3778 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
3779 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
3780 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
3781 * libc/sys/linux/linuxthreads/queue.h: Ditto.
3782 * libc/sys/linux/linuxthreads/reent.c: Ditto.
3783 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
3784 * libc/sys/linux/linuxthreads/restart.h: Ditto.
3785 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
3786 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
3787 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
3788 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
3789 * libc/sys/linux/linuxthreads/signals.c: Ditto.
3790 * libc/sys/linux/linuxthreads/specific.c: Ditto.
3791 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
3792 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
3793 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
3794 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
3795 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
3796 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
3797 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
3798 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
3799 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
3800 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
3801 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
3802 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
3803 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
3804 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
3805 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
3806 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
3807 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
3808 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
3809 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
3810 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
3811 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
3812 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
3813 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
3814 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
3815 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
3816 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
3817 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
3818 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
3819 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
3820 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
3821 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
3822 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
3823 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
3824 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
3825 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
3826 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
3827 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
3828 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
3829 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
3830 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
3831 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
3832 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
3833 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
3834 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
3835 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
3836 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
3837 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
3838 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
3839 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
3840 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
3841 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
3842 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
3843 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
3844 * libc/sys/linux/linuxthreads/unload.c: Ditto.
3845 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
3846 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
3847 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
3848 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
3849 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
3850 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
3851 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
3852 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
3853 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
3854 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
3855 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
3856 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
3857 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
3858 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
3859 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
3860 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
3861 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
3862 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
3863 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
3864 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
3865 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
3866 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
3867 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
3868 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
3869 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
3870 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
3871 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
3872 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
3873 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
3874 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
3875 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
3876 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
3877 * libc/sys/linux/net/Makefile.am: Ditto.
3878 * libc/sys/linux/net/Makefile.in: Ditto.
3879 * libc/sys/linux/net/addr2ascii.3: Ditto.
3880 * libc/sys/linux/net/addr2ascii.c: Ditto.
3881 * libc/sys/linux/net/ascii2addr.c: Ditto.
3882 * libc/sys/linux/net/base64.c: Ditto.
3883 * libc/sys/linux/net/bindresvport.c: Ditto.
3884 * libc/sys/linux/net/byteorder.3: Ditto.
3885 * libc/sys/linux/net/ether_addr.c: Ditto.
3886 * libc/sys/linux/net/ethers.3: Ditto.
3887 * libc/sys/linux/net/getaddrinfo.3: Ditto.
3888 * libc/sys/linux/net/getaddrinfo.c: Ditto.
3889 * libc/sys/linux/net/gethostbydns.c: Ditto.
3890 * libc/sys/linux/net/gethostbyht.c: Ditto.
3891 * libc/sys/linux/net/gethostbyname.3: Ditto.
3892 * libc/sys/linux/net/gethostbynis.c: Ditto.
3893 * libc/sys/linux/net/gethostnamadr.c: Ditto.
3894 * libc/sys/linux/net/getifaddrs.3: Ditto.
3895 * libc/sys/linux/net/getifaddrs.c: Ditto.
3896 * libc/sys/linux/net/getipnodebyname.3: Ditto.
3897 * libc/sys/linux/net/getnameinfo.3: Ditto.
3898 * libc/sys/linux/net/getnameinfo.c: Ditto.
3899 * libc/sys/linux/net/getnetbydns.c: Ditto.
3900 * libc/sys/linux/net/getnetbyht.c: Ditto.
3901 * libc/sys/linux/net/getnetbynis.c: Ditto.
3902 * libc/sys/linux/net/getnetent.3: Ditto.
3903 * libc/sys/linux/net/getnetnamadr.c: Ditto.
3904 * libc/sys/linux/net/getproto.c: Ditto.
3905 * libc/sys/linux/net/getprotoent.3: Ditto.
3906 * libc/sys/linux/net/getprotoent.c: Ditto.
3907 * libc/sys/linux/net/getprotoname.c: Ditto.
3908 * libc/sys/linux/net/getservbyname.c: Ditto.
3909 * libc/sys/linux/net/getservbyport.c: Ditto.
3910 * libc/sys/linux/net/getservent.3: Ditto.
3911 * libc/sys/linux/net/getservent.c: Ditto.
3912 * libc/sys/linux/net/herror.c: Ditto.
3913 * libc/sys/linux/net/hesiod.3: Ditto.
3914 * libc/sys/linux/net/hesiod.c: Ditto.
3915 * libc/sys/linux/net/if_indextoname.3: Ditto.
3916 * libc/sys/linux/net/ifname.c: Ditto.
3917 * libc/sys/linux/net/inet.3: Ditto.
3918 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
3919 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
3920 * libc/sys/linux/net/inet_addr.c: Ditto.
3921 * libc/sys/linux/net/inet_lnaof.c: Ditto.
3922 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
3923 * libc/sys/linux/net/inet_net.3: Ditto.
3924 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
3925 * libc/sys/linux/net/inet_net_pton.c: Ditto.
3926 * libc/sys/linux/net/inet_neta.c: Ditto.
3927 * libc/sys/linux/net/inet_netof.c: Ditto.
3928 * libc/sys/linux/net/inet_network.c: Ditto.
3929 * libc/sys/linux/net/inet_ntoa.c: Ditto.
3930 * libc/sys/linux/net/inet_ntop.c: Ditto.
3931 * libc/sys/linux/net/inet_pton.c: Ditto.
3932 * libc/sys/linux/net/innetgr-stub.c: Ditto.
3933 * libc/sys/linux/net/ip6opt.c: Ditto.
3934 * libc/sys/linux/net/iso_addr.3: Ditto.
3935 * libc/sys/linux/net/iso_addr.c: Ditto.
3936 * libc/sys/linux/net/issetugid-stub.c: Ditto.
3937 * libc/sys/linux/net/linkaddr.3: Ditto.
3938 * libc/sys/linux/net/linkaddr.c: Ditto.
3939 * libc/sys/linux/net/map_v4v6.c: Ditto.
3940 * libc/sys/linux/net/name6.c: Ditto.
3941 * libc/sys/linux/net/namespace.h: Ditto.
3942 * libc/sys/linux/net/ns.3: Ditto.
3943 * libc/sys/linux/net/ns_addr.c: Ditto.
3944 * libc/sys/linux/net/ns_name.c: Ditto.
3945 * libc/sys/linux/net/ns_netint.c: Ditto.
3946 * libc/sys/linux/net/ns_ntoa.c: Ditto.
3947 * libc/sys/linux/net/ns_parse.c: Ditto.
3948 * libc/sys/linux/net/ns_print.c: Ditto.
3949 * libc/sys/linux/net/ns_ttl.c: Ditto.
3950 * libc/sys/linux/net/nsap_addr.c: Ditto.
3951 * libc/sys/linux/net/nsdispatch.3: Ditto.
3952 * libc/sys/linux/net/nsdispatch.c: Ditto.
3953 * libc/sys/linux/net/nslexer.c: Ditto.
3954 * libc/sys/linux/net/nslexer.l: Ditto.
3955 * libc/sys/linux/net/nsparser.c: Ditto.
3956 * libc/sys/linux/net/nsparser.h: Ditto.
3957 * libc/sys/linux/net/nsparser.y: Ditto.
3958 * libc/sys/linux/net/rcmd.3: Ditto.
3959 * libc/sys/linux/net/rcmd.c: Ditto.
3960 * libc/sys/linux/net/rcmdsh.3: Ditto.
3961 * libc/sys/linux/net/rcmdsh.c: Ditto.
3962 * libc/sys/linux/net/recv.c: Ditto.
3963 * libc/sys/linux/net/res_comp.c: Ditto.
3964 * libc/sys/linux/net/res_config.h: Ditto.
3965 * libc/sys/linux/net/res_data.c: Ditto.
3966 * libc/sys/linux/net/res_debug.c: Ditto.
3967 * libc/sys/linux/net/res_init.c: Ditto.
3968 * libc/sys/linux/net/res_mkquery.c: Ditto.
3969 * libc/sys/linux/net/res_mkupdate.c: Ditto.
3970 * libc/sys/linux/net/res_query.c: Ditto.
3971 * libc/sys/linux/net/res_send.c: Ditto.
3972 * libc/sys/linux/net/res_update.c: Ditto.
3973 * libc/sys/linux/net/resolver.3: Ditto.
3974 * libc/sys/linux/net/rthdr.c: Ditto.
3975 * libc/sys/linux/net/send.c: Ditto.
3976 * libc/sys/linux/net/un-namespace.h: Ditto.
3977 * libc/sys/linux/net/vars.c: Ditto.
3978 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
3979 * libc/sys/linux/stdlib/Makefile.am: Ditto.
3980 * libc/sys/linux/stdlib/Makefile.in: Ditto.
3981 * libc/sys/linux/stdlib/cclass.h: Ditto.
3982 * libc/sys/linux/stdlib/cname.h: Ditto.
3983 * libc/sys/linux/stdlib/collate.c: Ditto.
3984 * libc/sys/linux/stdlib/collate.h: Ditto.
3985 * libc/sys/linux/stdlib/collcmp.c: Ditto.
3986 * libc/sys/linux/stdlib/engine.c: Ditto.
3987 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
3988 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
3989 * libc/sys/linux/stdlib/glob.3: Ditto.
3990 * libc/sys/linux/stdlib/glob.c: Ditto.
3991 * libc/sys/linux/stdlib/reallocf.c: Ditto.
3992 * libc/sys/linux/stdlib/regcomp.c: Ditto.
3993 * libc/sys/linux/stdlib/regerror.c: Ditto.
3994 * libc/sys/linux/stdlib/regex.3: Ditto.
3995 * libc/sys/linux/stdlib/regex2.h: Ditto.
3996 * libc/sys/linux/stdlib/regexec.c: Ditto.
3997 * libc/sys/linux/stdlib/regfree.c: Ditto.
3998 * libc/sys/linux/stdlib/utils.h: Ditto.
3999 * libc/sys/linux/stdlib/wordexp.c: Ditto.
4000 * libc/sys/linux/stdlib/wordfree.c: Ditto.
4001 * libc/sys/linux/sys/dlfcn.h: Ditto.
4002 * libc/sys/linux/sys/elfclass.h: Ditto.
4003 * libc/sys/linux/sys/event.h: Ditto.
4004 * libc/sys/linux/sys/ioccom.h: Ditto.
4005 * libc/sys/linux/sys/libc-tsd.h: Ditto.
4006 * libc/sys/linux/sys/link.h: Ditto.
4007 * libc/sys/linux/sys/lock.h: Ditto.
4008 * libc/sys/linux/sys/param.h: Ditto.
4009 * libc/sys/linux/sys/socket.h: Ditto.
4010 * libc/sys/linux/sys/sockio.h: Ditto.
4012 2003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
4014 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
4016 * newlib/libc/machine/h8300/memset.S: Likewise
4017 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
4018 * newlib/lib/machine/h8300/reg_memset.S: Likewise
4019 * newlib/lib/machine/h8300/setjmp.S: Likewise
4020 * newlib/lib/machine/h8300/strcmp.S: Likewise
4021 * newlib/lib/sys/h8300hms/crt0.S: Likewise
4023 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
4025 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
4026 * libc/include/stdio.h: Ditto.
4027 * libc/include/sys/config.h: Ditto.
4028 * libc/stdio/mktemp.c: Ditto.
4030 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
4032 * libc/locale/ldpart.c (__part_load_locale): Substitute
4033 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
4034 * libc/search/hash.c (__hash_open): Ditto.
4036 * libc/stdio/fseek.c (fseek): Ditto.
4037 * libc/stdio/makebuf.c (__smakebuf): Ditto.
4038 * libc/stdio/mktemp.c (_gettemp): Ditto.
4040 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
4042 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
4044 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
4046 * configure.host: Accomodate removing the libc/sys/cygwin dir.
4047 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
4048 if __CYGWIN_USE_BIG_TYPES__ is set.
4049 * libc/search/hash.c (__hash_open): Ditto.
4051 * libc/stdio/fseek.c (fseek): Ditto.
4052 * libc/stdio/makebuf.c (__smakebuf): Ditto.
4053 * libc/stdio/mktemp.c (_gettemp): Ditto.
4054 * libc/sys/cygwin/Makefile.am: Remove.
4055 * libc/sys/cygwin/Makefile.in: Remove.
4056 * libc/sys/cygwin/aclocal.m4: Remove.
4057 * libc/sys/cygwin/configure: Remove.
4058 * libc/sys/cygwin/configure.in: Remove.
4059 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
4060 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
4062 * libc/sys/cygwin/sys/param.h: Ditto.
4063 * libc/sys/cygwin/sys/utime.h: Ditto.
4064 * libc/sys/cygwin/sys/utmp.h: Ditto.
4066 2003-05-11 Corinna Vinschen <corinna@vinschen.de>
4068 * libc/include/sys/types.h: Don't define key_t for Cygwin.
4070 2003-05-10 Christopher Faylor <cgf@redhat.com>
4072 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
4075 2003-05-09 Corinna Vinschen <corinna@vinschen.de>
4077 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
4078 Include cygwin/config.h instead.
4080 2003-04-16 Jeff Johnston <jjohnstn@redhat.com>
4082 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
4083 all code with #ifdef __SPE__ test.
4084 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
4086 2003-04-15 Chris January <chris@atomice.net>
4088 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
4091 2003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
4093 * libc/machine/sh/memset.S: Avoid clobbering volatile
4094 objects following a tiny to-be-set array in the same quadword.
4096 2001-04-09 Corinna Vinschen <corinna@vinschen.de>
4098 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
4099 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
4100 * libc/string/Makefile.in: Regenerated.
4101 * libc/string/wcswidth.c: New file.
4102 * libc/string/wcwidth.c: New file.
4103 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
4105 Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
4107 * libc/machine/sh/memset.S: Fix problem with alloco region
4108 exceeding destination region for length >= 88 bytes, start
4109 & 0x16 == 0, end & 0x1f == 18.
4111 2001-04-03 Corinna Vinschen <corinna@vinschen.de>
4113 * libc/string/wcscoll.c: Fix comment.
4115 2001-04-02 Corinna Vinschen <corinna@vinschen.de>
4117 * libc/include/wchar.h: Add definition for wcscoll.
4118 * libc/string/Makefile.am: Add wcscoll.c.
4119 * libc/string/Makefile.in: Regenerated.
4120 * libc/string/wcscoll.c: New file.
4121 * libc/string/wcstrings.tex: Add wcscoll.
4123 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
4125 * libc/stdio/sscanf.c: Update flags description.
4126 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
4128 (__svfscanf_r): Add 'hh' and 'll' handling.
4130 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
4132 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
4133 __d_position member to _off_t.
4135 2003-03-20 Jeff Johnston <jjohnstn@redhat.com>
4137 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
4138 count all characters used to create number against maximum width.
4139 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
4141 2003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
4143 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
4145 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
4146 flag to support simulator only extensions.
4148 2003-03-17 Bob Cassels <bcassels@abinitio.com>
4150 * libc/string/wcschr.c: (wcschr): Look for character first,
4151 then for end of string, so you can do wcschr(x, '\0').
4153 2003-03-10 Corinna Vinschen <corinna@vinschen.de>
4155 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
4156 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
4157 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
4158 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
4159 * libc/stdio/fseeko.c (fseeko): Ditto.
4160 * libc/stdio/ftello.c (ftello): Ditto.
4161 * libc/stdio/stdio.c (__swrite): Ditto.
4163 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
4164 * libc/stdio/fseek.c (fseek): Ditto.
4165 * libc/stdio/fsetpos.c (fsetpos): Ditto.
4166 * libc/stdio/ftell.c (ftell): Ditto.
4167 * libc/stdio/local.h: Declare __sseek using _off_t.
4169 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
4171 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
4173 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
4175 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
4178 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
4180 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
4182 * libc/include/sys/stat.h: Ditto.
4183 * libc/include/sys/unistd.h: Ditto.
4184 * libc/sys/cygwin/sys/dirent.h: Ditto.
4186 2003-03-07 Christopher Faylor <cgf@redhat.com>
4188 * libc/include/sys/unistd.h: Guard getopt.h call to force only
4189 declaration of getopt and avoid getopt_long declaration.
4190 * libc/sys/cygwin/include/unistd.h: Remove.
4192 2003-03-07 Corinna Vinschen <corinna@vinschen.de>
4194 * configure.host: Define stdio64_dir for Cygwin.
4195 * libc/include/stdio.h: Change definition of fpos_t to fulfill
4196 Cygwin 64bit file access requirements.
4197 Drop definition of f*64() functions when compiled for Cygwin.
4198 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
4199 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
4200 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
4202 2003-03-07 Jeff Johnston <jjohnstn@redhat.com>
4204 * libc/include/sys/reent.h: Remove extraneous _sig_func
4207 2003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
4209 * libc/sys/h8300hms/Makefile.am: Add support for new files.
4210 * libc/sys/h8300hms/Makefile.in: Regenerated.
4211 * libc/sys/h8300hms/close.S: New file.
4212 * libc/sys/h8300hms/fstat.S: Ditto.
4213 * libc/sys/h8300hms/lseek.S: Ditto.
4214 * libc/sys/h8300hms/open.S: Ditto.
4215 * libc/sys/h8300hms/stat.S: Ditto.
4216 * libc/sys/h8300hms/read.S: New file to replace read.c.
4217 * libc/sys/h8300hms/read.c: Removed.
4218 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
4219 _lseek, _close, _stat, _fstat.
4220 * libc/sys/h8300hms/write.S: New file to replace write.c.
4221 * libc/sys/h8300hms/write.c: Removed.
4223 2003-02-20 Nick Clifton <nickc@redhat.com>
4225 * Add support for Cirrus Maverick ARM co-processor:
4227 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
4229 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
4230 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
4232 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
4234 * configure.host: set sys_dir, syscall_dir, and
4235 newlib_cflags for ep9312 host.
4237 * configure.host: Restore alpha sorting of entries in case
4240 2003-02-19 Jeff Johnston <jjohnstn@redhat.com>
4242 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
4244 2003-02-18 Christian Groessler <chris@groessler.org>
4246 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
4247 support z8001 segmented mode.
4249 2003-02-18 Earnie Boyd <earnie@users.sf.net>
4251 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
4254 2003-02-10 Christopher Faylor <cgf@redhat.com>
4256 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
4257 Don't define some types under cygwin.
4259 2003-02-07 Jeff Johnston <jjohnstn@redhat.com>
4261 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
4262 option to allow disabling of syscalls being supplied in newlib.
4263 * aclocal.m4: Regenerated.
4265 * configure.host: Add support of new configuration option and add
4266 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
4267 * doc/aclocal.m4: Regenerated.
4268 * doc/configure: Ditto.
4269 * libc/*aclocal.m4: Ditto.
4270 * libc/*configure: Ditto.
4271 * libm/*aclocal.m4: Ditto.
4272 * libm/*configure: Ditto.
4273 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
4275 * libc/sys/arm/Makefile.in: Regenerated.
4277 2003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
4279 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
4280 -1 to be sure it cannot later match a valid file fd causing
4281 isatty() to return 1.
4282 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
4283 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
4284 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
4286 2003-02-03 Jeff Johnston <jjohnstn@redhat.com>
4288 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
4289 buffer based on the precision, after we have processed the input value
4290 in a local buffer and know its relative magnitude.
4292 2003-01-31 Michael Snyder <msnyder@redhat.com>
4294 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
4295 into registers r1 and r2, so that the simulator can distinguish
4296 this trap from a breakpoint trap. Copied from libgloss.
4298 2003-01-31 Michael Snyder <msnyder@redhat.com>
4300 * libc/sys/h8300hms/crt0.S (_start): Change local label
4301 from .loop to .Loop, so that ld and gdb will ignore it.
4303 2003-01-29 Jason Tishler <jason@tishler.net>
4305 * libc/include/time.h: Declare nanosleep() under Cygwin.
4307 2003-01-24 Nick Clifton <nickc@redhat.com>
4311 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
4313 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
4314 * libc/machine/sh/setjmp.S: Likewise.
4315 * libc/include/machine/ieeefp.h: Likewise.
4317 2003-01-24 Corinna Vinschen <corinna@vinschen.de>
4319 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
4322 2003-01-21 Anita Kulkarni <anitak@kpit.com>
4324 * libc/time/difftime.c : Typecast the result to double.
4326 2003-01-20 Christopher Faylor <cgf@redhat.com>
4328 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
4330 2003-01-18 Nick Clifton <nickc@redhat.com>
4332 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
4333 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
4335 2003-01-16 Joel Sherrill <joel@OARcorp.com>
4337 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
4338 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
4339 constants are defined in each file in the shared versions in
4341 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
4342 autoconf can link programs.
4343 * libc/include/machine/types.h: Explicitly specify signed on
4344 intXX_t types to ensure they are signed.
4346 2003-01-14 Christopher Faylor <cgf@redhat.com>
4348 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
4351 2003-01-08 Richard Sandiford <rsandifo@redhat.com>
4353 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
4355 2003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
4357 * libc/stdio/sprintf.c: fix typo
4358 * libc/stdio/vfprintf.c: fix typo
4360 2003-01-07 Jeff Johnston <jjohnstn@redhat.com>
4362 * configure.host: Support long double I/O for x86-linux.
4363 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
4364 large enough to hold formatted result.
4365 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
4367 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
4369 * Makefile.am: Add vasprintf.
4370 * Makefile.in: Regenerated.
4372 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
4374 * asprintf.c (_asprintf_r): insure both declarations
4377 2002-12-28 Christopher Faylor <cgf@redhat.com>
4379 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
4380 than defining getopt directly.
4382 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
4384 * NEWS: Update with 1.11.0 info.
4386 * acinclude.m4: Change version number to 1.11.0.
4387 * aclocal.m4: Regenerated.
4389 * doc/aclocal.m4: Ditto.
4390 * doc/configure: Ditto.
4391 * libc/*/aclocal.m4: Ditto.
4392 * libc/*/configure: Ditto.
4393 * libc/libc.texinfo: Ditto.
4394 * libm/*/aclocal.m4: Ditto.
4395 * libm/*/configure: Ditto.
4396 * libm/libm.texinfo: Ditto.
4397 * libc/sys/linux/shared.ld: Add VERS_1.11.
4399 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
4401 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
4402 Solutions to Red Hat Inc.
4403 * libc/machine/i386/f_atan2f.S: Ditto.
4404 * libc/machine/i386/f_exp.c: Ditto.
4405 * libc/machine/i386/f_expf.c: Ditto.
4406 * libc/machine/i386/f_frexp.S: Ditto.
4407 * libc/machine/i386/f_frexpf.S: Ditto.
4408 * libc/machine/i386/f_ldexp.S: Ditto.
4409 * libc/machine/i386/f_ldexpf.S: Ditto.
4410 * libc/machine/i386/f_log.S: Ditto.
4411 * libc/machine/i386/f_log10.S: Ditto.
4412 * libc/machine/i386/f_log10f.S: Ditto.
4413 * libc/machine/i386/f_logf.S: Ditto.
4414 * libc/machine/i386/f_pow.c: Ditto.
4415 * libc/machine/i386/f_powf.c: Ditto.
4416 * libc/machine/i386/f_tan.S: Ditto.
4417 * libc/machine/i386/f_tanf.S: Ditto.
4418 * libc/machine/i386/memchr.S: Ditto.
4419 * libc/machine/i386/memcmp.S: Ditto.
4420 * libc/machine/i386/memcpy.S: Ditto.
4421 * libc/machine/i386/memmove.S: Ditto.
4422 * libc/machine/i386/memset.S: Ditto.
4423 * libc/machine/i386/strchr.S: Ditto.
4424 * libc/machine/i386/strlen.S: Ditto.
4425 * libm/machine/i386/f_atan2.S: Ditto.
4426 * libm/machine/i386/f_atan2f.S: Ditto.
4427 * libm/machine/i386/f_exp.c: Ditto.
4428 * libm/machine/i386/f_expf.c: Ditto.
4429 * libm/machine/i386/f_frexp.S: Ditto.
4430 * libm/machine/i386/f_frexpf.S: Ditto.
4431 * libm/machine/i386/f_ldexp.S: Ditto.
4432 * libm/machine/i386/f_ldexpf.S: Ditto.
4433 * libm/machine/i386/f_log.S: Ditto.
4434 * libm/machine/i386/f_log10.S: Ditto.
4435 * libm/machine/i386/f_log10f.S: Ditto.
4436 * libm/machine/i386/f_logf.S: Ditto.
4437 * libm/machine/i386/f_pow.c: Ditto.
4438 * libm/machine/i386/f_powf.c: Ditto.
4439 * libm/machine/i386/f_tan.S: Ditto.
4440 * libm/machine/i386/f_tanf.S: Ditto.
4442 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
4444 * libc/stdlib/environ.c: Update license to Red Hat.
4445 * libc/machine/hppa/setjmp.S: Ditto.
4446 * libm/test/Makefile.in: Ditto.
4448 2002-12-19 Jeff Johnston <jjohnstn@redhat.com>
4450 * configure.host: Remove references to go32.
4451 * libc/sys/go32/*: Removed.
4453 2002-12-16 Kazu Hirata <kazu@cs.umass.edu>
4455 * libc/include/sys/config.h: Change setting of INT_MAX
4456 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
4457 __H8300S__. Also consolidate flag settings for these
4460 2002-12-10 Joel Sherrill <joel@OARcorp.com>
4462 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
4463 for i386-rtems targets.
4465 2002-12-06 Jeff Johnston <jjohnstn@redhat.com>
4467 * libc/include/stdlib.h (strtof): New prototype (from C99).
4468 (strtodf): Changed from prototype to macro which redefines
4470 * libc/stdlib/atof.c: Change documentation to refer to strtof
4472 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
4474 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
4475 (strtof): New function.
4476 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
4479 2002-11-27 Christopher Faylor <cgf@redhat.com>
4481 * libc/string/memset.c (memset): Fix comment.
4483 2002-11-26 Christopher Faylor <cgf@redhat.com>
4485 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
4488 2002-11-25 Christopher Faylor <cgf@redhat.com>
4490 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
4491 variable, introduced below, everywhere.
4493 2002-11-25 Kazu Hirata <kazu@cs.umass.edu>
4495 * libc/string/memset.c (memset): Make it safe even if
4498 2002-11-22 Joe Buehler <jbuehler@hekimian.com>
4500 * configure.in: Change check for libc/include in ${CC} to
4501 use an intermediate value so as to work with different shells.
4502 * configure: Regenerated.
4503 * Makefile.in: Ditto.
4505 2002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
4507 * libc/sys/h8300hms/read.c: Add support for normal mode
4510 2002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
4512 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
4513 code for __H8300H__ and __H8300S__. Also return 32-bit return code
4514 when -mint32 is used.
4516 2002-11-18 Nick Clifton <nickc@redhat.com>
4518 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
4520 2002-11-14 Jeff Johnston <jjohnstn@redhat.com>
4522 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
4523 only issue one pass/fail message for a compile/link/execute.
4524 * testsuite/newlib.elix/elix.exp: New file.
4525 * testsuite/newlib.elix/tmmap.c: Ditto.
4527 2002-11-06 Christopher Faylor <cgf@redhat.com>
4529 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
4530 * libc/stdlib/mlock.c: Ditto.
4531 * libc/stdlib/msize.c: Ditto.
4532 * libc/stdlib/msize.c: Ditto.
4533 * libc/stdlib/mtrim.c: Ditto.
4534 * libc/stdlib/valloc.c: Ditto.
4536 2002-11-12 Jeff Johnston <jjohnstn@redhat.com>
4538 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
4539 for inf/nan, make sure that the check ignores the sign bit.
4541 2002-11-07 Joel Sherrill <joel@OARcorp.com>
4543 * libc/sys/rtems/machine: New directory.
4544 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
4545 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
4546 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
4547 targets more BSD like when installed without requiring files to
4548 be overwritten at install point when RTEMS itself is installed.
4549 * Makefile.am: Pick up system dependent machine .h files such as
4550 might be found on a BSD-ish system.
4551 * Makefile.in: Regenerate.
4552 * libc/include/machine/types.h: When on an RTEMS target, define a
4553 few BSD flavor types.
4555 2002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
4557 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
4559 2002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
4561 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
4562 * libc/include/wctype.h: Ditto.
4564 2002-11-04 Jeff Johnston <jjohnstn@redhat.com>
4566 * libc/include/wchar.h: Add extern "C" specifier if C++.
4567 * libc/include/wctype.h: Ditto.
4569 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
4571 * testsuite/newlib.wctype/tiswctype.c: New test case.
4572 * testsuite/newlib.wctype/twctrans.c: Ditto.
4574 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
4576 * libc/sys/linux/machine/i386/include/endian.h: New file.
4577 * libc/sys/linux/machine/i386/include/param.h: Ditto.
4579 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
4581 * libm/machine/i386/aclocal.m4: Regenerated.
4582 * libm/machine/i386/configure: Ditto.
4584 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
4586 * testsuite/include/check.h: New header file to use with
4588 * testsuite/lib/newlib.exp: Add testsuite/include directory
4589 to list of header files to use.
4590 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
4591 * testsuite/newlib.wctype/wctype.exp: New file.
4593 2002-10-11 Graham Stott <graham.stott@btinternet.com>
4594 Richard Sandiford <rsandifo@redhat.com>
4596 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
4597 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
4598 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
4600 2002-10-07 Joel Sherrill <joel@OARcorp.com>
4602 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
4605 2002-10-07 Joel Sherrill <joel@OARcorp.com>
4607 * libc/include/pthread.h: Define PTHREAD_CANCELED.
4609 2002-10-07 Joel Sherrill <joel@OARcorp.com>
4611 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
4612 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
4613 compile with current GNU tools.
4615 2002-10-07 Jeff Johnston <jjohnstn@redhat.com>
4617 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
4619 * configure.in: Ditto.
4620 * Makefile.in: Regenerated.
4622 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
4623 for specifying configured libraries/directories.
4624 * libc/sys/linux/configure.in: Ditto.
4625 * libc/sys/linux/Makefile.in: Regenerated.
4626 * libc/sys/linux/configure: Ditto.
4628 2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
4630 * libc/include/reent.h: Update documentation at start of file.
4632 2002-09-27 Jim Wilson <wilson@redhat.com>
4634 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
4637 2002-09-27 Jeff Johnston <jjohnstn@redhat.com>
4639 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
4640 Also convert to EUCJP before using arrays. For values not in
4641 the conversion arrays, return WEOF.
4642 * libc/ctype/jp2uc.h: Change from one array to a number of
4643 arrays to account for the fact that the originating table
4644 is not contiguous for the input values since some are invalid.
4646 2002-09-24 Jeff Johnston <jjohnstn@redhat.com>
4648 * libc/time/ctime.c: Fix prototype documentation.
4650 2002-09-24 Corinna Vinschen <corinna@vinschen.de>
4652 * libc/include/sys/errno.h: Add EOVERFLOW.
4654 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
4656 * libc/include/wctype.h: New file.
4658 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
4660 * libc/ctype/Makefile.am: Add new files.
4661 * libc/ctype/Makefile.in: Regenerated.
4662 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
4663 and wctrans functions to documentation index.
4664 * libc/ctype/iswalnum.c: New file.
4665 * libc/ctype/iswalpha.c: Ditto.
4666 * libc/ctype/iswblank.c: Ditto.
4667 * libc/ctype/iswcntrl.c: Ditto.
4668 * libc/ctype/iswctype.c: Ditto.
4669 * libc/ctype/iswdigit.c: Ditto.
4670 * libc/ctype/iswgraph.c: Ditto.
4671 * libc/ctype/iswlower.c: Ditto.
4672 * libc/ctype/iswprint.c: Ditto.
4673 * libc/ctype/iswpunct.c: Ditto.
4674 * libc/ctype/iswspace.c: Ditto.
4675 * libc/ctype/iswupper.c: Ditto.
4676 * libc/ctype/iswxdigit.c: Ditto.
4677 * libc/ctype/jp2uc.c: Ditto.
4678 * libc/ctype/jp2uc.h: Ditto.
4679 * libc/ctype/local.h: Ditto.
4680 * libc/ctype/towctrans.c: Ditto.
4681 * libc/ctype/towlower.c: Ditto.
4682 * libc/ctype/towupper.c: Ditto.
4683 * libc/ctype/utf8alpha.h: Ditto.
4684 * libc/ctype/utf8print.h: Ditto.
4685 * libc/ctype/utf8punct.h: Ditto.
4686 * libc/ctype/wctrans.c: Ditto.
4687 * libc/ctype/wctype.c: Ditto.
4688 * libc/locale/locale.c (__lc_ctype): New external array to
4689 replace static lc_ctype array.
4690 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
4691 rather than reentrancy structure's _current_locale field.
4692 * libc/stdlib/wctomb_r.c: Ditto.
4694 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
4696 * configure.host: Minor comment and formatting changes.
4697 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
4698 * libc/Makefile.in: Regenerated.
4699 * libc/include/sys/config.h: Minor format change.
4701 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
4703 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
4706 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
4708 * libc/posix/opendir.c (opendir): Change code to check
4709 for HAVE_FCNTL before calling fcntl.
4710 * libc/search/hash.c (hash_open): Ditto.
4711 * libc/search/hash_page.c (open_tmp): Ditto.
4712 * libc/reent/Makefile.am: Add fcntlr.c.
4713 * libc/reent/Makefile.in: Regenerated.
4714 * libc/reent/fcntlr.c: New file.
4715 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
4716 instead of _fcntl when HAVE_FCNTL flag is set.
4717 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
4718 to see if _fcntl or _fcntl_r should be called. If flag is not
4719 set, default to ENOSYS stub.
4721 2002-09-16 Jeff Johnston <jjohnstn@redhat.com>
4723 * libc/include/wchar.h (mbstate_t): Change protective flag to
4725 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
4726 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
4728 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
4730 2002-09-11 Jeff Johnston <jjohnstn@redhat.com>
4732 * acinclude.m4 (enable-newlib-mb): Change check to
4733 default newlib_mb variable to empty string rather than "no".
4734 * configure.host: Remove hard-coding of -DMB_CAPABLE for
4735 x86-linux and Cygwin. Add code to check for newlib_mb
4736 being unset in which case set to "yes" for x86-linux and
4737 Cygwin. Change check for newlib_mb being "yes" to allow
4738 for an empty string.
4739 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
4740 * newlib.hin (_MB_LEN_MAX): New define to configure.
4741 * aclocal.m4: Regenerated.
4743 * libc/include/limits.h: New file.
4744 * libc/sys/linux/include/limits.h: Ditto.
4745 * doc/aclocal.m4 doc/configure libc/aclocal.m4
4746 libc/configure libc/include/%redact libc/machine/aclocal.m4
4747 libc/machine/configure libc/machine/a29k/aclocal.m4
4748 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
4749 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
4750 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
4751 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
4752 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
4753 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
4754 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
4755 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
4756 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
4757 libc/machine/i386/configure libc/machine/i960/aclocal.m4
4758 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
4759 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
4760 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
4761 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
4762 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
4763 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
4764 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
4765 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
4766 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
4767 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
4768 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
4769 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
4770 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
4771 libc/machine/v850/configure libc/machine/w65/aclocal.m4
4772 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
4773 libc/machine/xscale/configure
4774 libc/machine/xstormy16/aclocal.m4
4775 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
4776 libc/machine/z8k/configure libc/sys/aclocal.m4
4777 libc/sys/configure libc/sys/a29khif/aclocal.m4
4778 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
4779 libc/sys/arc/configure libc/sys/arm/aclocal.m4
4780 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
4781 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
4782 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
4783 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
4784 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
4785 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
4786 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
4787 libc/sys/idt/configure libc/sys/linux/aclocal.m4
4788 libc/sys/linux/configure libc/sys/linux/include/%redact
4789 libc/sys/linux/machine/aclocal.m4
4790 libc/sys/linux/machine/configure
4791 libc/sys/linux/machine/i386/aclocal.m4
4792 libc/sys/linux/machine/i386/configure
4793 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
4794 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
4795 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
4796 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
4797 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
4798 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
4799 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
4800 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
4801 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
4802 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
4803 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
4804 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
4805 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
4806 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
4807 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
4808 libm/aclocal.m4 libm/configure: Regenerated.
4810 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
4812 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
4813 code that clears the .bss section.
4815 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
4817 * libc/include/sys/_types.h (_mbstate_t): Changed to use
4818 unsigned char internally.
4819 * libc/sys/linux/sys/_types.h: Ditto.
4820 * libc/include/sys/reent.h
4821 * libc/stdlib/mblen.c (mblen): Use function-specific state
4822 value from default reentrancy structure.
4823 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
4824 _mbtowc_r is less than 0, reset state __count value and
4826 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
4827 is NULL, use the function-specific pointer provided in the
4828 default reentrancy structure.
4829 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
4830 If input state pointer is NULL, use function-specific area
4831 provided in reentrancy structure.
4832 * libc/stdlib/mbsrtowcs.c: Ditto.
4833 * libc/stdlib/wcrtomb.c: Ditto.
4834 * libc/stdlib/wcsrtombs.c: Ditto.
4835 * libc/stdlib/mbstowcs.c: Reformat.
4836 * libc/stdlib/wcstombs.c: Ditto.
4837 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
4838 reset the state's __count value and return -1.
4839 * libc/stdlib/mbtowc.c: Ditto.
4840 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
4841 If number of bytes is used up before completing a valid multibyte
4842 character, return -2 and save the state.
4843 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
4844 and change some __count references to __state for clarity.
4846 2002-09-06 Jeff Johnston <jjohnstn@redhat.com>
4848 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
4849 is defined by <limits.h>.
4851 2002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
4853 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
4856 2002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
4858 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
4859 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
4860 __WCHAR_MAX__ or 0x7fffffffu.
4861 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
4862 * libc/string/wcsncmp.c: Ditto.
4864 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
4866 * libc/string/wcschr.c: Add include of <stddef.h>.
4867 * libc/string/wcspbrk.c: Ditto.
4868 * libc/string/wcsrchr.c: Ditto.
4869 * libc/string/wcsstr.c: Ditto.
4871 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
4873 * libc/include/sys/_types.h (_flock_t): Added.
4874 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
4875 (__lock_try_acquire_recursive): Ditto.
4876 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
4878 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
4880 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
4881 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
4882 * libc/sys/linux/include/time.h (struct timespec): Moved from
4883 <sys/types.h> and added check for __need_timespec flag so type
4884 can be defined by itself.
4885 * libc/sys/linux/sys/_types.h (_flock_t): New type.
4886 * libc/sys/linux/sys/types.h (struct timespec): Moved to
4889 2002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
4891 * libc/sys/linux/argp: New directory.
4892 * libc/sys/linux/getopt.c: New file.
4893 * libc/sys/linux/getopt1.c: New file.
4894 * libc/sys/linux/getoptlong.c: Remove file.
4895 * libc/sys/linux/include/argp.h: New file.
4896 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
4897 based on ELIX level.
4898 (SUBDIRS): Add argp_dir.
4899 (SUBLIBS): Add ARGP_LIB.
4900 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
4901 getopt_long.$(oext).
4902 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
4904 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
4906 * libc/libc.texinfo: Add node reference to wide-character strings.
4907 * libc/string/wcstrings.tex: New file.
4908 * libc/string/strtok_r.c: Remove outdated advertising clause.
4909 * libc/string/Makefile.am (doc): Add wide-character string
4910 chapter to documentation.
4911 * libc/string/Makefile.in: Regenerated.
4913 2002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
4915 * libc/include/wchar.h: Define NULL. Define WEOF more general
4916 way. Declare functions in newlib manner.
4917 * libc/stdlib/Makefile.am: Delete wmem*.c
4918 * libc/stdlib/Makefile.in: Regenerated.
4919 * libc/stdlib/wmemchr.c: Delete.
4920 * libc/stdlib/wmemcmp.c: Ditto.
4921 * libc/stdlib/wmemcpy.c: Ditto.
4922 * libc/stdlib/wmemmove.c: Ditto.
4923 * libc/stdlib/wmemset.c: Ditto.
4924 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
4925 * libc/string/Makefile.in: Regenerated.
4926 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
4927 * libc/string/wcschr.c: Ditto.
4928 * libc/string/wcscmp.c: Ditto.
4929 * libc/string/wcscpy.c: Ditto.
4930 * libc/string/wcscspn.c: Ditto.
4931 * libc/string/wcslcat.c: Ditto.
4932 * libc/string/wcslcpy.c: Ditto.
4933 * libc/string/wcslen.c: Ditto.
4934 * libc/string/wcsncat.c: Ditto.
4935 * libc/string/wcsncmp.c: Ditto.
4936 * libc/string/wcsncpy.c: Ditto.
4937 * libc/string/wcspbrk.c: Ditto.
4938 * libc/string/wcsrchr.c: Ditto.
4939 * libc/string/wcsspn.c: Ditto.
4940 * libc/string/wcsstr.c: Ditto.
4941 * libc/string/wmemchr.c: Ditto.
4942 * libc/string/wmemcmp.c: Ditto.
4943 * libc/string/wmemcpy.c: Ditto.
4944 * libc/string/wmemmove.c: Ditto.
4945 * libc/string/wmemset.c: Ditto.
4947 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
4949 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
4950 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
4951 and is treated as if "C" was specified.
4953 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
4955 * Makefile.am (install-data-local): Move install of build
4956 newlib.h after installing headers in libc/include so as to
4957 overwrite default newlib.h.
4958 * Makefile.in: Regenerated.
4960 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
4962 * libc/include/newlib.h: New file for tools that use newlib
4963 headers but don't build newlib first (e.g. gcc).
4965 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
4967 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
4968 * libc/stdlib/wmemcmp.c: Ditto.
4969 * libc/stdlib/wmemcpy.c: Ditto.
4970 * libc/stdlib/wmemmove.c: Ditto.
4971 * libc/stdlib/wmemset.c: Ditto.
4973 2002-08-27 Egor Duda <deo@logos-m.ru>
4975 * libc/stdlib/wmemchr.c: New file.
4976 * libc/stdlib/wmemcmp.c: Ditto.
4977 * libc/stdlib/wmemcpy.c: Ditto.
4978 * libc/stdlib/wmemmove.c: Ditto.
4979 * libc/stdlib/wmemset.c: Ditto.
4980 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
4981 * configure.host: Default -DMB_CAPABLE for cygwin.
4982 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
4983 wmemmove() and wmemset(). Add include of <_ansi.h>.
4984 * libc/stdlib/Makefile.in: Regenerate.
4986 2002-08-27 Jeff Johnston <jjohnstn@redhat.com>
4988 * configure.host: Remove _ELIX_LEVEL flag setting.
4989 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
4990 (install-data-local): Install newlib.h.
4991 * Makefile.in: Regenerated.
4992 * aclocal.m4: Ditto.
4994 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
4995 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
4996 and _NEWLIB_VERSION to fill in newlib.h header file entries.
4997 In AC_OUTPUT statement, unset ac_file so multilib support does
4998 not use last ac_file temporary used in newlib.h configuration.
4999 * libc/include/_ansi.h: Include <newlib.h>.
5000 * newlib.hin: New template file for newlib.h.
5001 * stamp-h.in: New file.
5003 2002-08-26 Wu Yongwei <adah@netstd.com>
5005 * time.h (timezonevar): Change "#if" to "#ifdef".
5007 2002-08-26 Jeff Johnston <jjohnstn@redhat.com>
5009 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
5010 * Makefile.in: Regenerated.
5011 * acinclude.m4: Add support for --enable-newlib-elix-level option.
5012 * aclocal.m4: Regenerated.
5014 * configure.host: Add code to define _ELIX_LEVEL if
5015 --enable-newlib-elix-level option is used.
5017 * libc/aclocal.m4: Regenerated.
5018 * libc/configure: Ditto.
5019 * libc/argz/Makefile.am: Add EL/IX level checking.
5020 * libc/argz/Makefile.in: Regenerated.
5021 * libc/argz/dummy.c: New file.
5022 * libc/ctype/Makefile.am: Add EL/IX level checking.
5023 * libc/ctype/Makefile.in: Regenerated.
5024 * libc/locale/Makefile.am: Add EL/IX level checking.
5025 * libc/locale/Makefile.in: Regenerated.
5026 * libc/posix/Makefile.am: Add EL/IX level checking.
5027 * libc/posix/Makefile.in: Regenerated.
5028 * libc/posix/telldir.c: Add EL/IX level checking.
5029 * libc/reent/Makefile.am: Ditto.
5030 * libc/reent/fstat64r.c: Ditto.
5031 * libc/reent/lseek64r.c: Ditto.
5032 * libc/reent/open64r.c: Ditto.
5033 * libc/reent/Makefile.in: Regenerated.
5034 * libc/search/Makefile.am: Add EL/IX level checking.
5035 * libc/search/Makefile.in: Regenerated.
5036 * libc/stdio/Makefile.am: Add EL/IX level checking.
5037 * libc/stdio/Makefile.in: Regenerated.
5038 * libc/stdio64/Makefile.am: Add EL/IX level checking.
5039 * libc/stdio64/Makefile.in: Regenerated.
5040 * libc/stdio64/dummy.c: New file.
5041 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
5042 after first include.
5043 * libc/stdio64/fopen64.c: Ditto.
5044 * libc/stdio64/freopen64.c: Ditto.
5045 * libc/stdio64/fseeko64.c: Ditto.
5046 * libc/stdio64/fsetpos64.c: Ditto.
5047 * libc/stdio64/ftello64.c: Ditto.
5048 * libc/stdio64/tmpfile64.c: Ditto.
5049 * libc/stdlib/Makefile.am: Add EL/IX level checking.
5050 * libc/stdlib/Makefile.in: Regenerated.
5051 * libc/stdlib/mstats.c: Add EL/IX level checking.
5052 * libc/string/Makefile.am: Ditto.
5053 * libc/string/Makefile.in: Regenerated.
5054 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
5055 * libc/sys/linux/Makefile.in: Regenerated.
5056 * libc/sys/linux/aclocal.m4: Ditto.
5057 * libc/sys/linux/configure: Ditto.
5058 * libc/sys/linux/aio.c: Add EL/IX level checking.
5059 * libc/sys/linux/ftok.c: Ditto.
5060 * libc/sys/linux/getdate.c: Ditto.
5061 * libc/sys/linux/ids.c: Ditto.
5062 * libc/sys/linux/inode.c: Ditto.
5063 * libc/sys/linux/io.c: Ditto.
5064 * libc/sys/linux/process.c: Ditto.
5065 * libc/sys/linux/resource.c: Ditto.
5066 * libc/sys/linux/sched.c: Ditto.
5067 * libc/sys/linux/sig.c: Ditto.
5068 * libc/sys/linux/termios.c: Ditto.
5069 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
5070 __libc___waitpid weak aliases.
5071 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
5072 that generate the code for a syscall, but do not create a
5074 * libc/syscalls/Makefile.am: Add EL/IX level checking.
5075 * libc/syscalls/Makefile.in: Regenerated.
5076 * libc/time/tzset_r.c: Change to replace strdup with equivalent
5078 * libc/unix/Makefile.am: Add EL/IX level checking.
5079 * libc/unix/Makefile.in: Regenerated.
5081 2002-08-26 Christopher Faylor <cgf@redhat.com>
5083 * libc/include/malloc.h: On cygwin, define malloc _r functions as
5084 wrapper macros to standard malloc functions.
5085 * libc/include/stdlib.h: Ditto.
5086 * configure.host: Always define MALLOC_PROVIDED on cygwin.
5088 2002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
5090 * libc/include/langinfo.h: New file.
5091 * libc/include/wchar.h: Likewise.
5092 * libc/include/sys/syslimits.h: Likewise.
5093 * libc/locale/fix_grouping.c: Likewise.
5094 * libc/locale/ldpart.c: Likewise.
5095 * libc/locale/ldpart.h: Likewise.
5096 * libc/locale/lmessages.c: Likewise.
5097 * libc/locale/lmessages.h: Likewise.
5098 * libc/locale/lmonetary.c: Likewise.
5099 * libc/locale/lmonetary.h: Likewise.
5100 * libc/locale/lnumeric.c: Likewise.
5101 * libc/locale/lnumeric.h: Likewise.
5102 * libc/locale/nl_langinfo.3: Likewise.
5103 * libc/locale/nl_langinfo.c: Likewise.
5104 * libc/locale/timelocal.c: Likewise.
5105 * libc/locale/timelocal.h: Likewise.
5106 * libc/stdlib/btowc.c: Likewise.
5107 * libc/stdlib/mbrlen.c: Likewise.
5108 * libc/stdlib/mbrtowc.c: Likewise.
5109 * libc/stdlib/mbsinit.c: Likewise.
5110 * libc/stdlib/mbsrtowcs.c: Likewise.
5111 * libc/stdlib/wcrtomb.c: Likewise.
5112 * libc/stdlib/wcsrtombs.c: Likewise.
5113 * libc/stdlib/wctob.c: Likewise.
5114 * libc/sys/linux/prof-freq.c: Likewise.
5115 * libc/sys/linux/profile.c: Likewise.
5116 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
5117 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
5118 * libc/include/stdlib.h: Change re-entrant functions to take
5120 * libc/include/sys/_types.h: Define _mbstate_t.
5121 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
5122 * libc/include/sys/errno.h (EILSEQ): New error code.
5123 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
5124 structure to use mbstate_t.
5125 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
5126 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
5127 * libc/machine/powerpc/vfscanf.c: Likewise.
5128 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
5129 * libc/stdio/vfprintf.c: Likewise.
5130 * libc/stdio/vfscanf.c: Likewise.
5131 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
5132 * libc/stdlib/mblen.c: Use mbstate_t.
5133 * libc/stdlib/mblen_r.c: Likewise.
5134 * libc/stdlib/mbstowcs.c: Likewise.
5135 * libc/stdlib/mbstowcs_r.c: Likewise.
5136 * libc/stdlib/mbtowc.c: Likewise.
5137 * libc/stdlib/mbtowc_r.c: Likewise.
5138 * libc/stdlib/wcstombs.c: Likewise.
5139 * libc/stdlib/wcstombs_r.c: Likewise.
5140 * libc/stdlib/wctomb_r.c: Likewise.
5141 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
5143 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
5145 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
5146 * libc/sys/linux/sys/types.h (off_t): Define type.
5147 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
5149 * testsuite/newlib.locale/UTF-8.exp: Likewise.
5151 2002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
5153 * libc/stdlib/mallocr.c: #include windows.h on Win32.
5154 (AlignPage): Continue macro on next line.
5156 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
5158 * libc/sys/linux/include/pthread.h: New file.
5160 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
5162 * libc/include/sys/types.h: Support __need_inttypes macro
5163 that only sets the __intxx and __uintxx types.
5164 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
5166 * libc/machine/powerpc/Makefile.in: Regenerated.
5167 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
5168 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
5169 redundant fixed-point conversion prototypes.
5170 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
5171 after setting __need_inttypes.
5173 2002-08-18 Christopher Faylor <cgf@redhat.com>
5175 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
5177 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
5179 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
5180 _LONG_DOUBLE to double.
5182 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
5184 * configure.host: Add powerpc*-*-eabispe* configuration.
5185 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
5186 * libc/machine/powerpc/atosfix32.c: Ditto.
5187 * libc/machine/powerpc/atosfix64.c: Ditto.
5188 * libc/machine/powerpc/atoufix16.c: Ditto.
5189 * libc/machine/powerpc/atoufix32.c: Ditto.
5190 * libc/machine/powerpc/atoufix64.c: Ditto.
5191 * libc/machine/powerpc/fix64.h: Ditto.
5192 * libc/machine/powerpc/simdldtoa.c: Ditto.
5193 * libc/machine/powerpc/strtosfix16.c: Ditto.
5194 * libc/machine/powerpc/strtosfix32.c: Ditto.
5195 * libc/machine/powerpc/strtosfix64.c: Ditto.
5196 * libc/machine/powerpc/strtoufix16.c: Ditto.
5197 * libc/machine/powerpc/strtoufix32.c: Ditto.
5198 * libc/machine/powerpc/strtoufix64.c: Ditto.
5199 * libc/machine/powerpc/ufix64toa.c: Ditto.
5200 * libc/machine/powerpc/configure.in: Add check for
5201 powerpc*-eabispe and add fixed-point conversion functions.
5202 * libc/machine/powerpc/configure: Regenerated.
5203 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
5204 %r and %R format specifiers which handle fixed-point data.
5205 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
5206 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
5207 function prototypes.
5209 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
5211 * Makefile.am: Move cmath stuff into libc/sys/linux.
5212 * Makefile.in: Regenerated.
5213 * configure.host: Default -DMB_CAPABLE for x86-linux.
5214 * libc/include/reent.h: Define _sbrk to take signed int argument.
5215 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
5216 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
5217 make locale name checking more efficient. Also allow "C-ISO-8859-1"
5218 locale for LC_CTYPE and LC_MESSAGES.
5219 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
5220 * libc/sys/linux/brk.c: Change sbrk prototype.
5221 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
5222 include <sys/features.h>.
5223 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
5224 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
5225 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
5226 with a few local additions.
5227 * libc/sys/linux/sys/features.h: New file.
5228 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
5229 to take signed argument.
5230 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
5231 prototypes to take signed size argument.
5233 2002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
5235 * libc/sys/linux/cmath: New directory.
5236 * libc/sys/linux/include/cmathcalls.h: New file.
5237 * libc/sys/linux/include/complex.h: New file.
5238 * libc/sys/linux/machine/i386/huge_val.h: New file
5239 * libm/math/w_sincos.c: New file
5240 * libm/math/wf_sincos.c: New file
5241 * libm/mathfp/s_sincos.c: New file
5242 * libm/mathfp/sf_sincos.c: New file
5243 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
5244 * libc/include/math.h: Add sincos and sincosf declarations.
5245 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
5246 (SUBLIBS): Likewise.
5247 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
5248 * libm/math/Makefile.am (src): Add w_sincos.c.
5249 (fsrc): Add wf_sincos.c.
5250 * libm/mathfp/Makefile.am (src): Add s_sincos.c
5251 (fsrc): Add sf_sincos.c.
5253 2002-08-12 Jeff Johnston <jjohnstn@redhat.com>
5255 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
5256 Declare as extern chars and use the address operator to
5257 properly use values set in linker script.
5259 2002-08-09 Jason Tishler <jason@tishler.net>
5261 * libc/stdlib/mallocr.c: Include <limits.h>.
5262 (request2size): Change macro to do
5263 unsigned long comparisons and avoid signed overflow.
5264 (mALLOc): Add overflow check for the number of bytes to allocate.
5267 2002-08-09 Jeff Johnston <jjohnstn@redhat.com>
5269 * configure.host: Add check for --enable-newlib-io-pos-args
5270 and define WANT_IO_POS_ARGS flag if enabled. Define
5271 the flag by default for x86-linux configurations.
5272 * configure.in: Add support for --enable-newlib-io-pos-args.
5273 * libc/configure.in: Ditto.
5274 * configure: Regenerated.
5275 * libc/configure: Ditto.
5276 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
5277 vfprintf.c and vfiprintf.c.
5278 * libc/stdio/Makefile.in: Regenerated.
5279 * libc/stdio/vfprintf.c: Add positional argument support that
5280 is enabled by compiling with -DWANT_IO_POS_ARGS.
5282 2002-08-07 Richard Sandiford <rsandifo@redhat.com>
5284 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
5285 based on __mips_soft_float rather than __mips64.
5286 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
5287 of both 32-bit and 64-bit code.
5289 2002-08-04 Christopher Faylor <cgf@redhat.com>
5291 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
5292 arguments for popen to match similar functionality in fopen.
5294 2002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
5296 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
5298 2002-07-29 Jeff Johnston <jjohnstn@redhat.com>
5300 * libc/sys/linux/Makefile.am: Add aio64.c.
5301 * libc/sys/linux/Makefile.in: Regenerated.
5302 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
5303 * libc/sys/linux/aio64.c: New file.
5305 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
5307 * libc/include/sys/param.h (MAX, MIN): Added macros.
5308 * libc/sys/linux/Makefile.am: Add new files.
5309 * libc/sys/linux/Makefile.in: Regenerated.
5310 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
5311 * libc/sys/linux/inode.c (fchdir): Added syscall.
5312 * libc/sys/linux/ftw.c: New file.
5313 * libc/sys/linux/ftw64.c: Ditto.
5314 * libc/sys/linux/getwd.c: Ditto.
5315 * libc/sys/linux/scandir64.c: Ditto.
5316 * libc/sys/linux/strverscmp.c: Ditto.
5317 * libc/sys/linux/versionsort.c: Ditto.
5318 * libc/sys/linux/versionsort64.c: Ditto.
5320 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
5322 * libc/string/strings.tex: Fix typo for memccpy.
5324 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
5326 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
5327 * libc/sys/linux/sys/types.h (off64_t): Definition added.
5329 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
5331 * libc/sys/linux/Makefile.am: Add fclean.c.
5332 * libc/sys/linux/Makefile.in: Regenerated.
5333 * libc/sys/linux/fclean.c: New file.
5335 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
5337 * libc/sys/linux/Makefile.am: Add confstr.c.
5338 * libc/sys/linux/Makefile.in: Regenerated.
5339 * libc/sys/linux/confstr.c: New file.
5340 * libc/sys/linux/confstr.h: Ditto.
5341 * libc/sys/linux/sys/unistd.h: Include <features.h> and
5342 <bits/environments.h>.
5344 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
5346 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
5347 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
5348 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
5349 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
5350 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
5351 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
5353 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
5355 * libc/sys/linux/Makefile.am: Add new files.
5356 * libc/sys/linux/Makefile.in: Regenerated.
5357 * libc/sys/linux/fstab.c: New file.
5358 * libc/sys/linux/fstatvfs.c: Ditto.
5359 * libc/sys/linux/fstatvfs64.c: Ditto.
5360 * libc/sys/linux/internal_statvfs.c: Ditto.
5361 * libc/sys/linux/mntent.c: Ditto.
5362 * libc/sys/linux/mntent_r.c: Ditto.
5363 * libc/sys/linux/statvfs.c: Ditto.
5364 * libc/sys/linux/statvfs64.c: Ditto.
5365 * libc/sys/linux/include/paths.h: Ditto.
5366 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
5367 with double-underscore weak-aliases.
5368 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
5370 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
5372 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
5373 to use _sig_func_ptr type casted constants.
5374 (_sig_func_ptr): Typedef moved to sys/signal.h.
5375 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
5376 For __rtems, use POSIX definition, otherwise default to ANSI.
5377 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
5379 2002-07-24 Stephane Carrez <stcarrez@nerim.fr>
5381 * configure.host: Recognize m6811-elf and m6812-elf targets.
5382 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
5383 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
5384 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
5385 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
5386 according to __INT_MAX__.
5387 (_POINTER_INT): Define to short.
5388 * libc/machine/m68hc11/Makefile.am: New file.
5389 * libc/machine/m68hc11/Makefile.in: New file.
5390 * libc/machine/m68hc11/configure.in: New file.
5391 * libc/machine/m68hc11/configure: New file.
5392 * libc/machine/m68hc11/aclocal.m4: New file.
5393 * libc/machine/m68hc11/setjmp.S: New file.
5395 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
5397 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
5399 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
5400 * libc/stdlib/Makefile.in: Regenerated.
5401 * libc/stdlib/strdup.c: Removed.
5402 * libc/stdlib/strdup_r.c: Removed.
5403 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
5404 mempcpy.c, strndup.c, and strndup_r.c.
5405 * libc/string/Makefile.in: Regenerated.
5406 * libc/string/memccpy.c: New file.
5407 * libc/string/mempcpy.c: Ditto.
5408 * libc/string/strndup.c: Ditto.
5409 * libc/string/strndup_r.c: Ditto.
5410 * libc/string/strdup.c: New file moved from stdlib.
5411 * libc/string/strdup_r.c: Ditto.
5412 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
5414 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
5416 * libc/include/stdio.h: Move fcloseall prototype within
5417 #ifndef _REENT_ONLY section.
5418 * libc/sys/linux/Makefile.am: Add new files.
5419 * libc/sys/linux/Makefile.in: Regenerated.
5420 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
5421 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
5422 * libc/sys/linux/sys/types.h: Add ino64_t type.
5423 * libc/sys/linux/ctermid.c: New file.
5424 * libc/sys/linux/ttyname_r.c: Ditto.
5425 * libc/sys/linux/readdir64.c: Ditto.
5427 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
5429 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
5430 * libc/stdio/Makefile.am: Added fcloseall.c support.
5431 * libc/stdio/Makefile.in: Regenerated.
5432 * libc/stdio/fcloseall.c: New file.
5433 * libc/stdio64/Makefile.am: Remove missing .def references.
5434 * libc/stdio64/Makefile.in: Regenerated.
5436 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
5438 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
5439 * libc/machine/powerpc/times.c: New file.
5440 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
5441 * libc/machine/powerpc/Makefile.in: Regenerated.
5443 2002-07-22 Aldy Hernandez <aldyh@redhat.com>
5445 * libc/machine/powerpc/time.c: New file.
5446 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
5448 * libc/machine/powerpc/Makefile.in: Regenerated.
5450 2002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
5452 * libc/libc.texinfo: Change copyright notices to Red Hat from
5454 * libm/libm.texinfo: Likewise.
5455 * README: Change docs URL to
5456 http://sources.redhat.com/newlib/docs.html.
5458 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
5460 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
5461 * libc/sys/linux/Makefile.in: Regenerated.
5462 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
5463 * libc/sys/linux/io.c: Add ftruncate syscall.
5464 * libc/sys/linux/fpathconf.c: New file.
5465 * libc/sys/linux/pathconf.c: Ditto.
5466 * libc/sys/linux/linux_fsinfo.h: Ditto.
5467 * libc/sys/linux/sys/unistd.h: Ditto.
5469 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
5471 * libc/stdio64/Makefile.am: Remove missing files.
5472 * libc/stdio64/Makefile.in: Regenerated.
5474 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
5476 * libc/include/sys/config.h[__i386__][__linux__]: Define
5477 _LARGE64FILE_SOURCE to 1.
5478 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
5479 * libc/sys/linux/Makefile.in: Regenerated.
5480 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
5481 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
5482 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
5483 of <linux/resource.h>.
5484 * libc/sys/linux/getrlimit64.c: New file.
5485 * libc/sys/linux/setrlimit64.c: Ditto.
5487 2002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
5489 * libc/argz/argz_replace.c: Include buf_findstr.h.
5490 * libc/argz/buf_findstr.c: Likewise.
5491 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
5493 * libc/argz/envz_get.c: Likewise.
5494 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
5495 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
5496 * libc/stdlib/getsubopt.3: New file.
5497 * libc/stdlib/getsubopt.c: New file.
5498 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
5501 2002-07-17 Jeff Johnston <jjohnstn@redhat.com>
5503 * configure.host(stdio64_dir): New setting that is used to
5504 enable building of new stdio64 directory.
5505 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
5507 (stmp-stdio64,stdio64.texi): New targets to optionally add in
5508 stdio64 info to info files.
5509 * libc/Makefile.in: Regenerated.
5510 * libc/configure: Ditto.
5511 * libc/configure.in: Add configuration variables that are set
5512 when stdio64 is selected as subdir in configure.host.
5513 * libc/libc.texinfo: Add optional menu item for Stdio64, based
5514 on whether STDIO64 flag is set or not.
5515 * libc/sys.tex: Add optional stdio64 syscalls based on whether
5516 STDIO64 flag is set or not.
5517 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
5519 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
5520 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
5521 (__SL64): New file flag indicating file is opened via fopen64.
5522 * libc/include/sys/_types.h(_off64_t): Added.
5523 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
5524 * libc/include/sys/reent.h(struct __sFILE64): New file structure
5525 for 64-bit offset large file support.
5526 (__FILE): New intermediate type either set to struct __sFILE64 or
5527 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
5528 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
5529 * libc/reent/Makefile.in: Regenerated.
5530 * libc/reent/fstat64r.c: New file.
5531 * libc/reent/lseek64r.c: Ditto.
5532 * libc/reent/open64r.c: Ditto.
5533 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
5534 based on whether STDIO64 flag is set.
5535 * libc/stdio/stdio.tex: Add blank line.
5536 * libc/stdio64/Makefile.am: New file.
5537 * libc/stdio64/Makefile.in: Ditto.
5538 * libc/stdio64/fgetpos64.c: Ditto.
5539 * libc/stdio64/fopen64.: Ditto.
5540 * libc/stdio64/freopen64.c: Ditto.
5541 * libc/stdio64/fseeko64.c: Ditto.
5542 * libc/stdio64/fsetpos64.c: Ditto.
5543 * libc/stdio64/ftello64.c: Ditto.
5544 * libc/stdio64/local64.h: Ditto.
5545 * libc/stdio64/stdio64.c: Ditto.
5546 * libc/stdio64/stdio64.tex: Ditto.
5547 * libc/stdio64/tmpfile64.c: Ditto.
5548 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
5551 2002-07-16 Jeff Johnston <jjohnstn@redhat.com>
5553 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
5554 if LIBC_EXTRA_LIB is present.
5555 * libc/Makefile.in: Regenerated.
5556 * libc/libc.texinfo: Add blank line.
5557 * libc/argz/Makefile.am: Add doc support.
5558 * libc/search/Makefile.am: Ditto.
5559 * libc/argz/Makefile.in: Regenerated.
5560 * libc/search/Makefile.in: Ditto.
5561 * libc/misc/misc.tex: Add ffs function.
5562 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
5564 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
5566 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
5567 definition that was removed in error.
5569 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
5571 * libc/include/machine/ieeefp.h: Change to only define
5572 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
5573 __IEEE_LITTLE_ENDIAN must be defined for each platform).
5574 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
5575 remove redundant floating point definitions.
5577 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
5579 * libc/sys/linux/callocr.c: Fix so code references
5582 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
5584 * libc/sys/linux/Makefile.am: Add new files.
5585 * libc/sys/linux/Makefile.in: Regenerated.
5586 * libc/sys/linux/bp-sym.h: Moved to include directory.
5587 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
5588 * libc/sys/linux/inode.c: Set _LIBC to 1.
5589 * libc/sys/linux/mq_close.c: Ditto.
5590 * libc/sys/linux/mq_getattr.c: Ditto.
5591 * libc/sys/linux/mq_open.c: Ditto.
5592 * libc/sys/linux/mq_receive.c: Ditto.
5593 * libc/sys/linux/mq_send.c: Ditto.
5594 * libc/sys/linux/mq_setattr.c: Ditto.
5595 * libc/sys/linux/mq_unlink.c: Ditto.
5596 * libc/sys/linux/calloc.c: New file.
5597 * libc/sys/linux/callocr.c: Ditto.
5598 * libc/sys/linux/cfreer.c: Ditto.
5599 * libc/sys/linux/config.h: Ditto.
5600 * libc/sys/linux/free.c: Ditto.
5601 * libc/sys/linux/freer.c: Ditto.
5602 * libc/sys/linux/msize.c: Ditto.
5603 * libc/sys/linux/msizer.c: Ditto.
5604 * libc/sys/linux/mstats.c: Ditto.
5605 * libc/sys/linux/mtrim.c: Ditto.
5606 * libc/sys/linux/mtrimr.c: Ditto.
5607 * libc/sys/linux/pvallocr.c: Ditto.
5608 * libc/sys/linux/realloc.c: Ditto.
5609 * libc/sys/linux/reallocr.c: Ditto.
5610 * libc/sys/linux/thread-m.h: Ditto.
5611 * libc/sys/linux/vallocr.c: Ditto.
5612 * libc/sys/linux/bp-checks.h: Ditto.
5613 * libc/sys/linux/libc-symbols.h: Ditto.
5614 * libc/sys/linux/libc-tsd.h: Ditto.
5615 * libc/sys/linux/libintl.h: Ditto.
5616 * libc/sys/linux/malign.c: Ditto.
5617 * libc/sys/linux/malignr.c: Ditto.
5618 * libc/sys/linux/mallinfor.c: Ditto.
5619 * libc/sys/linux/malloc.c: Ditto.
5620 * libc/sys/linux/mallocr.c: Ditto.
5621 * libc/sys/linux/malloptr.c: Ditto.
5622 * libc/sys/linux/mallstatsr.c: Ditto.
5623 * libc/sys/linux/mcheck.c: Ditto.
5624 * libc/sys/linux/mhooks.h: Ditto.
5625 * libc/sys/linux/include/bp-sym.h: Ditto.
5626 * libc/sys/linux/include/malloc.h: Ditto.
5627 * libc/sys/linux/include/mcheck.h: Ditto.
5628 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
5630 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
5631 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
5632 * libc/sys/linux/machine/i386/getpagesize.c: New file.
5633 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
5634 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
5635 * libc/sys/linux/machine/i386/sysdep.h: New file.
5636 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
5637 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
5638 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
5640 2002-07-12 Jeff Johnston <jjohnstn@redhat.com>
5642 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
5643 instead of <asm/siginfo.h>.
5644 * libc/sys/linux/sys/signal.h: Change to include various linux
5645 <bits/xxx.h> header files, rather than <linux/signal.h> so as
5646 to work with multiple releases of glibc header files.
5648 2002-07-11 Chris Demetriou <cgd@broadcom.com>
5650 * testsuite/newlib.search/hsearchtest.c: New file to test
5652 * testsuite/newlib.search/hsearchtest.exp: Likewise.
5654 2002-07-10 Florian Schrack <florian.schrack@freenet.de>
5656 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
5658 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
5660 2002-07-08 Jeff Johnston <jjohnstn@redhat.com>
5662 * libc/include/math.h (MAXFLOAT): Added.
5664 Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
5666 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
5667 Make strcmp.S unconditional.
5668 * libc/machine/sh/Makefile.in: Regenerate.
5669 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
5670 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
5673 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
5675 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
5676 define before including <sys/lock.h>.
5678 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
5680 * libc/include/utime.h: Add include of <_ansi.h>.
5681 * libc/sys/linux/Makefile.am: Add utimes.c.
5682 * libc/sys/linux/Makefile.in: Regenerated.
5683 * libc/sys/linux/inode.c(__umask): New static routine.
5684 (umask): Written to use __umask and attempt to thread lock.
5685 (getumask): New function written to use __umask and thread lock.
5686 * libc/sys/linux/utimes.c: New file.
5687 * libc/sys/linux/sys/time.h: Fix utimes prototype.
5688 * libc/sys/linux/sys/utime.h: New file.
5690 2002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
5692 * libtool.m4: New file.
5693 * libc/sys/linux/process.c: Implement vfork in terms of fork,
5694 rather than as a syscall.
5696 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
5698 * libc/include/stdio.h: Add new prototypes.
5699 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
5700 * libc/stdio/Makefile.in: Regenerated.
5701 * libc/stdio/fseek.c: Add fseeko documentation.
5702 * libc/stdio/ftell.c: Add ftello documentation.
5703 * libc/stdio/fseeko.c: New file.
5704 * libc/stdio/ftello.c: New file.
5706 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
5708 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
5709 * libc/stdio/Makefile.in: Regenerated.
5710 * libc/stdio/asprintf.c: New file.
5711 * libc/stdio/vasprintf.c: Ditto.
5712 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
5713 the buffer for asprintf support.
5714 * libc/stdio/sprintf.c: Add asprintf documentation.
5715 * libc/stdio/vfprintf.c: Add vasprintf documentation.
5716 * libc/include/stdio.h: Add new prototypes.
5718 2002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
5720 * libc/search/hcreate.c: Remove advertising clause from license.
5721 * libc/search/hcreate_r.c: Likewise.
5723 2002-07-02 Chris Demetriou <cgd@broadcom.com>
5725 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
5726 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
5727 Check that one of them is defined and error out if not.
5728 Add any platforms defined in <machine/ieeefp.h> that are missing.
5729 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
5730 (DB_LITTLE_ENDIAN): New defines.
5731 * libc/search/hash.c: Replace all incorrect checks for
5732 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
5733 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
5734 * libc/search/hash_page.c: Likewise.
5736 2002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
5738 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
5740 2002-06-27 Benjamin Kosnik <bkoz@redhat.com>
5742 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
5743 * libc/include/time.h: Same.
5744 * libc/include/string.h: Same.
5745 * libc/include/stdlib.h: Same.
5746 * libc/include/signal.h: Same.
5747 * libc/include/setjmp.h: Same.
5748 * libc/include/math.h: Same.
5749 * libc/include/locale.h: Same.
5750 * libc/include/ctype.h: Same.
5751 * libc/include/machine/setjmp.h: Same.
5752 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
5755 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
5757 * libc/include/sys/_types.h: Define _ssize_t as int if int is
5758 32-bits, otherwise define it as long.
5759 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
5760 and define ssize_t as _ssize_t.
5761 * libc/reent/readr.c: Change return type to _ssize_t.
5762 * libc/reent/writer.c: Ditto.
5763 * libc/sys/linux/Makefile.am: Add aio.c.
5764 * libc/sys/linux/Makefile.in: Regenerated.
5765 * libc/sys/linux/aio.c: New file.
5766 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
5767 * libm/common/fdlibm.h: Undef __P before defining it.
5769 2002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
5771 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
5772 exponent_is_even_int variable. Handle case where x is
5773 negative, and y is an odd integer.
5774 * libm/mathfp/sf_pow.c (powf): Likewise.
5776 * libm/mathfp/er_lgamma.c: Remove __kernel references.
5777 * libm/mathfp/erf_lgamma.c: Likewise.
5778 * libm/mathfp/s_tgamma.c: Likewise.
5779 * libm/mathfp/sf_tgamma.c: Likewise.
5781 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
5783 * libc/sys/linux/Makefile.am: Add new clock routines.
5784 * libc/sys/linux/Makefile.in: Regenerated.
5785 * libc/sys/linux/clock_getres.c: New file.
5786 * libc/sys/linux/clock_gettime.c: Ditto.
5787 * libc/sys/linux/clock_settime.c: Ditto.
5788 * libc/sys/linux/hp-timing.h: Ditto.
5789 * libc/sys/linux/libc-internal.h: Ditto.
5790 * libc/sys/linux/sysconf.c: Fix typo.
5791 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
5792 * libc/sys/linux/machine/hp-timing.h: New file.
5793 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
5794 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
5795 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
5796 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
5797 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
5798 * libc/sys/linux/sys/linux_time.h: New file.
5799 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
5800 replace with <sys/linux_time.h>.
5802 Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
5804 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
5806 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
5808 * libc/sys/linux/Makefile.am: Consolidate additional items under
5810 * libc/sys/linux/Makefile.in: Regenerated.
5812 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
5814 * libc/sys/linux/sethostname.c: New file.
5815 * libc/sys/linux/Makefile.am: Add sethostname.c support.
5816 * libc/sys/linux/Makefile.in: Regenerated.
5818 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
5820 * libc/search/db_local.h: New file.
5821 * libc/include/db.h: Remove.
5822 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
5823 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
5825 * libc/search/hash_bigkey.c: Likewise.
5826 * libc/search/hash_buf.c: Likewise.
5827 * libc/search/hash_func.c: Likewise.
5828 * libc/search/hash_log2.c: Likewise.
5829 * libc/search/hash_page.c: Likewise.
5831 2002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
5833 * libc/machine/sh/strlen.S: New file.
5834 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
5835 * libc/machine/sh/Makefile.am: Regenerate.
5837 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
5839 * libc/sys/linux/gethostname.c: Change name to __gethostname and
5840 add gethostname alias.
5842 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
5844 * libc/include/math.h: Remove <sys/types.h>.
5845 (__dmath): Use __ULong instead of __uint32_t.
5846 * libc/include/sys/reent.h: If long or int is not 32-bits,
5847 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
5848 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
5849 * libm/common/fdlibm.h: Ditto.
5851 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
5853 * libc/include/ndbm.h: Remove.
5854 * libc/search/ndbm.c: Remove.
5856 2002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
5858 * libc/stdio/fseek.c (fseek): Fix braces.
5860 2002-06-21 Corinna Vinschen <corinna@vinschen.de>
5862 * libc/time/strftime.c (strftime): Add %e format specifier.
5864 2002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
5866 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
5869 2002-06-21 Richard Earnshaw (rearnsha@arm.com)
5871 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
5872 (BYTE_ORDER): Define as appropriate for the target.
5874 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
5876 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
5878 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
5880 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
5882 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
5883 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
5884 [HAVE_GETDATE](getdate_err): New error code.
5885 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
5886 * libc/stdio/Makefile.in: Regenerated.
5887 * libc/stdio/getdelim.c: New file.
5888 * libc/stdio/getline.c: Ditto.
5889 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
5890 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
5891 * libc/sys/linux/Makefile.in: Regenerated.
5892 * libc/sys/linux/getdate.c: New file.
5893 * libc/sys/linux/getdate_err.c: Ditto.
5894 * libc/sys/linux/ntp_gettime.c: Ditto.
5895 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
5896 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
5898 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
5900 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
5901 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
5902 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
5903 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
5904 * libc/include/sys/param.h: Remove i386 case which is handled
5906 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
5907 definitions in case they are already defined.
5908 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
5909 _IEEE_LITTLE_ENDIAN flags.
5910 * libc/include/sys/reent.h: Change __uint32_t references to
5912 (_REENT_GETDATE_REENT_P): New macro.
5913 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
5914 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
5915 * libc/search/hash.h: Add default setting of BYTE_ORDER,
5916 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
5917 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
5918 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
5919 pid_t, off_t, loff_t, caddr_t, and daddr_t type
5920 definitions which are done by subsequent glibc headers.
5921 Add macro definitions to prevent subsequent header files from
5922 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
5923 intptr_t to after glibc definitions of types they are based on.
5925 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
5927 * libc/include/errno.h: Protect from multiple inclusion.
5929 2002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
5931 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
5933 2002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
5935 * Makefile.am (LIB_OBJECTLISTS): Add
5936 libc/search/objectlist.awk.in.
5937 * libc/Makefile.am (SUBDIRS): Add search.
5938 (SUBLIBS): Add search/libsearch.la.
5939 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
5940 * libc/search: New directory.
5941 * libc/search/Makefile.am: New file.
5942 * libc/search/extern.h: New file.
5943 * libc/search/hash.c: New file.
5944 * libc/search/hash.h: New file.
5945 * libc/search/hash_bigkey.c: New file.
5946 * libc/search/hash_buf.c: New file.
5947 * libc/search/hash_func.c: New file.
5948 * libc/search/hash_log2.c: New file.
5949 * libc/search/hash_page.c: New file.
5950 * libc/search/hcreate.3: New file.
5951 * libc/search/hcreate.c: New file.
5952 * libc/search/hcreate_r.c: New file.
5953 * libc/search/ndbm.c: New file.
5954 * libc/search/page.h: New file.
5955 * libc/search/tdelete.c: New file.
5956 * libc/search/tdestroy.c: New file.
5957 * libc/search/tfind.c: New file.
5958 * libc/search/tsearch.3: New file.
5959 * libc/search/tsearch.c: New file.
5960 * libc/search/twalk.c: New file.
5961 * libc/include/db.h: New file.
5962 * libc/include/ndbm.h: New file.
5963 * libc/include/search.h: New file.
5964 * libc/include/sys/queue.h: New file.
5965 * libc/include/sys/cdefs.h: New file.
5966 * libc/include/sys/param.h
5967 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
5968 LITTLE_ENDIAN or BIG_ENDIAN.
5969 * libc/include/sys/errno.h (EFTYPE): New macro.
5970 * libc/search/bsearch.c: Move from libc/stdlib.
5971 * libc/search/qsort.c: Likewise.
5972 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
5974 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
5975 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
5977 2002-06-19 Jeff Johnston <jjohnstn@redhat.com>
5979 * libc/sys/linux/Makefile.am: Add support for message queue routines,
5980 ipc routines, and ftok.
5981 * libc/sys/linux/Makefile.in: Regenerated.
5982 * libc/sys/linux/ftok.c: New file.
5983 * libc/sys/linux/ipc.c: Ditto.
5984 * libc/sys/linux/mq_close.c: Ditto.
5985 * libc/sys/linux/mq_getattr.c: Ditto.
5986 * libc/sys/linux/mq_notify.c: Ditto.
5987 * libc/sys/linux/mq_open.c: Ditto.
5988 * libc/sys/linux/mq_receive.c: Ditto.
5989 * libc/sys/linux/mq_send.c: Ditto.
5990 * libc/sys/linux/mq_setattr.c: Ditto.
5991 * libc/sys/linux/mq_unlink.c: Ditto.
5992 * libc/sys/linux/mqlocal.h: Ditto.
5993 * libc/sys/linux/include/mqueue.h: Ditto.
5994 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
5997 2002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
5999 * libm/common/sf_lround.c (round): Change name to: (lround).
6000 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
6003 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
6005 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
6007 (newlib_pass_fail): Change to compile and run only one file.
6008 * testsuite/newlib.locale/locale.exp: Use new
6009 newlib_pass_fail_all procedure.
6010 * testsuite/newlib.string/string.exp: Likewise.
6012 2002-06-18 Dave Brolley <brolley@redhat.com>
6014 From Catherine Moore, Michael Meissner, Richard Sandiford:
6015 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
6017 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
6018 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
6019 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
6020 * configure.host: Support frv-*-*.
6021 * libc/machine/frv/Makefile.am: New file.
6022 * libc/machine/frv/configure.in: New file.
6023 * libc/machine/frv/setjmp.S: New file.
6025 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
6027 * libc/include/ctype.h: Remove isblank macro.
6029 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
6030 * libc/ctype/isblank.c: New file.
6031 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
6032 declaration. Add isblank macro.
6034 2002-06-18 Jeff Johnston <jjohnstn@redhat.com>
6036 * testsuite/newlib.stdlib/atexit.c: New file.
6037 * testsuite/newlib.stdlib/atexit.exp: Ditto.
6038 * testsuite/newlib.string/tstring.c: Change default start size
6039 to something more reasonable for embedded platforms.
6041 2002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
6043 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
6045 * libc/argz: New directory.
6046 * libc/argz/*: New files.
6047 * libc/argz/argz_add.c: New file.
6048 * libc/argz/argz_add_sep.c: New file.
6049 * libc/argz/argz_append.c: New file.
6050 * libc/argz/argz_count.c: New file.
6051 * libc/argz/argz_create.c: New file.
6052 * libc/argz/argz_create_sep.c: New file.
6053 * libc/argz/argz_delete.c: New file.
6054 * libc/argz/argz_extract.c: New file.
6055 * libc/argz/argz_insert.c: New file.
6056 * libc/argz/argz_next.c: New file.
6057 * libc/argz/argz_replace.c: New file.
6058 * libc/argz/argz_stringify.c: New file.
6059 * libc/argz/buf_findstr.c: New file.
6060 * libc/argz/envz_add.c: New file.
6061 * libc/argz/envz_entry.c: New file.
6062 * libc/argz/envz_get.c: New file.
6063 * libc/argz/envz_merge.c: New file.
6064 * libc/argz/envz_remove.c: New file.
6065 * libc/argz/envz_strip.c: New file.
6066 * libc/include/argz.h: New file.
6067 * libc/include/envz.h: New file.
6068 * Makefile.am (LIBC_OBJECTLISTS): Add
6069 libc/argz/objectlist.awk.in.
6070 * libc/Makefile.am (SUBDIRS): Add argz.
6071 (SUBLIBS): Add argz/libargz.la.
6072 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
6073 * libc/include/errno.h: Add error_t typedef.
6075 2002-06-13 Jeff Johnston <jjohnstn@redhat.com>
6077 * libc/include/stdlib.h: Add _Exit prototype.
6078 * libc/stdlib/Makefile.am: Add _Exit.c support.
6079 * libc/stdlib/Makefile.in: Ditto.
6080 * libc/stdlib/_Exit.c: New file.
6082 2002-06-13 Stephen L. Moshier <steve@moshier.net>
6084 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
6085 x is close to -1.0 and y is very large to use ax (absolute value)
6087 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
6089 Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
6091 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
6092 Fix clobbering bytes before destination if src and dst have same
6093 non-zero misalignment.
6095 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
6096 Fixed bug in writing end of set region.
6098 2002-06-10 Christopher Faylor <cgf@redhat.com>
6100 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
6101 spawnve declaration.
6103 2002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
6105 * libm/common/s_fdim.c: New file.
6106 * libm/common/s_fma.c: Likewise.
6107 * libm/common/s_fmax.c: Likewise.
6108 * libm/common/s_fmin.c: Likewise.
6109 * libm/common/s_fpclassify.c: Likewise.
6110 * libm/common/s_lrint.c: Likewise.
6111 * libm/common/s_lround.c: Likewise.
6112 * libm/common/s_nearbyint.c: Likewise.
6113 * libm/common/s_remquo.c: Likewise.
6114 * libm/common/s_round.c: Likewise.
6115 * libm/common/s_scalbln.c: Likewise.
6116 * libm/common/s_signbit.c: Likewise.
6117 * libm/common/s_trunc.c: Likewise.
6118 * libm/common/sf_fdim.c: Likewise.
6119 * libm/common/sf_fma.c: Likewise.
6120 * libm/common/sf_fmax.c: Likewise.
6121 * libm/common/sf_fmin.c: Likewise.
6122 * libm/common/sf_lrint.c: Likewise.
6123 * libm/common/sf_lround.c: Likewise.
6124 * libm/common/sf_nearbyint.c: Likewise.
6125 * libm/common/sf_remquo.c: Likewise.
6126 * libm/common/sf_round.c: Likewise.
6127 * libm/common/sf_scalbln.c: Likewise.
6128 * libm/common/sf_trunc.c: Likewise.
6129 * libm/math/w_exp2.c: Likewise.
6130 * libm/math/w_tgamma.c: Likewise.
6131 * libm/math/wf_exp2.c: Likewise.
6132 * libm/math/wf_tgamma.c: Likewise.
6133 * libm/mathfp/s_exp2.c: Likewise.
6134 * libm/mathfp/s_tgamma.c: Likewise.
6135 * libm/mathfp/sf_exp2.c: Likewise.
6136 * libm/mathfp/sf_tgamma.c: Likewise.
6137 * libm/math/er_gamma.c: Fix return value.
6138 * libm/math/erf_gamma.c: Likewise.
6139 * libm/mathfp/er_gamma.c: Likewise.
6140 * libm/mathfp/erf_gamma.c: Likewise.
6141 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
6142 declarations and macros.
6143 Regenerated all Makefile.in, aclocal.m4 and configure files to
6144 use new libtool macros in top-level libtool.m4
6146 2002-06-05 Jeff Johnston <jjohnstn@redhat.com>
6148 * libc/include/string.h[__linux__]: Add strsignal prototype.
6149 * libc/include/sys/lock.h: New file with default locking support.
6150 * libc/include/sys/reent.h: Add signal buffer support for strsignal
6152 * libc/posix/Makefile.am: Add support for readdir_r.c.
6153 * libc/posix/Makefile.in: Regenerated.
6154 * libc/posix/closedir.c: Add locking support and hash table cleanup.
6155 * libc/posix/opendir.c: Add lock support.
6156 * libc/posix/readdir.c: Ditto.
6157 * libc/posix/rewinddir.c: Ditto.
6158 * libc/posix/scandir.c: Ditto.
6159 * libc/posix/seekdir.c: Ditto.
6160 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
6161 clean up leftover hash table entries.
6162 * libc/posix/readdir_r.c: New file.
6163 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
6164 * libc/sys/linux/Makefile.in: Regenerated.
6165 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
6166 * libc/sys/linux/sys/signal.h: Add psignal prototype.
6167 * libc/sys/linux/psignal.c: New file.
6168 * libc/sys/linux/strsignal.c: Ditto.
6170 2002-06-03 Corinna Vinschen <corinna@vinschen.de>
6172 * libc/include/sys/types.h: Don't define dev_t when compiling for
6175 2002-05-31 Jeff Johnston <jjohnstn@redhat.com>
6177 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
6178 make siglist.inc dependent on sig.c instead of signal.c.
6179 * libc/sys/linux/Makefile.in: Regenerated.
6180 * libc/sys/linux/sig.c: Rename from signal.c and change code to
6181 use NSIG instead of _NSIG.
6182 * libc/sys/linux/sigaction.c: New file.
6183 * libc/sys/linux/signal.c: Changed to be linux signal() function
6184 so as to override regular newlib default signal.c.
6185 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
6186 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
6187 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
6188 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
6189 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
6190 default linux sigset_t typedef by defining it equal to __sigset_t.
6191 * libc/unix/sigset.c: Add check so code isn't compiled on systems
6192 with a sigset_t that isn't implemented with a single int.
6194 2002-05-30 Jeff Johnston <jjohnstn@redhat.com>
6196 * libc/sys/linux/Makefile.am: Add support for new files.
6197 * libc/sys/linux/Makefile.in: Regenerated.
6198 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
6199 * libc/sys/linux/signal.c: Change to use real-time syscalls for
6200 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
6201 it is in a separate file now.
6202 * libc/sys/linux/machine/i386/Makefile.am
6203 * libc/sys/linux/machine/i386/Makefile.in
6204 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
6205 * libc/sys/linux/sigaction.c: New file.
6206 * libc/sys/linux/sigqueue.c: Ditto.
6207 * libc/sys/linux/sigwait.c: Ditto.
6208 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
6209 * libc/sys/linux/kernel_sigaction.h: Ditto.
6211 2002-05-28 Jeff Johnston <jjohnstn@redhat.com>
6213 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
6215 * libc/sys/linux/Makefile.in: Regenerated.
6216 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
6217 tcgetpgrp(), and tcsetpgrp() functions.
6218 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
6219 to get __MAX_BAUD rate.
6220 * libc/sys/linux/machine/i386/include/termios.h: New file.
6221 * libc/include/machine/termios.h: Ditto.
6222 * libc/sys/linux/cfspeed.c: Ditto.
6223 * libc/sys/linux/tcsendbrk.c: Ditto.
6225 2002-05-24 Jeff Johnston <jjohnstn@redhat.com>
6227 * libc/include/string.h: Add strnlen and strerror_r prototypes.
6228 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
6229 * libc/string/Makefile.in: Regenerated.
6230 * libc/string/strerror_r.c: New file.
6231 * libc/string/strnlen.c: New file.
6232 * libc/sys/linux/Makefile.am: Add rename.c.
6233 * libc/sys/linux/Makefile.in: Regenerated.
6234 * libc/sys/linux/rename.c: New file to override default rename.
6236 2002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
6238 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
6239 * libc/sys/linux/sys/time.h: Add conversion macros.
6240 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
6241 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
6242 * libc/sys/linux/gethostname.c: New file.
6243 * libc/sys/linux/seteuid.c: New file.
6244 * libc/sys/linux/sysctl.c: New file.
6246 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
6248 * libc/string/Makefile.am: Add support for strsep.c.
6249 * libc/string/Makefile.in: Regenerated.
6250 * libc/string/strsep.c: New file.
6251 * libc/string/strtok.c: Change to call __strtok_r service routine.
6252 * libc/string/strtok_r.c: Add __strtok_r routine which takes
6253 additional flag parameter regarding whether to skip leading delimeters.
6254 Change strtok_r to call __strtok_r.
6256 2002-05-23 Gareth Pearce <tilps@hotmail.com>
6258 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
6259 * libc/stdio/Makefile.in: Regenerated.
6260 * libc/stdio/setbuffer.c: New file.
6261 * libc/stdio/setlinebuf.c: New file.
6263 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
6265 * libc/sys/linux/Makefile.am: Add resource.c.
6266 * libc/sys/linux/Makefile.in: Regenerated.
6267 * libc/sys/linux/resource.c: New file.
6268 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
6269 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
6270 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
6271 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
6272 are now found in libc/sys/linux/resource.c.
6274 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
6276 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
6277 to use void * pointers and comply with Single Unix spec.
6278 * libc/string/bcmp.c: Change to use void * instead of char *.
6279 * libc/string/bcopy.c: Ditto.
6280 * libc/string/bzero.c: Ditto.
6282 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
6284 * libc/sys/linux/shm_open.c: New file.
6285 * libc/sys/linux/shm_unlink.c: Ditto.
6286 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
6288 * libc/sys/linux/Makefile.in: Regenerated.
6289 * libc/sys/linux/sys/types.h: Add some additional checks to see
6290 if clock_t or time_t is already defined.
6292 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
6294 * Makefile.am: Don't pass $toollibdir down directly in
6295 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
6296 Pass it under the name: top_toollibdir.
6297 * Makefile.in: Regenerated.
6299 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
6301 * libc/include/sys/types.h: Revert previous patch.
6303 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
6305 * libc/include/sys/types.h: Include cygwin/types.h always under
6306 Cygwin, not only if _POSIX_THREADS is defined.
6308 2002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
6310 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
6312 2002-05-17 Jeff Johnston <jjohnstn@redhat.com>
6314 * Makefile.am: Copy and install headers from sys/machine/include
6315 directory. Also pass $toollibdir to lower-level directories.
6316 * Makefile.in: Regenerated.
6317 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
6318 stderr to use _REENT macro instead of _impure_ptr directly.
6319 * libc/include/sys/config.h[__i386__][__linux__]: Define
6321 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
6322 call to __getreent() function if !__SINGLE_THREAD__ and
6323 __DYNAMIC_REENT__ is set.
6324 * libc/reent/Makefile.am: Add support for getreent.c.
6325 * libc/reent/Makefile.in: Regenerated.
6326 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
6327 * libc/sys/linux/Makefile.am: Add support for new files.
6328 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
6329 * libc/sys/linux/Makefile.in: Regenerated.
6330 * libc/sys/linux/configure: Ditto.
6331 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
6332 __close, __read, __write, __poll, __open, __lseek, __fcntl from
6333 their __libc_ counterparts.
6334 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
6335 and weak-alias to regular names.
6336 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
6337 to pread64 and __pread64.
6338 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
6339 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
6340 weak-alias to pwrite64.
6341 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
6342 __libc_sched_getscheduler, __libc_sched_get_priority_max,
6343 __libc_sched_get_priority_min, and __libc_sched_setschedule to
6344 name with __ instead of __libc_.
6345 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
6346 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
6347 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
6348 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
6350 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
6351 __libc_send to __send.
6352 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
6354 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
6355 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
6356 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
6357 type and typedef __jmp_buf to jmp_buf.
6358 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
6360 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
6361 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
6363 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
6364 prefix for function macros and then use weak_alias() to regular names.
6365 * libc/sys/linux/machine/i386/syscall.h: Ditto.
6366 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
6367 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
6368 to be flockfile() and funlockfile() respectively.
6369 * libc/sys/linux/sys/types.h
6370 * libc/reent/getreent.c: New file.
6371 * libc/sys/linux/flockfile.c: Ditto.
6372 * libc/sys/linux/funlockfile.c: Ditto.
6373 * libc/sys/linux/getreent.c: Ditto.
6374 * libc/sys/linux/pread.c: Ditto.
6375 * libc/sys/linux/pwrite.c: Ditto.
6376 * libc/sys/linux/raise.c: Ditto.
6377 * libc/sys/linux/system.c: Ditto.
6378 * libc/sys/linux/tcdrain.c: Ditto.
6379 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
6380 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
6381 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
6382 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
6383 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
6385 2002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
6387 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
6388 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
6389 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
6390 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
6392 Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
6394 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
6395 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
6398 2002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6400 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
6401 options when testing natively on i[3456]86-*-linux.
6403 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
6404 only one pass or fail per test file. Trim \r's from output
6405 values received from test programs. Remove support for named
6407 * testsuite/newlib.locale/UTF-8.exp: Update to support new
6408 newlib_check_output behaviour.
6409 * testsuite/newlib.locale/UTF-8.c: Likewise.
6411 2002-05-15 Jeff Johnston <jjohnstn@redhat.com>
6413 * libc/include/stdlib.h: Add on_exit prototype.
6414 * libc/include/sys/reent.h (struct _atexit): Add argument array
6415 and bits to track type of exit routine to support both on_exit
6417 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
6418 by default and change the setting of the atexit structure.
6419 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
6420 * libc/stdlib/on_exit.c: New file.
6421 * libc/stdlib/Makefile.am: Add support for on_exit.
6422 * libc/stdlib/Makefile.in: Regenerated.
6423 * libc/stdlib/atexit.c: Change to initialize types field.
6424 * libc/stdlib/exit.c: Change to look at types field for each
6425 exit routine and either call an atexit-style or an on_exit-style
6426 routine accordingly.
6428 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
6430 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
6431 allow v specifier with n or L specifiers. For vector c format,
6432 move tmp declaration to the top.
6434 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
6436 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
6437 the original format specifier when looping for vectors to compensate
6438 for any changes made in vector %g format processing.
6439 Also add syntax checking for various invalid scenarios
6440 involving vector format extensions.
6441 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
6442 return code setting for vector formats. Also treat vector
6443 separator mismatch as a match error instead of an input error.
6444 Perform some syntax checking for vector formats.
6446 2002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
6448 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
6449 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
6450 * libc/string/strlcat.c: New file.
6451 * libc/string/strlcpy.c: New file.
6453 2002-05-10 Jeff Johnston <jjohnstn@redhat.com>
6455 * libc/string/strchr.c: Fix comment typo.
6457 2002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
6459 * acinclude.m4: Add support for --enable-newlib-multithread.
6460 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
6461 --enable-newlib-multithread=no.
6463 * libc/stdio/getc_u.c: New file.
6464 * libc/stdio/getchar_u.c: New file.
6465 * libc/stdio/putc_u.c: New file.
6466 * libc/stdio/putchar_u.c: New file.
6467 * libc/include/stdio.h: Add declarations for getc_unlocked,
6468 getchar_unlocked, putc_unlocked and putchar_unlocked.
6469 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
6470 (CHEWOUT_FILES): Add new files' .def's.
6471 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
6473 Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
6475 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
6476 Also handle as single quad word when destination ends at last
6477 byte of first quad word. Fix byte selection in single quad code.
6479 2002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
6481 * libc/include/sys/stdio.h: New file.
6482 * libc/sys/linux/sys/stdio.h: New file.
6483 * libc/include/stdio.h: Add declarations for flockfile,
6484 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
6485 * libc/stdio/clearerr.c: Add file locking.
6486 * libc/stdio/fclose.c: Likewise.
6487 * libc/stdio/feof.c: Likewise.
6488 * libc/stdio/ferror.c: Likewise.
6489 * libc/stdio/fflush.c: Likewise.
6490 * libc/stdio/fgetc.c: Likewise.
6491 * libc/stdio/fgetpos.c: Likewise.
6492 * libc/stdio/fgets.c: Likewise.
6493 * libc/stdio/fileno.c: Likewise.
6494 * libc/stdio/fputc.c: Likewise.
6495 * libc/stdio/fputs.c: Likewise.
6496 * libc/stdio/fread.c: Likewise.
6497 * libc/stdio/freopen.c: Likewise.
6498 * libc/stdio/fseek.c: Likewise.
6499 * libc/stdio/ftell.c: Likewise.
6500 * libc/stdio/fwrite.c: Likewise.
6501 * libc/stdio/getc.c: Likewise.
6502 * libc/stdio/putc.c: Likewise.
6503 * libc/stdio/setvbuf.c: Likewise.
6504 * libc/stdio/ungetc.c: Likewise.
6505 * libc/stdio/vfprintf.c: Likewise.
6507 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
6509 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
6510 support for 'p' format. Fix code to print bytes for vector
6511 integer formats that do not specify 'h' or 'l'.
6512 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
6513 for 'p' specifier. Fix code to scan 16 bytes for vector integer
6514 formats that do not specify 'h' or 'l'.
6516 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
6518 2002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
6520 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
6521 (_sbrk): Add cast of return value.
6523 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
6525 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
6526 (_REENT_L64A_BUF): New macro for accessing area.
6527 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
6528 * libc/stdlib/Makefile.in: Regenerated.
6529 * libc/stdlib/a64l.c: New file.
6530 * libc/stdlib/l64a.c: New file.
6532 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
6534 * libc/unix/pread.c: Fix typo for _pread_r.
6535 * libc/unix/pwrite.c: Fix type for _pwrite_r.
6536 * libc/sys/linux/pread64.c: Fix typo for read syscall.
6537 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
6539 2002-05-03 Christopher Faylor <cgf@redhat.com>
6541 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
6543 2002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
6545 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
6547 2002-05-01 Christopher Faylor <cgf@redhat.com>
6549 * utmp.h: Define more UNIX constants.
6551 2002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
6553 * Makefile.am: Add support for checking multilibs.
6555 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
6556 (SUBDEFS): Add LIBC_EXTRA_DEF.
6557 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
6558 (LIBC_EXTRA_DEF): Likewise.
6559 (extra_dir): Likewise.
6560 * libc/machine/xscale/machine: New directory.
6561 * libc/machine/xscale/machine/profile.h: New file.
6563 * Makefile.am (site.exp): Remove newlib_cflags. Add
6565 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
6566 * testsuite/lib/flags.exp: New file.
6567 * testsuite/lib/newlib.exp: Load flags.exp.
6568 (newlib_target_compile): Remove libgloss directory references.
6569 (newlib_init): Remove newlib_cflags references.
6571 2002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
6573 * testsuite/lib/newlib.exp (newlib_target_compile): Change
6574 method of finding libgloss_target_dir.
6576 * Makefile.am (site.exp): Change host_alias, host_triplet,
6577 target_alias, target_triplet to refer to gcc's host and target
6578 variables (newlib's build and host variables).
6579 * testsuite/lib/newlib.exp (newlib_init): Change build
6580 references to host references, host references to target
6581 references to reflect Makefile.am changes.
6582 (newlib_target_compile): Likewise.
6583 (newlib_finish): Likewise.
6585 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
6587 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
6589 2002-04-29 Jonathan Larmour <jlarmour@redhat.com>
6591 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
6592 (_system): New function. Ditto.
6593 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
6594 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
6597 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
6599 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
6600 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
6601 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
6602 * libc/sys/linux/Makefile.in: Regenerated.
6603 * libc/unix/Makefile.in: Ditto.
6604 * libc/sys/linux/pread64.c: New file.
6605 * libc/sys/linux/pwrite64.c: Ditto.
6606 * libc/unix/pread.c: Ditto.
6607 * libc/unix/pwrite.c: Ditto.
6609 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
6611 * libc/sys/linux/Makefile.am: Add io64.c.
6612 * libc/sys/linux/Makefile.in: Regenerated.
6613 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
6614 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
6615 * libc/sys/linux/io64.c: New file.
6617 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
6619 * configure.in (CC_FOR_NEWLIB): New variable that
6620 bases on $(CC) and adds targ-include and libc/include as
6621 -isystem directives if they are not already part of $(CC).
6622 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
6624 * configure: Regenerated.
6625 * Makefile.in: Ditto.
6627 2002-04-25 Jeff Johnston <jjohnstn@redhat.com>
6629 * libc/sys/linux/Makefile.am: Add support for sched.c.
6630 * libc/sys/linux/Makefile.in: Regenerated.
6631 * libc/sys/linux/sched.c: New file.
6632 * libc/sys/linux/sys/types.h: Add struct timespec.
6634 2002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
6636 * configure.in (CC_FOR_BUILD): Set to gcc whether
6637 cross-compiling or not.
6638 (CC): Add -isystem's for targ-include and libc/include when they
6639 do not already appear in CC.
6641 2002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
6643 * Makefile.am (check-DEJAGNU): New target.
6644 (site.exp): Likewise.
6645 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
6646 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
6647 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
6648 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
6649 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
6650 * testsuite: New directory.
6651 * testsuite/config: Likewise.
6652 * testsuite/lib: Likewise.
6653 * testsuite/newlib.locale: Likewise.
6654 * testsuite/newlib.string: Likewise.
6655 * testsuite/config/default.exp: New file.
6656 * testsuite/lib/checkoutput.exp: New file.
6657 * testsuite/lib/newlib.exp: New file.
6658 * testsuite/lib/passfail.exp: New file.
6659 * testsuite/newlib.locale/UTF-8.c: New file.
6660 * testsuite/newlib.locale/UTF-8.exp: New file.
6661 * testsuite/newlib.locale/locale.exp: New file.
6662 * testsuite/newlib.string/string.exp: New file.
6663 * testsuite/newlib.string/tstring.c: New file.
6665 2002-04-23 Jeff Johnston <jjohnstn@redhat.com>
6667 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
6668 * libc/sys/linux/Makefile.am: Add support for mmap.c.
6669 * libc/sys/linux/Makefile.in: Regenerated.
6670 * libc/sys/linux/mmap.c: New file.
6671 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
6672 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
6674 2002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
6676 * acinclude.m4 (newlib_cflags): Remove include directories that
6677 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
6679 2002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
6681 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
6682 * libc/machine/xscale/memcmp.c: Ditto.
6683 * libc/machine/xscale/memcpy.c: Ditto.
6684 * libc/machine/xscale/memmove.c: Ditto.
6685 * libc/machine/xscale/memset.c: Ditto.
6686 * libc/machine/xscale/strchr.c: Ditto.
6687 * libc/machine/xscale/strcmp.c: Ditto.
6688 * libc/machine/xscale/strcpy.c: Ditto.
6689 * libc/machine/xscale/strlen.c: Ditto.
6691 2002-04-19 Alexandre Oliva <aoliva@redhat.com>
6693 * libc/include/sys/config.h: Remove include of <limits.h>.
6694 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
6695 define INT_MAX and LONG_MAX. Use them in tests.
6697 2002-04-19 Jeff Johnston <jjohnstn@redhat.com>
6699 * configure.host: Add support for powerpc-eabialtivec*.
6700 * libc/include/malloc.h: Add include of <machine/malloc.h>.
6701 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
6702 * libc/include/machine/malloc.h: New file.
6703 * libc/include/machine/stdlib.h: Ditto.
6704 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
6705 * libc/machine/powerpc/Makefile.am: Add conditional objects and
6706 sources based on configuration.
6707 * libc/machine/powerpc/Makefile.in: Regenerated.
6708 * libc/machine/powerpc/configure: Ditto.
6709 * libc/machine/powerpc/configure.in: Add check for
6710 powerpc-eabialtivec* in which case add in additional source files.
6711 * libc/machine/powerpc/setjmp.S: Add altivec support.
6712 * libc/machine/powerpc/vec_calloc.c: New file.
6713 * libc/machine/powerpc/vec_free.c: Ditto.
6714 * libc/machine/powerpc/vec_malloc.c: Ditto.
6715 * libc/machine/powerpc/vec_mallocr.c: Ditto.
6716 * libc/machine/powerpc/vec_realloc.c: Ditto.
6717 * libc/machine/powerpc/machine/malloc.h: Ditto.
6718 * libc/machine/powerpc/machine/stdlib.h: Ditto.
6719 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
6720 with added altivec format specifiers.
6721 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
6722 added altivec format specifiers.
6724 2002-04-19 Joel Sherrill <joel@OARcorp.com>
6726 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
6727 while autoconf is trying to link main(){}.
6729 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
6731 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
6732 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
6734 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
6736 * libc/time/time.tex: Add tzset info.
6738 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
6740 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
6741 (strptime): Moved prototype to be within !__STRICT_ANSI__.
6742 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
6743 (tzname): Defined for all platforms.
6744 (daylight, timezone): Defined only for CYGWIN.
6745 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
6747 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
6748 environment variable is set.
6749 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
6751 * libc/time/Makefile.in: Regenerated.
6752 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
6753 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
6754 * libc/time/lcltime_r.c (lcltime_r): Ditto.
6755 * libc/time/local.h: New local header file.
6756 * libc/time/mktime.c (mktime): Add timezone support.
6757 * libc/time/mktm_r.c: New file which is the common engine
6758 for gmtime_r and lcltime_r. This code has timezone support.
6759 * libc/time/strftime.c (strftime): Add %Z timezone support.
6760 * libc/time/tzlock.c: New file containing timezone lock stubs.
6761 * libc/time/tzset.c: New file containing tzset() routine.
6762 * libc/time/tzset_r.c: New file containing _tzset_r and
6763 internal routine for calculating timezone changes for specified year.
6765 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6767 * configure.in (CRT0_DIR): Set to libc/.
6768 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
6769 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
6770 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
6771 $(CRT1_DIR)/$(CRT1).
6772 * libc/machine/xstormy16/Makefile.in: Regenerated.
6773 * libc/machine/xstormy16/aclocal.m4: Regenerated.
6774 * libc/machine/xstormy16/configure: Regenerated.
6776 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
6778 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
6779 fails, don't bail out, and try to correct next time.
6781 * libc/include/sys/config.h: Include limits.h.
6783 2002-04-12 Eric Norum <eric.norum@usask.com>
6785 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
6786 routine to allow autoconf to determine that building executables
6788 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
6789 (rtems_gxx_mutex_once): Ditto.
6791 2002-04-09 Tom Rix <trix@redhat.com>
6793 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
6795 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
6797 * libc/include/time.h: Fix strptime declaration.
6798 * libc/time/Makefile.am: Add strptime.c.
6799 * libc/time/Makefile.in: Regenerated.
6800 * libc/time/strptime.c: New file.
6802 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
6804 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
6805 siglongjmp prototype, and sigsetjmp macro definition.
6806 * libc/sys/linux/siglongjmp.c: New file.
6807 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
6808 * libc/sys/linux/Makefile.in: Regenerated.
6810 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
6812 * Makefile.am: Add support for installing crt1.o if one exists.
6813 * configure.host: Specify crt1.o for linux.
6814 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
6815 * Makefile.in: Regenerated.
6817 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
6818 Added for non-Cygwin, non-RTEMS configurations.
6819 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
6820 * libc/sys/linux/Makefile.in: Regenerated.
6821 * libc/sys/linux/crt1.c: New empty file to override one defaulted
6822 by gcc. This fixes problem with reconfiguring linux newlib build.
6823 * libc/sys/linux/sysconf.c: New file.
6825 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
6827 * configure.host: Add support for machine subdirectory of
6829 * configure.in: Add check for sys machine subdirectory.
6830 * Makefile.am: Ditto.
6831 * configure: Regenerated.
6832 * Makefile.in: Ditto.
6833 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
6834 * libc/sys/linux/sys/syscall.h: Ditto.
6835 * libc/sys/linux/sleep.c: New file.
6836 * libc/sys/linux/socket.c: Ditto.
6837 * libc/sys/linux/sockops.h: Ditto.
6838 * libc/sys/linux/stack.c: Ditto.
6839 * libc/sys/linux/usleep.c: Ditto.
6840 * libc/sys/linux/machine/Makefile.am: Ditto.
6841 * libc/sys/linux/machine/Makefile.in: Ditto.
6842 * libc/sys/linux/machine/aclocal.m4: Ditto.
6843 * libc/sys/linux/machine/configure: Ditto.
6844 * libc/sys/linux/machine/configure.in: Ditto.
6845 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
6846 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
6847 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
6848 * libc/sys/linux/machine/i386/configure: Ditto.
6849 * libc/sys/linux/machine/i386/configure.in: Ditto.
6850 * libc/sys/linux/machine/i386/crt0.c: Ditto.
6851 * libc/sys/linux/machine/i386/sigset.c: Ditto.
6852 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
6853 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
6854 * libc/sys/linux/machine/i386/syscall.h: Ditto.
6855 * libc/sys/linux/sys/select.h: Ditto.
6856 * libc/sys/linux/configure.in: Add support for machine directory.
6857 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
6858 * libc/sys/linux/Makefile.in: Regenerated.
6859 * libc/sys/linux/configure: Ditto.
6860 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
6861 * libc/sys/linux/inode.c: Ditto.
6862 * libc/sys/linux/linux.c: Ditto.
6863 * libc/sys/linux/process.c: Ditto.
6864 * libc/sys/linux/systat.c: Ditto.
6865 * libc/sys/linux/time.c: Ditto.
6866 * libc/sys/linux/wait.c: Ditto.
6867 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
6868 * libc/sys/linux/io.c: Change header plus add readv/writev.
6869 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
6870 use __sigsuspend syscall.
6871 * libc/sys/linux/select.c: Change header plus change select to
6872 use _newselect syscall.
6873 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
6874 used by glibc header files.
6875 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
6878 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
6880 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
6881 initializing a struct _reent that has been dynamically allocated.
6882 (_REENT_CHECK_MISC): New macro that checks _misc struct for
6883 _REENT_SMALL and does nothing otherwise.
6884 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
6885 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
6886 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
6887 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
6888 [_REENT_SMALL](struct _misc_reent): New structure containing
6889 miscellaneous reentrant areas needed by newlib.
6890 [_REENT_SMALL](struct _reent): Add _misc pointer.
6891 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
6892 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
6893 and _REENT_STRTOK_LAST macros.
6894 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
6895 and _REENT_MBLEN_STATE macros.
6896 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
6897 and _REENT_MBTOWC_STATE macros.
6898 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
6899 and _REENT_WCTOMB_STATE macros.
6901 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
6903 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
6905 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
6907 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
6909 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
6911 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
6912 Store high part of leading bytes too.
6914 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
6916 * libm/math/ef_hypot.c: Increase scale factor to 68.
6918 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
6920 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
6923 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
6925 * libc/sys/go32/access.c: Change license to relaxed license
6926 used in identical file throughout newlib/libgloss.
6928 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
6930 * libc/sys/arm/access.c: New file.
6931 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
6932 * libc/sys/arm/Makefile.in: Regenerate.
6933 * libc/sys/arm/syscalls.c (_stat): New function.
6935 2002-03-11 Michael Meissner <meissner@redhat.com>
6937 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
6938 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
6939 * libc/machine/mips/Makefile.in: Regenerate.
6940 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
6941 * libc/machine/mips/memset.c: Dito.
6942 * libc/machine/mips/strcmp.c: Dito.
6943 * libc/machine/mips/strlen.c: Dito.
6944 * libc/machine/mips/strncmp.c: Dito.
6946 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
6948 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
6949 object so it works for shared library or statici library.
6950 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
6952 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
6953 (strptime): Moved prototype to be within !__STRICT_ANSI__.
6954 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
6955 (tzname): Defined for all platforms.
6956 (daylight, timezone): Defined only for CYGWIN.
6957 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
6959 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
6960 environment variable is set.
6961 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
6963 * libc/time/Makefile.in: Regenerated.
6964 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
6965 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
6966 * libc/time/lcltime_r.c (lcltime_r): Ditto.
6967 * libc/time/local.h: New local header file.
6968 * libc/time/mktime.c (mktime): Add timezone support.
6969 * libc/time/mktm_r.c: New file which is the common engine
6970 for gmtime_r and lcltime_r. This code has timezone support.
6971 * libc/time/strftime.c (strftime): Add %Z timezone support.
6972 * libc/time/tzlock.c: New file containing timezone lock stubs.
6973 * libc/time/tzset.c: New file containing tzset() routine.
6974 * libc/time/tzset_r.c: New file containing _tzset_r and
6975 internal routine for calculating timezone changes for specified year.
6977 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6979 * configure.in (CRT0_DIR): Set to libc/.
6980 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
6981 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
6982 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
6983 $(CRT1_DIR)/$(CRT1).
6984 * libc/machine/xstormy16/Makefile.in: Regenerated.
6985 * libc/machine/xstormy16/aclocal.m4: Regenerated.
6986 * libc/machine/xstormy16/configure: Regenerated.
6988 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
6990 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
6991 fails, don't bail out, and try to correct next time.
6993 * libc/include/sys/config.h: Include limits.h.
6995 2002-04-12 Eric Norum <eric.norum@usask.com>
6997 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
6998 routine to allow autoconf to determine that building executables
7000 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
7001 (rtems_gxx_mutex_once): Ditto.
7003 2002-04-09 Tom Rix <trix@redhat.com>
7005 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
7007 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
7009 * libc/include/time.h: Fix strptime declaration.
7010 * libc/time/Makefile.am: Add strptime.c.
7011 * libc/time/Makefile.in: Regenerated.
7012 * libc/time/strptime.c: New file.
7014 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
7016 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
7017 siglongjmp prototype, and sigsetjmp macro definition.
7018 * libc/sys/linux/siglongjmp.c: New file.
7019 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
7020 * libc/sys/linux/Makefile.in: Regenerated.
7022 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
7024 * Makefile.am: Add support for installing crt1.o if one exists.
7025 * configure.host: Specify crt1.o for linux.
7026 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
7027 * Makefile.in: Regenerated.
7029 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
7030 Added for non-Cygwin, non-RTEMS configurations.
7031 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
7032 * libc/sys/linux/Makefile.in: Regenerated.
7033 * libc/sys/linux/crt1.c: New empty file to override one defaulted
7034 by gcc. This fixes problem with reconfiguring linux newlib build.
7035 * libc/sys/linux/sysconf.c: New file.
7037 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
7039 * configure.host: Add support for machine subdirectory of
7041 * configure.in: Add check for sys machine subdirectory.
7042 * Makefile.am: Ditto.
7043 * configure: Regenerated.
7044 * Makefile.in: Ditto.
7045 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
7046 * libc/sys/linux/sys/syscall.h: Ditto.
7047 * libc/sys/linux/sleep.c: New file.
7048 * libc/sys/linux/socket.c: Ditto.
7049 * libc/sys/linux/sockops.h: Ditto.
7050 * libc/sys/linux/stack.c: Ditto.
7051 * libc/sys/linux/usleep.c: Ditto.
7052 * libc/sys/linux/machine/Makefile.am: Ditto.
7053 * libc/sys/linux/machine/Makefile.in: Ditto.
7054 * libc/sys/linux/machine/aclocal.m4: Ditto.
7055 * libc/sys/linux/machine/configure: Ditto.
7056 * libc/sys/linux/machine/configure.in: Ditto.
7057 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
7058 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
7059 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
7060 * libc/sys/linux/machine/i386/configure: Ditto.
7061 * libc/sys/linux/machine/i386/configure.in: Ditto.
7062 * libc/sys/linux/machine/i386/crt0.c: Ditto.
7063 * libc/sys/linux/machine/i386/sigset.c: Ditto.
7064 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
7065 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
7066 * libc/sys/linux/machine/i386/syscall.h: Ditto.
7067 * libc/sys/linux/sys/select.h: Ditto.
7068 * libc/sys/linux/configure.in: Add support for machine directory.
7069 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
7070 * libc/sys/linux/Makefile.in: Regenerated.
7071 * libc/sys/linux/configure: Ditto.
7072 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
7073 * libc/sys/linux/inode.c: Ditto.
7074 * libc/sys/linux/linux.c: Ditto.
7075 * libc/sys/linux/process.c: Ditto.
7076 * libc/sys/linux/systat.c: Ditto.
7077 * libc/sys/linux/time.c: Ditto.
7078 * libc/sys/linux/wait.c: Ditto.
7079 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
7080 * libc/sys/linux/io.c: Change header plus add readv/writev.
7081 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
7082 use __sigsuspend syscall.
7083 * libc/sys/linux/select.c: Change header plus change select to
7084 use _newselect syscall.
7085 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
7086 used by glibc header files.
7087 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
7090 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
7092 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
7093 initializing a struct _reent that has been dynamically allocated.
7094 (_REENT_CHECK_MISC): New macro that checks _misc struct for
7095 _REENT_SMALL and does nothing otherwise.
7096 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
7097 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
7098 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
7099 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
7100 [_REENT_SMALL](struct _misc_reent): New structure containing
7101 miscellaneous reentrant areas needed by newlib.
7102 [_REENT_SMALL](struct _reent): Add _misc pointer.
7103 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
7104 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
7105 and _REENT_STRTOK_LAST macros.
7106 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
7107 and _REENT_MBLEN_STATE macros.
7108 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
7109 and _REENT_MBTOWC_STATE macros.
7110 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
7111 and _REENT_WCTOMB_STATE macros.
7113 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
7115 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
7117 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
7119 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
7121 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
7123 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
7124 Store high part of leading bytes too.
7126 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
7128 * libm/math/ef_hypot.c: Increase scale factor to 68.
7130 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
7132 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
7135 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
7137 * libc/sys/go32/access.c: Change license to relaxed license
7138 used in identical file throughout newlib/libgloss.
7140 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
7142 * libc/sys/arm/access.c: New file.
7143 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
7144 * libc/sys/arm/Makefile.in: Regenerate.
7145 * libc/sys/arm/syscalls.c (_stat): New function.
7147 2002-03-11 Michael Meissner <meissner@redhat.com>
7149 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
7150 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
7151 * libc/machine/mips/Makefile.in: Regenerate.
7152 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
7153 * libc/machine/mips/memset.c: Dito.
7154 * libc/machine/mips/strcmp.c: Dito.
7155 * libc/machine/mips/strlen.c: Dito.
7156 * libc/machine/mips/strncmp.c: Dito.
7158 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
7160 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
7161 object so it works for shared library or statici library.
7162 * libc/machine/i386/Makefile.in: Regenerated.
7164 Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
7166 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
7167 Add memcpy.S, memset.S and strcpy.S.
7168 * libc/machine/sh/Makefile.in: Regenerate.
7169 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
7170 (SHHI, SHLO): Define.
7171 * libc/machine/sh/memset.S: Add code for SH5.
7172 * libc/machine/sh/memset.S: Likewise.
7173 * libc/machine/sh/strcpy.S: Likewise.
7175 2002-02-27 Jeff Johnston <jjohnstn@redhat.com>
7177 * configure.host: Add check for --disable-newlib-io-float
7178 configuration option and add -DNO_FLOATING_POINT to newlib cflags
7180 * acinclude.m4: Added --disable-newlib-io-float option.
7181 * aclocal.m4: Regenerated.
7183 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
7184 * libc/*/aclocal.m4 libc/*/configure
7185 * libm/*/aclocal.m4 libm/*/configure: Ditto.
7186 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
7187 if NO_FLOATING_POINT flag is not defined.
7189 2002-02-25 Jeff Johnston <jjohnstn@redhat.com>
7191 * libc/include/sys/config.h: Add __extension__ in front of
7192 long long references.
7194 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
7196 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
7199 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
7201 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
7204 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
7206 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
7207 clobbered registers.
7209 2002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
7211 * configure.host (newlib_cflags): When host is in m68* add
7214 2002-02-15 Jeff Johnston <jjohnstn@redhat.com>
7216 * libc/include/sys/config.h: Add definitions for
7217 __int16_t, __uint16_t, __int64_t, and __uint64_t.
7219 2002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
7221 * libc/sys/mmixware/link.c: New.
7222 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
7224 * libc/sys/mmixware/times.c (_times): Renamed from times.
7225 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
7226 properly by reading previous contents, not through BinaryReadWrite.
7227 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
7228 * libc/sys/mmixware/Makefile.in: Regenerate.
7230 2002-02-10 Corinna Vinschen <corinna@vinschen.de>
7232 * libc/include/grp.h: Don't declare group functions when compiling
7235 2002-02-09 Corinna Vinschen <corinna@vinschen.de>
7237 * libc/include/grp.h: Include Cygwin specific header.
7238 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
7239 when compiling for Cygwin.
7240 * libc/include/sys/types.h: Don't define off_t, uid_t
7241 and gid_t when compiling for Cygwin.
7243 2002-02-08 matthew green <mrg@redhat.com>
7245 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
7246 _REENT_EMERGENCY_SIZE, not sizeof(char *).
7248 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
7250 Contribute sh64-elf.
7251 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
7252 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
7254 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
7255 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
7257 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
7258 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
7259 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
7260 * libc/machine/sh/configure.in: Rework conditionals.
7261 * libc/machine/sh/Makefile.am: Likewise.
7262 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
7263 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
7264 * configure.host: Match `sh*'.
7265 * libc/include/machine/setjmp.h: Define for SH5.
7266 * libc/machine/sh/configure.in: Detect SH5.
7267 * libc/machine/sh/configure: Rebuilt.
7268 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
7269 * libc/machine/sh/Makefile.in: Rebuilt.
7270 * libc/machine/sh/asm.h: Adjust for SH5.
7271 * libc/machine/sh/setjmp.S: Implement in SHmedia.
7272 * libc/sys/sh/crt0.S: Likewise.
7273 * libc/sys/sh/trap.S: Likewise.
7275 2002-02-07 Jeff Johnston <jjohnstn@redhat.com>
7277 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
7278 (mach_add_obj): Conditionally set to setjmp.o or nothing.
7279 (LIB_SOURCES): Remove $(mach_add_src).
7280 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
7281 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
7282 * libc/machine/i386/Makefile.in: Regenerate.
7284 2002-02-05 Manik Raina <manik@cisco.com>
7286 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
7287 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
7288 s, p, k, and outstr.
7289 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
7291 2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
7293 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
7294 _REENT_CHECK_EMERGENCY macro.
7296 2002-02-03 matthew green <mrg@redhat.com>
7298 * libc/reent/signgam.c (__signgam): Fix error in previous.
7300 2002-02-02 matthew green <mrg@redhat.com>
7302 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
7304 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
7305 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
7306 * libc/include/sys/reent.h (struct _reent): Completely new version
7308 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
7309 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
7310 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
7311 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
7312 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
7313 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
7314 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
7315 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
7316 (_REENT_EMERGENCY): Likewise.
7318 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
7319 the start of the real __sFILE, used for stdin, stdout and stderr until
7320 they are setup properly.
7321 (struct __sFILE): Move location of _data in _REENT_SMALL case.
7322 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
7323 allocated stdin, stdout and stderr.
7324 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
7325 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
7326 * libc/stdio/perror.c (_perror_r): Likewise.
7327 * libc/stdio/printf.c (printf, _printf_r): Likewise.
7328 * libc/stdio/putchar.c (_putchar_r): Likewise.
7329 * libc/stdio/puts.c (_puts_r): Likewise.
7330 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
7331 * libc/stdio/vprintf.c (vprintf): Likewise.
7332 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
7334 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
7336 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
7337 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
7339 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
7340 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
7342 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
7344 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
7345 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
7346 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
7347 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
7348 * libc/stdlib/rand48.c (__dorand48): Likewise.
7349 * libc/stdlib/seed48.c (_seed48_r): Likewise.
7350 * libc/stdlib/srand48.c (_srand48_r): Likewise.
7351 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
7352 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
7353 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
7354 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
7355 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
7356 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
7357 * libc/stdlib/rand.c (rand): Likewise.
7359 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
7360 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
7362 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
7363 _REENT_MP_FREELIST() and _REENT_MP_P5S.
7364 * libc/include/sys/reent.h (struct _mprec): New structure.
7366 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
7367 _unused_strtok_last.
7368 * libc/string/strtok.c (strtok): Use a local static variable.
7370 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
7371 (_REENT_EMERGENCY_SIZE): Likewise.
7372 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
7373 _REENT_ASCTIME_BUF().
7374 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
7377 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
7378 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
7379 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
7380 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
7381 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
7382 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
7384 2002-02-01 Geoffrey Keating <geoffk@redhat.com>
7386 * configure.host (xstormy16): Don't use the generic malloc.
7387 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
7388 * libc/machine/xstormy16/Makefile.in: Regenerate.
7389 * libc/machine/xstormy16/mallocr.c: New file.
7390 * libc/machine/xstormy16/tiny-malloc.c: New file.
7392 2002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
7394 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
7395 when _CYGWIN_TYPES_H is not defined.
7397 2002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
7399 * libc/include/sys/signal.h: Revert 2002-01-23 change.
7401 2002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
7403 * libc/include/sys/signal.h: Remove pthread_kill declaration
7404 when __CYGWIN__ is defined.
7406 2002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
7408 * libc/include/time.h: Add prototype for strptime for Cygwin.
7410 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
7412 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
7413 dst was not word aligned.
7415 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
7416 if too much memory is requested.
7418 2002-01-11 Jeff Johnston <jjohnstn@redhat.com>
7420 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
7421 reads blanks from the input file to break if EOF reached
7422 rather than end processing.
7424 2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
7426 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
7428 2002-01-07 Alan Matsuoka <alanm@redhat.com>
7430 * libc/include/machine/ieeefp.h: Configure d10v doubles to
7431 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
7432 libc/include/sys/config.h: Ditto.
7434 2001-12-28 Corinna Vinschen <corinna@vinschen.de>
7436 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
7438 2001-12-22 Geoffrey Keating <geoffk@redhat.com>
7439 Catherine Moore <clm@redhat.com>
7440 Richard Henderson <rth@redhat.com>
7441 Corinna Vinschen <vinschen@redhat.com>
7443 * configure.host: Add support for xstormy16.
7444 * libc/include/machine/ieeefp.h: Add support for xstormy16.
7445 * libc/include/machine/setjmp.h: Add support for xstormy16.
7446 * libc/include/sys/config.h: Add support for xstormy16.
7447 * libc/machine/xstormy16/Makefile.am: New file.
7448 * libc/machine/xstormy16/Makefile.in: New file.
7449 * libc/machine/xstormy16/aclocal.m4: New file.
7450 * libc/machine/xstormy16/configure: New file.
7451 * libc/machine/xstormy16/configure.in: New file.
7452 * libc/machine/xstormy16/setjmp.S: New file.
7454 2001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
7456 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
7457 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
7459 2001-12-19 Corinna Vinschen <corinna@vinschen.de>
7461 * libm/machine/Makefile.am: Change rules to create correct lib.a.
7462 * libm/machine/Makefile.in: Regenerated through automake.
7464 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
7466 * Makefile.am (DOCDIR): Force to empty string when doc
7467 directory is not present.
7469 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
7471 * libc/machine/i386/f_*: Move to libm/machine/i386.
7473 2001-12-18 Joel Sherrill <joel@OARcorp.com>
7475 * libm/machine/Makefile.am: Add dummy doc stub so
7478 2001-12-17 Joel Sherrill <joel@OARcorp.com>
7480 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
7482 2001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
7484 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
7485 $(COMPILE) rather than $(CC).
7486 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
7487 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
7488 $(LIB_COMPILE) change.
7489 (vfiprintf.$(oext)): Likewise.
7491 2001-12-17 Corinna Vinschen <vinschen@redhat.de>
7493 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
7494 conditionalized including of getopt stuff.
7496 2001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
7498 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
7500 (vfiprintf.$(oext)): Likewise.
7502 2001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
7504 * Makefile.shared: New file.
7505 * libc/sys/linux/shared.ld: New file.
7506 * libm/machine/*: New files.
7507 * libm/machine/i386/*: New files.
7508 * Makefile.am: Add libtool support. Change math and mathfp
7509 references to variables.
7510 * configure.host: Add variables for libtool support. Add
7511 libm_machine_dir variable.
7512 * configure.in: Add objectlist variables, for libtool
7513 support. Add CC_FOR_BUILD tests.
7514 * libc/Makefile.am: Add libtool support. Change crt0.o
7515 reference to be a variable reference.
7516 * libc/configure.in: Add libtool support. Change sublib
7517 names to be lib${subdir}.la when using libtool.
7518 * libc/ctype/Makefile.am: Add libtool support.
7519 * libc/errno/Makefile.am: Likewise.
7520 * libc/locale/Makefile.am: Likewise.
7521 * libc/machine/Makefile.am: Likewise.
7522 * libc/machine/configure.in: Likewise.
7523 * libc/machine/i386/Makefile.am: Likewise.
7524 * libc/machine/i386/configure.in: Likewise.
7525 * libc/misc/Makefile.am: Likewise.
7526 * libc/posix/Makefile.am: Likewise.
7527 * libc/reent/Makefile.am: Likewise.
7528 * libc/signal/Makefile.am: Likewise.
7529 * libc/stdio/Makefile.am: Likewise.
7530 * libc/stdlib/Makefile.am: Likewise.
7531 * libc/string/Makefile.am: Likewise.
7532 * libc/sys/Makefile.am: Likewise.
7533 * libc/sys/configure.in: Likewise.
7534 * libc/sys/linux/Makefile.am: Add libtool support. Change
7535 awk reference to a variable reference. Change signal.h
7536 reference to a variable reference.
7537 * libc/sys/linux/configure.in: Add libtool support.
7538 * libc/syscalls/Makefile.am: Likewise.
7539 * libc/time/Makefile.am: Likewise.
7540 * libc/unix/Makefile.am: Likewise.
7541 * libm/Makefile.am: Add libtool support. Change math and
7542 mathfp references to variables.
7543 * libm/configure.in: Add libtool support. Add
7544 LIBM_MACHINE_LIB variable.
7545 * libm/common/Makefile.am: Add libtool support.
7546 * libm/math/Makefile.am: Likewise.
7547 * libm/mathfp/Makefile.am: Likewise.
7548 Regenerate all Makefile.in, aclocal.m4, and configure.
7550 2001-12-13 Anita Kulkarni <anitak@kpit.com>
7552 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
7554 2001-12-06 John Peacock <jpeacock@rowman.com>
7556 * libc/include/sys/unistd.h: Correct ualarm declaration.
7558 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
7560 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
7561 vector before calling the initialisation functions.
7563 2001-11-29 Christopher Faylor <cgf@redhat.com>
7565 * libc/include/dirent.h: Protect against multiple inclusion.
7567 2001-11-27 Christopher Faylor <cgf@redhat.com>
7569 * libc/include/sys/types.h: Define useconds_t.
7570 * libc/include/sys/ulimit.h: Declare ualarm.
7572 2001-11-21 Christopher Faylor <cgf@redhat.com>
7574 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
7576 2001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
7578 * libc/sys/mmixware/*: Tweak license header in all source files.
7580 2001-11-12 Corinna Vinschen <vinschen@redhat.com>
7582 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
7583 to here. Rearrange for general inclusion by stdlib.h.
7584 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
7586 * libc/sys/linux/include/alloca.h: Move to libc/include.
7588 2001-11-12 Anthony Green <green@redhat.com>
7590 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
7592 2001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
7594 * libc/sys/mmixware/*: Correct spacing in all source files.
7595 * libc/sys/mmixware/syscall.h: Move misplaced file...
7596 * libc/sys/mmixware/sys/syscall.h: ...here.
7598 2001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
7600 * libc/include/machine/ieeefp.h: Add support for mmix target.
7601 * libc/include/machine/setjmp.h: Ditto.
7602 * configure.host: Ditto.
7603 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
7604 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
7605 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
7606 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
7607 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
7608 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
7609 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
7610 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
7611 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
7612 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
7613 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
7614 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
7615 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
7616 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
7617 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
7618 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
7619 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
7620 libc/sys/mmixware/aclocal.m4: Generate.
7622 2001-11-05 Corinna Vinschen <corinna@vinschen.de>
7624 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
7625 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
7626 when __CYGWIN__ is defined.
7627 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
7630 2001-11-01 Arati Dikey <aratidikey@hotmail.com>
7632 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
7633 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
7634 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
7635 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
7637 2001-10-24 Christopher Faylor <cgf@redhat.com>
7639 * libc/stdio/fseek.c: Reset pointer to buffer base
7640 when forced to seek outside of current buffer contents.
7641 This prevents the code from erroneously thinking there is
7642 anything in the current buffer.
7644 2001-10-22 Geoffrey Keating <geoffk@redhat.com>
7646 * libc/include/math.h: The C++ standard adds the single-precision
7647 versions of the elementary functions.
7649 2001-10-22 Christopher Faylor <cgf@redhat.com>
7651 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
7653 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
7654 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
7655 * system.c (_system_r): Ditto.
7657 2001-10-17 Corinna Vinschen <corinna@vinschen.de>
7659 * libc/include/sys/unistd.h: Add prototype for fchdir() when
7660 __CYGWIN__ or __rtems__ is defined.
7662 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
7664 * libc/include/stdlib.h: add declarations for
7665 _strtoull_r, _strtoll_r, strtoull, and strtoll.
7666 * libc/stdio/local.h: remove declarations of
7667 __strtoull_r and __strtoll_r.
7668 * libc/stdio/vfscanf.c(__svfscanf_r): call
7669 _strtoull_r instead of __strtoull_r. Ditto
7670 _strtoll_r vs. __strtoll_r.
7671 * libc/stdlib/Makefile.am: add new files to
7672 .c list and .def list
7673 * libc/stdlib/Makefile.in: regenerate
7674 * libc/stdlib/strtoll_r.c: rename __strtoll_r
7676 * libc/stdlib/strtoull_r.c: rename __strtoull_r
7678 * libc/stdlib/strtoull.c: new file
7679 * libc/stdlib/strtoll.c: new file
7681 Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
7683 * libc/include/process.h: Add getpid() declaration.
7685 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
7687 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
7688 for new style arm/elf ctor/dtor handling.
7689 Minor formatting tidy up.
7691 2001-09-13 Jeff Johnston <jjohnstn@redhat.com>
7693 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
7695 * libc/stdlib/Makefile.in: Regenerated.
7696 * libc/stdlib/strtoll_r.c: New file.
7697 * libc/stdlib/strtoull_r.c: New file.
7698 * libc/stdio/local.h: Add prototypes for long long string
7699 conversion routines.
7700 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
7701 tied to %L integer conversion specifier.
7703 Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
7705 * strftime.c (strftime): Fix "%W" implementation to properly handle
7708 2001-09-07 Jeff Law <law@redhat.com>
7710 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
7711 __fini with "mov.l" instead of "mov.w".
7713 2001-09-05 Corinna Vinschen <corinna@vinschen.de>
7715 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
7718 2001-09-04 Jason Merrill <jason_merrill@redhat.com>
7720 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
7722 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
7724 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
7726 (__DIRENT_VERSION): New define.
7728 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
7730 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
7731 Shrink __d_reserved accordingly to keep structure size.
7732 (dirfd): Declare external.
7734 2001-08-29 Joel Sherrill <joel@OARcorp.com>
7736 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
7738 2001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
7740 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
7741 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
7742 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
7743 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
7744 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
7745 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
7746 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
7747 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
7748 Add conditional compilation to avoid HW FPU instructions
7749 when compiled for soft-float.
7751 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
7753 * Makefile.am: Add check for ln failing when creating libg.a
7754 so that cp gets used as a backup.
7755 * Makefile.in: Regenerated.
7757 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
7759 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
7760 No longer include time.h. Add struct __tm to use for
7761 _localtime_buf in the reentrant structure. Add a
7762 _NULL definition to use in initializing the reentrant struct.
7763 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
7764 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
7766 * libc/include/sys/unistd.h: Include <sys/_types.h>.
7767 * libc/time/lcltime.c (localtime): Cast the reentrant struct
7768 _localtime_buf to be struct tm *.
7770 Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
7772 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
7773 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
7775 * libc/sys/h8300hms/syscalls.c: Include errno.h.
7776 (_unlink): New stub function.
7778 Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
7780 * libc/include/sys/errno.h: Add a cautionary comment.
7782 2001-08-21 Jeff Johnston <jjohnstn@redhat.com>
7784 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
7785 for SIZE_SZ so that alignment ends up a minimum of 8.
7787 Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
7789 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
7792 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
7795 2001-08-13 Jeff Johnston <jjohnstn@redhat.com>
7797 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
7798 macro constants for mallopt options.
7799 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
7801 2001-08-02 Jeff Johnston <jjohnstn@redhat.com>
7803 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
7806 2001-07-12 Aldy Hernandez <aldyh@redhat.com>
7808 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
7810 2001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
7812 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
7813 Define for little endian ARMs.
7815 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
7816 __IEEE_BYTES_LITTLE_ENDIAN is defined.
7818 2001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
7820 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
7822 2001-06-11 Egor Duda <deo@logos-m.ru>
7824 * libc/ctype/ctype_.c: When compiled with gcc on platforms
7825 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
7826 initialized memory region. Platform can define COMPACT_CTYPE
7827 to avoid allocation of the additional 128 bytes of data.
7828 Add pointer to _ctype_ array. Always initialize all _ctype_
7831 2001-06-08 Jonathan Larmour <jlarmour@redhat.com>
7833 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
7836 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
7838 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
7840 2001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
7842 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
7843 matching, non-word alignment, and the length is <= 4 but more than
7844 enough to move them over a word boundary.
7845 Add comments explaining what each instruction does.
7847 Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
7849 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
7850 * libc/include/sys/unistd.h: Ditto.
7852 2001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
7854 * libc/string/strrchr.c: Use strchr for the speed improvements.
7856 2001-05-01 Jeff Johnston <jjohnstn@redhat.com>
7858 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
7859 real file systems, let __smakebuf() determine if line buffering
7860 should be used for stdout.
7862 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
7864 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
7866 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
7868 * libc/include/stdlib.h: Add prototype for _strtod_r.
7870 2001-04-24 Charles Wilson <cwilson@ece.gatech.edu
7872 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
7873 * libc/stdio/vprintf.c (_vprintf_r): new function
7874 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
7875 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
7876 _DEFUN, and call _vfprintf_r, not vfprintf.
7877 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
7878 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
7879 _DEFUN, and call _vfprintf_r, not vfprintf.
7881 2001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
7883 * libc/include/sys/unistd.h [X_OK]: Use better protection against
7884 Cygwin X_OK definitions in sys/file.h.
7886 Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
7888 * libc/include/sys/time.h: Define timercmp and other macros for
7891 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
7893 * acinclude.m4: Added --enable-malloc-debugging configure flag.
7894 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
7895 --enable-malloc-debugging selected.
7896 * aclocal.m4 configure: Regenerated.
7897 libm/aclocal.m4 libm/configure: Ditto.
7898 * libc/aclocal.m4 libc/configure: Ditto.
7899 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
7900 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
7901 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
7902 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
7903 * doc/aclocal.m4 doc/configure: Ditto.
7905 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
7907 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
7909 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
7910 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
7911 function prototypes.
7912 (_fscanf_r, _sscanf_r): Ditto.
7913 * libc/include/stdlib.h: Added _strtod_r prototype.
7914 * libc/stdio/Makefile.am: Add new v*scanf functions.
7915 * libc/stdio/Makefile.in: Regenerate.
7916 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
7917 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
7918 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
7919 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
7920 (sscanf): Changed to call __svfscanf_r with _REENT argument.
7921 (_sscanf_r): New routine.
7922 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
7923 with __svfscanf_r prototype.
7924 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
7926 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
7927 structure as argument as calls reentrant versions of helper functions
7928 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
7929 to _strtol_r and _strtod_r respectively.
7930 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
7931 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
7933 * libc/stdio/vscanf.c: New file.
7934 * libc/stdio/vsscanf.c: Ditto.
7936 2001-04-19 Robert Collins <rbtcollins@hotmail.com>
7938 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
7939 Define daylight to _daylight if it is not defined
7940 Prepare a variable export of timezone based on timezonevariable.
7941 (Cannot be used with the timezone() function.)
7943 2001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
7945 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
7946 Correct the numerical values.
7948 2001-04-13 Robert Collins <rbtcollins@hotmail.com>
7950 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
7952 Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
7954 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
7955 on case insensitve file systems.
7957 2001-04-12 Robert Collins <rbtcollins@hotmail.com>
7959 * libc/include/sys/features.h: Add appropriate defines for Cygwin
7961 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
7962 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
7963 types. Include <cygwin/types.h> for the cygwin specific typedefs.
7965 2001-04-04 Richard Sandiford <rsandifo@redhat.com>
7967 * libc/include/machine/ieeefp.h: Comment about new configuration
7968 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
7969 * libm/common/fdlib.h: Define new macros for testing floats.
7970 * libm/common/sf_*: Use them.
7971 * libm/math/ef_*: Likewise.
7972 * libm/math/sf_*: Likewise.
7974 2001-03-29 Jeff Johnston <jjohnstn@redhat.com>
7976 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
7977 prolog to by-pass possible assembler error.
7979 2001-03-21 Egor Duda <deo@logos-m.ru>
7981 Allow building internal stubs for non-reentrant syscalls
7982 if target provides its own malloc
7983 * libc/reent/reent.c (errno): Move definition here.
7984 * libc/reent/sbrkr.c: From here.
7986 2001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
7988 * libc/include/sys/types.h (BSD int typedefs): Guard with
7989 _BSDTYPES_DEFINED rather than _WINSOCK_H.
7990 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
7992 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
7993 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
7995 Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
7997 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
7998 _PC_POSIX_SECURITY constants for Cygwin.
8000 Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
8002 * libc/sys/cygwin/crt0.c: Add copyright hint.
8003 * libc/sys/cygwin/sys/dirent.h: Ditto.
8004 * libc/sys/cygwin/sys/param.h: Ditto.
8005 * libc/sys/cygwin/sys/utime.h: Ditto.
8006 * libc/sys/cygwin/sys/utmp.h: Ditto.
8008 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
8010 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
8011 equivalent to LONGINT.
8013 2001-03-08 Richard Sandiford <rsandifo@redhat.com>
8015 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
8016 jmpbuf on MIPS64 targets.
8017 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
8019 Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
8021 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
8024 Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
8026 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
8027 For RTEMS, define to be ssize_t. Default to int if not defined.
8028 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
8029 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
8030 * libc/stdio/local.h (__sread, __swrite): Likewise.
8031 * libc/include/sys/reent.h (_read, _write): Likewise.
8032 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
8033 * libc/syscalls/sysread.c (read): Likewise.
8034 * libc/syscalls/syswrite.c (write): Likewise.
8036 2001-03-05 Jeff Johnston <jjohnstn@redhat.com>
8038 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
8040 Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
8042 * libc/include/sys/stat.h: Use special defines for executable stat bits
8043 when compiling for Cygwin.
8044 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
8047 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
8049 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
8050 of strtok_r is always defined.
8052 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
8054 * libc/include/machine/ansi.h: New dummy header file.
8056 2001-02-22 Jeff Johnston <jjohnstn@redhat.com>
8058 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
8059 changed the copyright information to allow free modification of the
8060 file with no reference to "copying.dj".
8061 * libc/include/sys/stat-dj.h: Ditto.
8062 * libc/machine/i386/setjmp.S: Ditto.
8063 * libc/sys/h8300hms/sys/file.h: Ditto.
8064 * libc/sys/sysmec/access.c: Ditto.
8065 * libc/sys/sysnecv850/access.c: Ditto.
8066 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
8067 * libc/stdlib/getenv_r.c: Ditto.
8068 * libc/stdlib/putenv_r.c: Ditto.
8069 * libc/stdlib/setenv_r.c: Ditto.
8070 * libc/stdlib/getenv.c: Removed DJ reference since any possible
8071 modifications will now be in the _r version of this file.
8072 * libc/stdlib/putenv.c: Ditto.
8073 * libc/stdlib/setenv.c: Ditto.
8074 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
8075 valid. Added a reference to DJ's web page that contains his address.
8076 * libc/sys/go32/*.s: Removed references to DJ's old address.
8077 * libc/sys/go32/*.c: Ditto.
8078 * libc/sys/go32/*.h: Ditto.
8079 * libc/sys/go32/*.S: Ditto.
8080 * libc/sys/go32/sys/*.h: Ditto.
8082 2001-02-21 Jeff Johnston <jjohnstn@redhat.com>
8084 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
8085 HAVE_FCNTL flag check.
8086 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
8087 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
8089 Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
8091 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
8093 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
8095 * libc/include/stdlib.h: Add declarations of rand48 functions and
8096 their reentrant versions.
8097 * libc/include/sys/reent.h: Move macros from rand48.h. Add
8098 struct _rand48 for shared parameters of rand48 functions.
8099 (struct _reent): Add a variable _r48 of struct _rand48.
8100 (_REENT_INIT): Add _r48 initialization.
8101 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
8102 (CHEWOUT_FILES): Add rand48.def.
8103 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
8104 * libc/stdlib/Makefile.in: Regenerated.
8105 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
8107 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
8108 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
8109 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
8110 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
8111 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
8112 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
8113 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
8114 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
8115 * libc/stdlib/rand48.c (__dorand48): Ditto.
8116 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
8117 parameters into macros referring them in the reentrant structure.
8119 2001-02-12 Jeff Johnston <jjohnstn@redhat.com>
8121 * libc/include/sys/stat.h: Add mknod for Cygwin now that
8122 Cygwin definition has correct prototype.
8124 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
8126 * libc/include/sys/stat.h: Must revert change for mknod
8127 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
8130 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
8132 * libc/include/stdio.h: Revert putw prototype.
8134 2001-02-08 Edward M. Lee <tailbert@yahoo.com>
8136 * libc/include/grp.h: add prototype for initgroups.
8137 * libc/include/stdio.h: fix prototype for putw.
8138 * libc/include/sys/signal.h: add prototype for killpg.
8139 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
8140 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
8141 vhangup and remove duplicate sysconf prototype.
8143 2001-02-07 Jeff Johnston <jjohnstn@redhat.com>
8145 * libc/sys/rtems/sys/types.h: Removed.
8147 2001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
8149 * libc/include/locale.h: add LC_MESSAGES definition
8151 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
8153 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
8155 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
8156 __setup_argv_and_call_main): New.
8158 2001-01-31 Jeff Johnston <jjohnstn@redhat.com>
8160 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
8162 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
8163 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
8164 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
8165 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
8167 Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
8169 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
8170 compiling under Cygwin.
8172 2001-01-29 Jeff Johnston <jjohnstn@redhat.com>
8174 * libc/include/math.h (signgam): Change to errno-like solution
8175 using a function to return the address of the real signgam.
8176 * libc/reent/signgam.c: New file containing __signgam().
8177 * libc/reent/Makefile.am: Added signgam.c to list of files.
8178 * libc/reent/Makefile.in: Regenerated.
8180 2001-01-25 Alexandre Oliva <aoliva@redhat.com>
8182 * libc/sys/sh/syscalls.c (_times): New.
8184 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
8185 * libc/sys/sh/syscalls.c (_gettimeofday): New.
8187 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
8189 * libc/include/math.h (signgam): Regress previous fix as
8190 it does not handle programs with extern int signgam in them.
8192 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
8194 * libc/include/math.h (signgam): Changed to a macro refering to
8195 its location in the reentrant structure.
8197 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
8199 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
8200 that suppressed . for %.0f, 0.1. Check now looks if there
8201 are padding zeroes (expt) in addition to any digits (ndig) to
8204 2001-01-18 Jeff Johnston <jjohnstn@redhat.com>
8206 * libc/sys/arc/Makefile.am: New file.
8207 * libc/sys/arc/Makefile.in: Ditto.
8208 * libc/sys/arc/aclocal.m4: Ditto.
8209 * libc/sys/arc/configure: Ditto.
8210 * libc/sys/arc/configure.in: Ditto.
8211 * libc/sys/arc/crt0.S: Ditto.
8212 * libc/sys/arc/isatty.c: Ditto.
8213 * libc/sys/arc/mem-layout.c: Ditto.
8214 * libc/sys/arc/sbrk.c: Ditto.
8215 * libc/sys/arc/syscalls.c: Ditto.
8216 * libc/sys/arc/sys/syscall.h: Ditto.
8218 Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
8220 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
8222 Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
8224 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
8226 Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
8228 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
8230 2001-01-09 Nick Clifton <nickc@redhat.com>
8232 * configure.host (v859): Remove unsupported compiler options.
8234 Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
8236 * src/newlib/configure.host (*-*-rtems*): add printf long long
8239 2000-12-19 Graham Stott <grahams@redhat.com>
8241 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
8243 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
8245 * configure.host: Turn on long double I/O for Cygwin.
8247 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
8249 * MAINTAINERS: Removed Ranjith.
8250 * NEWS: Updated for 1.9.0.
8252 * acinclude.m4: Updated to release 1.9.0.
8253 * aclocal.m4 configure
8254 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
8255 libc/machine/aclocal.m4 libc/machine/configure
8256 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
8257 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
8258 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
8259 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
8260 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
8261 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
8262 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
8263 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
8264 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
8265 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
8266 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
8267 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
8268 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
8269 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
8270 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
8271 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
8272 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
8273 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
8274 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
8275 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
8276 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
8277 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
8278 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
8279 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
8280 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
8281 libc/sys/aclocal.m4 libc/sys/configure
8282 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
8283 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
8284 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
8285 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
8286 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
8287 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
8288 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
8289 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
8290 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
8291 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
8292 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
8293 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
8294 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
8295 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
8296 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
8297 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
8298 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
8299 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
8300 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
8301 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
8302 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
8303 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
8304 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
8305 libm/aclocal.m4 libm/configure: Regenerated.
8307 Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
8309 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
8310 when __CYGWIN__ is defined.
8312 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
8314 * libc/stdlib/ldtoa.c (_ldcheck): New routine
8315 that categorizes a long double as NaN, Infinity, or other.
8316 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
8317 isinfl and isnanl static routines which were i386-specific. Changed
8318 calls to the two removed routines to a single _ldcheck call.
8319 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
8321 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
8323 * Makefile.am: Fixed install-data-local target to use
8324 $(mkinstalldirs) for the installed header files to ensure
8325 the directories exist before copying.
8326 * Makefile.in: Regenerated.
8328 2000-12-12 Jeff Johnston <jjohnstn@redhat.com>
8330 * libc/include/sys/unistd.h: Restored Cygwin _SC
8331 constants and moved new constants appropriately
8332 so Cygwin will build.
8334 2000-12-11 Joel Sherrill <joel@OARcorp.com>
8336 * Merge RTEMS specific .h files into main libc/include.
8337 * libc/sys/rtems/include/signal.h: Removed.
8338 * libc/sys/rtems/include/time.h: Removed.
8339 * libc/sys/rtems/sys/features.h: Removed.
8340 * libc/sys/rtems/sys/sched.h: Removed.
8341 * libc/sys/rtems/sys/siginfo.h: Removed.
8342 * libc/sys/rtems/sys/signal.h: Removed.
8343 * libc/sys/rtems/sys/time.h: Removed.
8344 * libc/sys/rtems/sys/times.h: Removed.
8345 definitions for time_t and clock_t since these are
8346 no longer in time.h.
8347 * libc/include/pthread.h: New file.
8348 * libc/include/sys/sched.h: New file.
8349 * libc/include/sys/features.h: New file.
8350 * libc/include/time.h: Removed duplicate definition of clock_t
8351 and time_t, get them from <sys/types.h> instead. Add prototypes
8352 for POSIX clock and timer functionality.
8353 * libc/sys/linux/sys/types.h: Changed to include
8354 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
8355 * libc/include/sys/signal.h: Add more complete set of POSIX
8356 signal functionality including real-time and threaded signals.
8357 * libc/include/sys/types.h: Add clock_t, time_t, struct
8358 timespec, and struct itimerspec. Centralizing these makes
8359 things cleaner. RTEMS uses 64-bit dev_t.
8360 Added numerous primitive definitions
8361 for pthreads including macros, pthread_attr_t,
8362 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
8363 pthread_once_t, and pthread_t.
8364 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
8365 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
8366 Feature flags removed and moved to new file <sys/features.h>.
8367 Full set of POSIX sysconf() constants
8369 2000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
8371 * configure.host: Added x86 linux target.
8372 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
8373 definitions provided if not already defined.
8374 * libc/sys/linux/crt0.c: New file.
8375 * libc/sys/linux/Makefile.am: Ditto.
8376 * libc/sys/linux/Makefile.in: Ditto.
8377 * libc/sys/linux/aclocal.m4: Ditto.
8378 * libc/sys/linux/brk.c: Ditto.
8379 * libc/sys/linux/configure: Ditto.
8380 * libc/sys/linux/configure.in: Ditto.
8381 * libc/sys/linux/getoptlong.c: Ditto.
8382 * libc/sys/linux/ids.c: Ditto.
8383 * libc/sys/linux/inode.c: Ditto.
8384 * libc/sys/linux/io.c: Ditto.
8385 * libc/sys/linux/linux.c: Ditto.
8386 * libc/sys/linux/process.c: Ditto.
8387 * libc/sys/linux/realpath.c: Ditto.
8388 * libc/sys/linux/select.c: Ditto.
8389 * libc/sys/linux/signal.c: Ditto.
8390 * libc/sys/linux/systat.c: Ditto.
8391 * libc/sys/linux/termios.c: Ditto.
8392 * libc/sys/linux/time.c: Ditto.
8393 * libc/sys/linux/wait.c: Ditto.
8394 * libc/sys/linux/include/alloca.h: Ditto.
8395 * libc/sys/linux/include/getopt.h: Ditto.
8396 * libc/sys/linux/include/stdint.h: Ditto.
8397 * libc/sys/linux/include/unistd.h: Ditto.
8398 * libc/sys/linux/sys/cdefs.h: Ditto.
8399 * libc/sys/linux/sys/dirent.h: Ditto.
8400 * libc/sys/linux/sys/errno.h: Ditto.
8401 * libc/sys/linux/sys/fcntl.h: Ditto.
8402 * libc/sys/linux/sys/file.h: Ditto.
8403 * libc/sys/linux/sys/ioctl.h: Ditto.
8404 * libc/sys/linux/sys/resource.h: Ditto.
8405 * libc/sys/linux/sys/signal.h: Ditto.
8406 * libc/sys/linux/sys/stat.h: Ditto.
8407 * libc/sys/linux/sys/syscall.h: Ditto.
8408 * libc/sys/linux/sys/termios.h: Ditto.
8409 * libc/sys/linux/sys/time.h: Ditto.
8410 * libc/sys/linux/sys/types.h: Ditto.
8411 * libc/sys/linux/sys/utmp.h: Ditto.
8412 * libc/sys/linux/sys/utsname.h: Ditto.
8413 * libc/sys/linux/sys/wait.h: Ditto.
8415 2000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
8417 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
8418 can be a relative path to $(top_srcdir)/install.sh so ensure the
8419 autoconf detected settings are properly passed recursively.
8420 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
8421 properly to subdirectories.
8422 * Makefile.in: Regenerated.
8424 2000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
8426 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
8427 a floating point register unless really printing a floating
8430 2000-12-07 Jeff Johnston <jjohnstn@redhat.com>
8432 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
8434 (asctoeg): Replaced alloca call with stack array and malloc
8435 when storage exceeds reasonable limit.
8436 (e53toe): Fixed einfin calls missing ldp parameter.
8437 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
8439 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
8442 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
8444 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
8446 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
8447 * libc/stdlib/Makefile.in: Regenerated.
8448 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
8449 * libc/stdio/vfieeefp.h: Added long double bit structures.
8450 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
8451 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
8452 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
8453 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
8454 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
8455 _strtold routines used for conversions between character
8458 Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
8460 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
8462 2000-12-04 Joel Sherrill <joel@OARcorp.com>
8464 * libc/include/machine/time.h: RTEMS systems can configure clock
8465 tick rate so use sysconf() to ask.
8467 2000-12-04 Joel Sherrill <joel@OARcorp.com>
8469 * libc/include/sys/times.h: Add reference to POSIX standard.
8471 2000-12-04 Joel Sherrill <joel@OARcorp.com>
8473 * libc/include/sys/time.h: Added BSD timer manipulation macros
8476 2000-12-04 Joel Sherrill <joel@OARcorp.com>
8478 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
8479 referenced by code generated by gcc 2.8.1.
8480 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
8483 2000-12-04 Joel Sherrill <joel@OARcorp.com>
8485 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
8487 2000-12-04 Joel Sherrill <joel@OARcorp.com>
8489 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
8491 2000-12-04 Joel Sherrill <joel@OARcorp.com>
8493 * configure.host (or16, or32): New entries for OpenCores
8495 (*-*-rtems*): Add -DNO_EXEC.
8497 2000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
8499 * libc/include/sys/errno.h: Added comments on many error numbers.
8500 * libc/string/strerror.c: Added some more strings.
8502 2000-11-30 Jeff Johnston <jjohnstn@redhat.com>
8504 * libc/sys/sh/syscalls.c (_link): New stub.
8506 2000-11-29 Nick Clifton <nickc@redhat.com>
8508 * configure.host: Add xscale target.
8509 * libc/machine/xscale: New directory.
8510 * libc/machine/xscale/Makefile.am: New file.
8511 * libc/machine/xscale/Makefile.in: New file.
8512 * libc/machine/xscale/aclocal.m4: New file.
8513 * libc/machine/xscale/configure: New file.
8514 * libc/machine/xscale/configure.in: New file.
8515 * libc/machine/xscale/memchr.S: New file.
8516 * libc/machine/xscale/memcmp.S: New file.
8517 * libc/machine/xscale/memcpy.S: New file.
8518 * libc/machine/xscale/memmove.S: New file.
8519 * libc/machine/xscale/memset.S: New file.
8520 * libc/machine/xscale/strchr.S: New file.
8521 * libc/machine/xscale/strcmp.S: New file.
8522 * libc/machine/xscale/strcpy.S: New file.
8523 * libc/machine/xscale/strlen.S: New file.
8525 Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
8527 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
8528 avoid compiler warnings.
8530 2000-11-22 Michael Meissner <meissner@redhat.com>
8532 * libc/posix/execl.c (execl): Don't reference environ directly,
8533 reference it only via a static pointer to avoid problems with some
8534 shared library systems and with different uses of small data where
8535 the user specifies his own version of environ.
8536 * libc/posix/execv.c (execv): Ditto.
8537 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
8538 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
8539 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
8541 * libc/stdlib/getenv.c (environ): Delete unused reference to
8544 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
8546 * libc/stdlib/system.c: Ditto.
8548 Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
8550 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
8551 including windows headers.
8553 2000-11-20 Jeff Johnston <jjohnstn@redhat.com>
8555 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
8556 * libc/include/dirent.h: Added definition of MAXNAMLEN if
8557 not defined by sys/dirent.h.
8558 * libc/posix/execvp.c: Added include of dirent.h to get
8559 MAXNAMLEN value which used to be in unistd.h.
8561 Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
8563 * libc/include/sys/types.h: Change type of i to `size_t' in
8564 FD_ZERO macro to avoid compiler warnings.
8566 Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
8568 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
8569 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
8571 Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
8573 * libc/include/sys/unistd.h: Add defines for sysconf values
8574 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
8577 Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
8579 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
8580 declarations for __CYGWIN__.
8582 2000-09-19 Geoffrey Keating <geoffk@cygnus.com>
8584 * libc/signal/signal.c (__sigtramp_r): ISO C requires
8585 case labels to be integral constant expressions, so
8586 use an if/else tree instead.
8587 (_raise_r): Likewise.
8589 2000-09-13 Jeff Johnston <jjohnstn@redhat.com>
8591 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
8592 clipping patch from e-mail reader.
8594 2000-09-13 Will Cohen <wcohen@redhat.com>
8596 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
8597 Added return value 0.
8598 (_longjmp): Allow longjmp to return value of second argument
8601 2000-09-06 Jeff Johnston <jjohnstn@redhat.com>
8603 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
8604 inline code to prevent having to include another header file.
8606 Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
8608 * Makefile.am: Fix space vs. tab problem in install-data-local.
8609 * Makefile.in: Regenerate.
8611 Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
8613 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
8614 (_EXPARM): New macro for defining a function parameter.
8615 * libc/include/stdlib.h: Use _EXPARM.
8616 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
8618 2000-09-05 Manfred Hollstein <manfredh@redhat.com>
8620 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
8621 required, as documented in the gnu coding standards.
8622 * Makefile.in: Regenerate.
8624 2000-09-05 Jeff Johnston <jjohnstn@redhat.com>
8626 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
8627 make O_NDELAY and O_NONBLOCK have the same value.
8629 2000-08-30 Kazu Hirata <kazu@hxi.com>
8631 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
8633 2000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
8635 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
8636 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
8637 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
8640 2000-08-30 Geoffrey Keating <geoffk@cygnus.com>
8642 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
8643 * libc/include/string.h: Don't include <sys/types.h>,
8644 as it causes really bad namespace pollution. Don't declare
8645 swab(), it is properly declared in unistd.h.
8647 2000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
8649 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
8650 (broken) support for non-existent /etc/passwd field "comment".
8652 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
8654 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
8655 only if _DIRENT_HAVE_D_NAMLEN is defined.
8656 (alphasort): aligned prototype with
8657 libc/sys/cygwin/sys/dirent.h and simplified function body.
8658 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
8659 long telldir (DIR *) as mentioned in annex B of POSIX.1
8661 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
8663 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
8664 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
8665 Added __CLI and __STI macros (controlled via
8666 _I386MACH_ALLOW_HW_INTERRUPTS macro).
8667 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
8668 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
8669 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
8670 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
8671 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
8672 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
8673 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
8674 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
8675 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
8676 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
8677 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
8678 for all global entry points.
8679 * libc/machine/i386/setjmp.S: removed code replicated in
8680 libc/machine/i386/i386mach.h and included i386mach.h instead;
8681 Use __CLI and __STI instead of cli and sti.
8683 2000-08-25 DJ Delorie <dj@redhat.com>
8685 * libc/include/sys/unistd.h (environ): this one isn't from the
8688 Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
8690 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
8691 environ when compiling under cygwin since it is already declared in
8694 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
8696 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
8697 like x << y-z to the equivalent x << (y-z).
8698 (d2b): changed if statements with assignment to perform the
8699 assignment prior to the if check.
8700 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
8701 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
8702 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
8703 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
8705 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
8706 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
8708 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
8710 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
8711 clarify && and || precendence (and to remove pascalism).
8712 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
8713 * libm/math/s_infconst.c: added another pair of braces to all
8714 initializers for __infinity (need three: for __infinity[1] array,
8715 for union __dmath, and for i[2]).
8717 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
8719 * libc/stdlib/abort.c: changed description: uses "raise" instead of
8720 "getpid" and "kill"; added: uses "write" and "_exit".
8721 Also included unistd.h for "_exit" prototype.
8722 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
8723 reent.h for "_fork_r" and "_wait_r" prototypes.
8724 (do_system): changed extern char *environ[] to POSIX-friendly
8725 extern char **environ.
8726 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
8728 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
8729 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
8730 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
8731 * libc/reent/openr.c: included fcntl.h for "open" prototype.
8732 * libc/reent/signalr.c: included signal.h for "kill" prototype,
8733 unistd.h for "getpid" prototype.
8734 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
8735 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
8736 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
8737 prototype. Also included stdlib.h for "abort", string.h for
8738 "strdup" and "strncmp" prototypes.
8739 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
8740 "strncpy", unistd.h for "read" and "close" prototypes.
8741 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
8742 "strcat" prototypes.
8744 2000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
8746 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
8747 used later (ifdef __SCLE)
8748 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
8749 used later (ifdef MB_CAPABLE)
8750 * libc/string/memset.c (memset): removed unused variables "count"
8751 and "unaligned_addr"
8752 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
8753 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
8754 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
8757 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
8759 * libc/stdlib/envlock.c: changed documented "__env_lock" and
8760 "__env_unlock" prototype from "void *" or "char *" to
8761 "struct _reent *" to match real function. Also added include
8763 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
8764 "__malloc_unlock" prototype from "void *" or "char *" to
8765 "struct _reent *" to match real function.
8766 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
8767 prototypes (for getenv_r.c and setenv_r.c).
8769 2000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
8771 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
8772 and prototype in cygwin's utmp.h
8774 2000-08-16 Eric Fifer <efifer@sanwaint.com>
8776 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
8778 2000-08-09 Nick Clifton <nickc@cygnus.com>
8780 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
8781 epilogue and to allow the functions to be used in a Thumb based
8784 2000-08-08 Jeff Johnston <jjohnstn@redhat.com>
8786 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
8787 so size of 0 results in nothing being written to string.
8788 Also fixed code so that when size is non-zero, there is only
8789 a maximum of size - 1 characters written to the array and
8790 a nul terminator is appended at the end.
8791 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
8793 2000-08-01 DJ Delorie <dj@redhat.com>
8795 * libc/include/sys/config.h: define __IMPORT appropriately
8796 * libc/include/ctype.h (_ctype_): use __IMPORT
8797 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
8798 * libc/include/math.h (__mb_cur_max): ditto
8799 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
8800 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
8801 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
8802 * libc/include/unistd.h (environ): ditto
8804 2000-07-28 Michael Meissner <meissner@redhat.com>
8806 * libc/include/math.h (__infinity): Declare as an array without
8807 bounds to get around small data support. Rewrite Cygwin support
8809 * libm/math/s_infconst.c (__infinity): Ditto.
8810 * libm/mathfp/s_infconst.c (__infinity): Ditto.
8812 Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
8814 * libc/include/math.h: Use appropriate dll import linkage for
8815 __infinity under Cygwin.
8817 2000-07-13 DJ Delorie <dj@cygnus.com>
8819 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
8821 Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
8823 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
8824 to argument list for AngelSWI_Reason_GetCmdLine.
8826 Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
8828 * configure.host: Add support for AVR target.
8829 * libc/include/machine/ieeefp.h: Likewise.
8830 * libc/include/sys/config.h: Likewise.
8832 Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
8834 * README: Newlib 1.8.2 must be built in a separate directory
8837 Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8839 * libc/include/sys/reent.h (_rand_next): Added __extension__
8840 qualifier as long long type is not strict ANSI.
8841 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
8842 to long long constant.
8844 Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
8846 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
8847 `setegid' provided by Cygwin.
8849 Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
8851 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
8854 Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8856 * libc/include/sys/reent.h (_rand_next): Changed to
8857 unsigned long long and moved to end of _reent struct in _new union.
8858 (_REENT_INIT): Changed to move _rand_next initialization.
8859 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
8860 linear congruential algorithm that is used by DJGPP.
8862 Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
8864 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
8865 * libc/include/sys/config.h: Define __RAND_MAX.
8867 Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8869 * libc/stdlib/rand_r.c: New algorithm that meets minimal
8872 Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
8874 * libc/include/string.h: Work around problem with strsignal and gdb.
8876 Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
8878 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
8879 * libc/include/malloc.h: Ditto.
8880 * libc/include/process.h: Ditto.
8881 * libc/include/stdio.h: Ditto.
8882 * libc/include/stdlib.h: Ditto.
8883 * libc/include/time.h: Ditto.
8884 * libc/include/machine/setjmp.h: Ditto.
8885 * libc/include/sys/errno.h: Ditto.
8886 * libc/include/sys/signal.h: Ditto.
8887 * libc/include/sys/stat.h: Ditto.
8888 * libc/include/sys/time.h: Ditto.
8889 * libc/include/sys/unistd.h: Ditto.
8890 * libc/include/string.h: Ditto. strsignal should return a const char *.
8892 2000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
8894 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
8895 * libm/common/s_log1p.c (log1p): Likewise.
8896 * libm/common/s_scalbn.c (scalbn): Likewise.
8897 * libm/math/e_log.c: Likewise.
8898 * libm/math/e_asin.c: Likewise.
8899 * libm/math/ef_asin.c: Likewise.
8900 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
8901 * libm/math/e_j1.c (pone, qone): Likewise.
8902 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
8903 * libm/math/ef_j1.c (ponef, qonef): Likewise.
8904 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
8905 * libm/mathfp/e_j1.c (pone, qone): Likewise.
8906 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
8907 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
8909 2000-05-19 DJ Delorie <dj@cygnus.com>
8911 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
8912 (__sread): always read in binary mode
8913 (__swrite): always write in binary mode
8914 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
8915 compatibility issues with different dll versions
8916 * libc/stdio/fopen.c: use __stextmode
8917 * libc/stdio/fdopen.c: ditto
8918 * libc/stdio/freopen.c: ditto
8919 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
8920 * libc/stdio/local.h: declare __stextmode
8922 2000-05-18 DJ Delorie <dj@cygnus.com>
8924 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
8926 Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8928 * libc/include/ctype.h: Changed tolower and toupper macros
8929 to use __extension__ to prevent pedantic warnings.
8931 Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
8933 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
8936 Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
8938 * libc/include/machine/ieeefp.h: Add ia64 support.
8939 * configure.host: Likewise.
8941 Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
8943 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
8944 month is now padded with space, not zero. This now conforms to
8947 Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
8949 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
8950 host or network path") used by cygwin. Add some comments.
8952 Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
8954 * libc/include/stdio.h (FILE): define __SCLE for "convert line
8955 endings" for Cygwin.
8956 (__sgetc): convert line endings if needed
8958 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
8959 * libc/stdio/fopen.c (_fopen_r): ditto
8960 * libc/stdio/freopen.c (freopen): ditto
8961 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
8962 * libc/stdio/fvwrite.c (__sfvwrite): ditto
8964 Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
8966 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
8967 post-increment when it is worth it, spacewise.
8969 Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
8971 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
8972 * libc/stdio/findfp.c (std): Added declaration of flags and file.
8973 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
8975 * libc/stdio/putchar.c (putchar): Added return statement.
8976 * libc/stdio/refill.c (lflush): Added correct parentheses.
8977 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
8978 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
8979 prints long value to use l qualifier.
8980 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
8981 messages and initialized local values: ilim, ilim1, and spec_case.
8982 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
8983 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
8984 * libc/stdlib/mprec.c: Ditto.
8985 * libc/stdlib/setenv_r.c: Ditto.
8986 * libc/stdlib/strtod.c: Ditto.
8987 * libc/stdlib/strtol.c: Ditto.
8988 * libc/stdlib/strtoul.c: Ditto.
8989 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
8990 * libm/common/sf_log1p.c: Ditto.
8991 * libm/common/sf_scalbn.c: Ditto.
8992 * libm/math/ef_log.c: Ditto.
8994 Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
8996 * libc/posix/execvp.c (execvp): Check path for
8999 Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
9001 * libc/include/sys/unistd.h: Add prototypes for
9002 fchmod, fchown, lchown.
9004 Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
9006 * acinclude.m4: Changed release to 1.8.2.
9007 * aclocal.m4 configure doc/aclocal.m4 doc/configure
9008 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
9009 libc/machine/configure libc/machine/a29k/aclocal.m4
9010 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
9011 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
9012 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
9013 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
9014 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
9015 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
9016 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
9017 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
9018 libc/machine/i386/configure libc/machine/i960/aclocal.m4
9019 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
9020 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
9021 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
9022 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
9023 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
9024 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
9025 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
9026 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
9027 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
9028 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
9029 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
9030 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
9031 libc/machine/v850/configure libc/machine/w65/aclocal.m4
9032 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
9033 libc/machine/z8k/configure libc/sys/aclocal.m4
9034 libc/sys/aclocal.m4 libc/sys/configure
9035 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
9036 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
9037 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
9038 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
9039 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
9040 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
9041 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
9042 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
9043 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
9044 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
9045 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
9046 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
9047 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
9048 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
9049 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
9050 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
9051 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
9052 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
9053 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
9054 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
9055 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
9056 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
9057 libm/aclocal.m4 libm/configure: Regenerated.
9059 2000-03-24 Nick Clifton <nickc@cygnus.com>
9061 * libc/sys/arm/syscalls.c: Fix compile time warnings.
9062 (do_AngelSWI): Add "cc" to list o registers clobbered.
9064 Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
9066 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
9067 information to be clobbered by an Angel C library support syscall.
9069 Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
9071 * libc/stdlib/envlock.c: Fixed comment typo.
9073 Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
9075 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
9076 code to update nread as each character is processed instead
9077 of using buffer contents which throw away leading zeroes.
9079 Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
9081 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
9083 Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
9085 * libc/include/string.h: Include <sys/types.h>.
9087 Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9089 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
9090 with XSH5, not SVID.
9092 Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
9094 * libc/include/string.h: Changed last argument back to ssize_t
9095 to make it compatible with XPG4 definition which is
9096 defined in <unistd.h>. There is a conflict in the SVID 3
9097 and XPG4 definitions and newlib will settle with XPG4.
9098 * libc/string/swab.c: Ditto.
9100 Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
9102 * libc/include/string.h: Changed last argument to size_t.
9103 * libc/string/swab.c: Changed last argument to size_t.
9105 Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9107 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
9108 (CHEWOUT_FILES): Added unlinkr.def.
9109 * libc/reent/Makefile.in: Rebuilt.
9110 * libc/sys.tex: Include unlinkr.def.
9111 * libc/reent/linkr.c (_unlink_r): Moved to...
9112 * libc/reent/unlinkr.c: ... new file.
9114 Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9116 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
9117 (CHEWOUT_FILES): Added swab.def.
9118 * libc/string/Makefile.in: Rebuilt.
9119 * libc/string/string.tex: Include swab.def.
9120 * libc/include/string.h (swab): Declare.
9121 * libc/string/swab.c: New file.
9123 Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9125 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
9126 (CHEWOUT_FILES): Added getw.def and putw.def.
9127 * libc/stdio/Makefile.in: Rebuilt.
9128 * libc/stdio/stdio.tex: Include getw.def and putw.def.
9129 * libc/stdio/getw.c: New file.
9130 * libc/stdio/putw.c: New file.
9132 Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
9134 * libc/stdio/flags.c (__sflags): Added check that mode[1]
9135 is non-null before looking at mode[2].
9137 Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
9139 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
9140 * libm/mathfp/sf_atan.c: Ditto.
9142 Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
9144 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
9146 Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
9148 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
9151 Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
9153 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
9154 call prior to calling _VFPRINTF_R so reentrant data area is set.
9155 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
9157 Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
9159 * libc/stdio/vfscanf.c (limits.h): #include.
9160 (MAX_LONG_LEN): #define.
9161 (__svfscanf): Handle floating point numbers with arbitrary amounts
9164 2000-02-15 Nick Clifton <nickc@cygnus.com>
9166 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
9167 zero. Set the blocksize to 1024/
9169 Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
9171 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
9172 with line buffering.
9174 Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
9176 * acinclude.m4: Changed include directory for winsup headers.
9177 * aclocal.m4 configure libc/aclocal.m4
9178 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
9179 libc/locale/Makefile.in libc/machine/aclocal.m4
9180 libc/machine/configure libc/machine/a29k/aclocal.m4
9181 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
9182 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
9183 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
9184 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
9185 libc/machine/fr30/configure
9186 libc/machine/h8300/aclocal.m4
9187 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
9188 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
9189 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
9190 libc/machine/i386/configure libc/machine/i960/aclocal.m4
9191 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
9192 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
9193 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
9194 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
9195 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
9196 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
9197 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
9198 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
9199 libc/machine/powerpc/configure
9200 libc/machine/sh/aclocal.m4
9201 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
9202 libc/machine/sparc/configure
9203 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
9204 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
9205 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
9206 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
9207 libc/misc/Makefile.in libc/posix/Makefile.in
9208 libc/reent/Makefile.in
9209 libc/signal/Makefile.in
9210 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
9211 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
9212 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
9213 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
9214 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
9215 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
9216 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
9217 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
9218 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
9219 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
9220 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
9221 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
9222 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
9223 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
9224 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
9225 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
9226 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
9227 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
9228 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
9229 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
9230 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
9231 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
9232 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
9233 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
9234 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
9235 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
9236 libm/configure: Regenerated.
9238 Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
9240 * libc/stdlib/putenv_r.c (_putenv_r): New file.
9241 * libc/stdlib/strdup_r.c (_strdup_r): New file.
9242 * libc/include/string.h: Added _strdup_r.
9243 * libc/stdlib/putenv.c: Added call to reentrant version.
9244 * libc/stdlib/strdup.c: Ditto.
9245 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
9246 * libc/include/stdlib.h: Ditto.
9247 * libc/stdlib/Makefile.in: Regenerated.
9248 * libc/string/Makefile.in: Regenerated.
9249 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
9250 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
9251 management calls to reentrant versions.
9252 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
9253 * libc/stdlib/wctomb.c: Ditto.
9254 * libc/stdlib/mblen.c: Ditto.
9255 * libc/stdlib/mbstowcs.c: Ditto.
9256 * libc/stdlib/mbtowc.c: Ditto.
9257 * libc/stdlib/getenv.c: Ditto.
9258 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
9261 Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
9263 patch from Corinna Vinschen <corinna@vinschen.de>
9264 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
9266 Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
9268 * libm/mathfp/s_atangent.c: Fix exponent calculation.
9269 * libm/mathfp/s_ldexp.c: Ditto.
9270 * libm/mathfp/sf_atangent.c: Ditto.
9271 * libm/mathfp/sf_ldexp.c: Ditto.
9273 Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9275 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
9276 * libc/include/locale.h: define NULL to be 0.
9278 Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
9280 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
9283 Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
9285 * libc/machine/mn10300/setjmp.S: Handle am33.
9287 1999-11-26 Nick Clifton <nickc@cygnus.com>
9289 * libc/sys/arm/syscalls.c: Add function prototypes.
9290 (stack_ptr): Move declaration before function definitions.
9292 Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9294 * NEWS: Updated version information.
9297 Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
9299 * libc/machine/i386/strchr.S: Fixed alignment test.
9301 Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
9303 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
9305 Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
9307 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
9308 ensuring that there is space between the two.
9310 Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
9312 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
9315 1999-10-08 Vadim Egorov <egorovv@1c.ru>
9317 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
9320 Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
9322 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
9323 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
9325 Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
9326 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
9328 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
9331 1999-09-13 DJ Delorie <dj@cygnus.com>
9333 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
9336 Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
9338 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
9339 also note BUFSIZ as its size.
9341 Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
9343 * configure.host: Corrected feature defines for RTEMS.
9344 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
9345 * libc/include/sys/stat.h: mkfifo() should take const path arg.
9346 * libc/include/sys/unistd.h: pathconf() should take const path arg.
9347 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
9348 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
9349 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
9350 _PC_PRIO_IO, and _PC_SYNC_IO.
9351 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
9352 * libc/machine/m68k/Makefile.in: Regenerated.
9353 * libc/machine/m68k/strcpy.c: New file.
9354 * libc/machine/m68k/strlen.c: New file.
9355 * libc/stdio/tmpnam.c: Always make the returned name usable.
9356 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
9357 * libc/sys/rtems/sys/dirent.h: New file.
9358 * libc/sys/rtems/sys/types.h: Added dev_t.
9360 Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
9362 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
9364 Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
9366 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
9369 Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
9371 patch from Jeff Johnston <jjohnstn@cygnus.com>
9372 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
9373 buffer is not in a useful state.
9375 1999-09-01 Nick Clifton <nickc@cygnus.com>
9377 * libc/sys/arm/syscalls.c (_link): Add stub.
9379 Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9381 * ftell.c (ftell): Use actual position within buffer for text mode.
9382 * findfp.c (std): Initialize ptr->_bf._size.
9384 Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
9386 * libc/include/sys/unistd.h: Add nice() declaration.
9388 1999-08-09 Nick Clifton <nickc@cygnus.com>
9390 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
9391 declare as a thumb function so that the disassembler will see the
9394 Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9396 * libc/reent/reent.tex: Updated list of reentrant functions.
9398 1999-07-09 Michael Meissner <meissner@cygnus.com>
9400 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
9402 Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
9404 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
9406 * libc/stdio/snprintf.c: New file.
9407 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
9409 * libc/stdio/vsnprintf.c: New file.
9410 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
9411 * libc/stdio/Makefile.in: Regenerated.
9413 Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
9415 Patch submitted by Egor Duda <deo@logos-m.ru>:
9416 * libc/include/stdio.h: Add declarations for *nprintf.
9417 * libc/stdio/sprintf.c (snprintf): New function.
9418 (_snprintf_r): New function.
9419 * libc/stdio/vsprintf.c (vsnprintf): New function.
9420 (_vnsprintf_r): New function.
9422 Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
9424 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
9425 * libm/Makefile.am (stmp-targetdep): Ditto.
9426 * libc/Makefile.in: Regenerated.
9427 * libm/Makefile.in: Ditto.
9429 Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
9431 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
9432 * libm/Makefile.am (stmp-targetdep): Ditto.
9433 * libc/Makefile.in: Regenerated.
9434 * libm/Makefile.in: Ditto.
9436 Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
9438 * Makefile.am: Removed dependencies on all-recursive and added "."
9439 to the SUBDIRS list to prevent infinite recursion from occurring.
9440 Also removed any references to EXTRA_DATA.
9441 * libc/Makefile.am: Ditto.
9442 * libc/machine/Makefile.am: Ditto.
9443 * libc/machine/i386/Makefile.am: Ditto.
9444 * libm/Makefile.am: Ditto.
9445 * libc/sys/Makefile.am: Ditto.
9446 * Makefile.in: Regenerated.
9447 * aclocal.m4: Ditto.
9449 * doc/Makefile.in: Ditto.
9450 * doc/aclocal.m4: Ditto.
9451 * doc/configure: Ditto.
9452 * libc/Makefile.in: Ditto.
9453 * libc/aclocal.m4: Ditto.
9454 * libc/configure: Ditto.
9455 * libc/machine/Makefile.in: Ditto.
9456 * libc/machine/aclocal.m4: Ditto.
9457 * libc/machine/configure: Ditto.
9458 * libc/machine/mn10300/Makefile.in: Ditto.
9459 * libc/machine/mn10300/aclocal.m4: Ditto.
9460 * libc/machine/mn10300/configure: Ditto.
9461 * libc/sys/Makefile.in: Ditto.
9462 * libc/sys/aclocal.m4: Ditto.
9463 * libc/sys/configure: Ditto.
9464 * libm/Makefile.in: Ditto.
9465 * libm/aclocal.m4: Ditto.
9466 * libm/configure: Ditto.
9468 Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9470 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
9472 Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9474 * libc/include/stdlib.h: Add reentrant routines.
9475 * libc/stdlib/Makefile.am: Add reentrant routines.
9476 * libc/stdlib/Makefile.in: Ditto.
9477 * libc/stdlib/envlock.c: New file.
9478 * libc/stdlib/envlock.h: New file.
9479 * libc/stdlib/getenv.c: Modify to call reentrant routine.
9480 * libc/stdlib/getenv_r.c: New file.
9481 * libc/stdlib/mblen.c: Modify to call reentrant routine.
9482 * libc/stdlib/mblen_r.c: New file.
9483 * libc/stdlib/setenv.c: Modify to call reentrant routine.
9484 * libc/stdlib/setenv_r.c: New file.
9485 * libc/stdlib/stdlib.tex: Add reentrant routines.
9487 Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
9489 * libc/include/sys/types.h: Define __MS_types__ whenever
9492 Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
9494 * libc/include/machine/ieeefp.h: Always default to little
9495 endian if Windows, regardless of architecture.
9496 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
9497 regardless of architecture.
9499 Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
9501 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
9502 _WIN32 isn't defined.
9504 Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
9506 * libm/common/s_rint.c (rint): Add volatile qualifier for
9507 intermediate value w.
9508 * libm/common/sf_rint.c (rintf): Ditto.
9510 Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
9512 * libc/sys/arm/syscalls.c (remap_handle): Added check to
9513 ensure that std streams are initialized before being referenced.
9515 1999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
9517 * README: Update reference to newlib@cygnus.com new
9518 newlib@sourceware.cygnus.com address.
9520 Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
9522 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
9523 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
9524 defined, even if _WIN32 isn't defined.
9526 Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
9528 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
9530 Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9532 * libc/include/sys/reent.h: Change Long and ULong to __Long and
9534 * libc/stdlib/dtoa.c: Ditto.
9535 * libc/stdlib/mprec.c: Ditto.
9536 * libc/stdlib/mprec.h: Ditto.
9537 * libc/stdlib/strtod.c: Ditto.
9539 1999-04-21 Nick Clifton <nickc@cygnus.com>
9541 * configure.host (mcore): Remove mcore machine directory.
9543 1999-04-18 Nick Clifton <nickc@cygnus.com>
9545 * libc/include/machine/ieeefp.h: Add support for mcore target.
9546 * libc/include/machine/setjmp.h: Add support for mcore target.
9547 * configure.host: Add support for mcore target.
9549 1999-04-13 Mark Salter <msalter@cygnus.com>
9551 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
9552 * libc/sys/arm/syscalls.c: Added isatty.
9554 Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
9556 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
9557 insert zeroes after significant digits.
9559 Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
9561 * libc/stdio/vfprintf.c (cvt): Changed floating point
9562 cvt routine to use union used by dtoa to properly determine
9563 if the sign bit is on or not.
9564 * libc/stdio/vfieeefp.h: New file
9566 Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
9568 * aclocal.m4: Regenerated.
9569 * configure: Regenerated.
9571 Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
9573 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
9575 * libc/machine/i386/Makefile.in: Regenerated.
9577 Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
9579 * acinclude.m4: Changed to work with new automake.
9580 * configure: Regenerated.
9581 * libc/machine/i386/aclocal.m4: Regenerated.
9582 * libc/machine/i386/configure: Regenerated.
9584 Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
9586 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
9587 for telldir() and seekdir(). Rename unused structure element
9588 for use with these two routines.
9590 Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
9592 * libc/time/mktime.c (validate_structure): Multiple fixes to
9593 code to handle cases where input fields are outside valid ranges.
9594 * libc/stdlib/div.c (div): Modified invalid rounding check.
9595 * libc/stdlib/ldiv.c (ldiv): Ditto.
9597 Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
9599 * libc/machine/i386/memcpy.S: Performance rewrite.
9600 * libc/machine/i386/memmove.S: Ditto.
9601 * libc/machine/i386/i386mach.h: Added more register definitions.
9602 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
9604 * libc/include/machine/fastmath.h: Add definitions for x86
9607 Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9609 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
9611 Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
9613 Adjust newlib headers for new Cygwin Win32 API header files:
9614 * libc/include/sys/time.h: Check _WINSOCK_H rather than
9615 _GNU_H_WINDOWS32_SOCKETS.
9616 * libc/include/sys/types.h: Ditto.
9618 Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9620 *include/sys/reent.h: Add checks for size of Bigint element Long.
9621 *libc/dtoa.c: Change routines to use generic Long type.
9622 *libc/mprec.c: Change routines to use generic Long type.
9623 *libc/mprec.h: Change routines to use generic Long type.
9625 Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
9627 * libc/Makefile.am: Add .def files.
9628 * libc/Makefile.in: Regenerate.
9629 * libc/e_acosh.c: Documentation update.
9630 * libc/e_atanh.c: Documentation update.
9631 * libc/e_hypot.c: Documentation update.
9632 * libc/e_remainder.c: Documentation update.
9633 * libc/er_lgamma.c: Documentation update.
9634 * libc/mathfp.tex: Documentation update.
9635 * libc/s_acos.c: Documentation update.
9636 * libc/s_atan.c: Documentation update.
9637 * libc/s_atan2.c: Documentation update.
9638 * libc/s_cosh.c: Documentation update.
9639 * libc/s_fmod.c: Documentation update.
9640 * libc/s_isnan.c: Documentation update.
9641 * libc/s_log10.c: Documentation update.
9642 * libc/s_pow.c: Documentation update.
9643 * libc/w_jn.c: Documentation update.
9645 Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
9647 * aclocal.m4: Regenerate.
9648 * configure: Regenerate.
9650 Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
9652 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
9653 to return 1 if user specified return code is 0.
9654 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
9656 Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
9658 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
9659 to save the return address. Fixed longjmp to return to the original
9660 calling address of setjmp and to return the user specified return code
9661 rather than default to 1.
9662 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
9664 Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
9666 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
9668 1999-02-10 Nick Clifton <nickc@cygnus.com>
9670 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
9671 volatile so that its assignments will not be discarded.
9673 Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
9675 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
9676 be __STRICT_ANSI__ which is generated by compiler.
9677 * libc/include/ctype.h: Ditto.
9678 * libc/include/math.h: Ditto.
9679 * libc/include/stdio.h: Ditto.
9680 * libc/include/stdlib.h: Ditto.
9681 * libc/include/string.h: Ditto.
9682 * libc/include/sys/signal.h: Ditto.
9684 1999-02-08 Nick Clifton <nickc@cygnus.com>
9686 * configure.host: Add support for StrongARM target.
9688 Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
9690 * libc/string/strncpy.c (strncpy): Removed redundant code
9691 that was copying bytes if data unaligned.
9693 1999-02-02 Brendan Kehoe <brendan@cygnus.com>
9695 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
9696 mbstowcs.def, and wcstombs.def.
9698 Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
9700 * libc/include/sys/errno.h: Add Cygwin errno.
9701 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
9704 1999-01-29 Nick Clifton <nickc@cygnus.com>
9706 * libc/sys/arm/syscalls.c: Move C library functions into seperate
9709 * libc/sys/arm/libcfunc.c: New file containing C library functions
9712 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
9713 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
9716 1999-01-27 Michael Meissner <meissner@cygnus.com>
9718 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
9719 type, and cut size in half so that the jmp_buf array is guaranteed
9720 to be aligned on a 64-bit boundary.
9722 Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
9724 * libc/string/strings.tex: Added information about
9725 strcasecmp and strncasecmp.
9726 * libc/stdlib/stdlib.tex: Added missing information
9727 about mblen, mbstowcs, and wcstombs.
9728 * libc/string/strchr.c: Changed how mask is built to use
9729 shift operators so register will be used instead of storage.
9731 1999-01-22 DJ Delorie <dj@cygnus.com>
9733 * libc/include/stdlib.h: don't use dllimport if we're building
9734 newlib, since it's inside cygwin.dll
9736 Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
9738 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
9739 _ctype_ under cygwin.
9741 Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
9743 * include/stdlib.h: Fix typo from previous checkin.
9745 Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
9747 * include/ctype.h: Use __declspec(dllimport) method for exporting
9748 variable from cygwin DLL.
9749 * include/time.h: Ditto.
9750 * sys/errno.h: Ditto.
9751 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
9752 * libc/locale/locale.c: Use __declspec(dllexport) method for
9753 exporting variable from cygwin DLL.
9755 Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
9757 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
9758 access of bogus pointer will result in SIGSEGV.
9760 1999-01-07 Nick Clifton <nickc@cygnus.com>
9762 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
9763 of an underscore prefix to function names.
9765 Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
9767 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
9768 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
9770 1998-12-31 Michael Meissner <meissner@cygnus.com>
9772 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
9773 to `%' if not already defined.
9775 1998-12-30 Michael Meissner <meissner@cygnus.com>
9777 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
9778 arguments const char *, not char *.
9779 * libc/include/stdio.h (_tempnam_r): Ditto.
9781 * libc/include/sys/reent.h (struct _reent): The _sig_func type
9782 points to a function taking an integer, not void.
9784 Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
9786 * configure.host: Add a define for Cygwin builds.
9787 * libc/include/ctype.h: Don't use dll imported variables in newlib.
9789 Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
9791 * libc/include/ctype.h: Define _ctype_ as dll imported variable
9792 for use with Cygwin.
9793 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
9794 dll imported variables for use with Cygwin.
9795 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
9796 as a dll imported variable for Cygwin.
9798 Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
9800 * libc/include/sys/unistd.h: Add proto for getpass.
9802 Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
9804 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
9807 Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
9809 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
9810 not posix_path_list_p.
9812 1998-12-15 Nick Clifton <nickc@cygnus.com>
9814 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
9817 1998-12-13 Nick Clifton <nickc@cygnus.com>
9819 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
9821 1998-12-12 Nick Clifton <nickc@cygnus.com>
9823 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
9824 <msalter@cygnus.com>
9825 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
9826 * libc/machine/fr30/Makefile.in: Regenerated.
9828 1998-12-11 Nick Clifton <nickc@cygnus.com>
9830 * configure.host: Remove use of libc/sys for FR30 port.
9831 * libc/sys/fr30: Remove directory (replaced by libgloss).
9833 1998-12-10 Ken Raeburn <raeburn@cygnus.com>
9835 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
9836 * libc/string/strncat.c (ALIGNED): Ditto.
9838 Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
9840 * libc/include/sys/time.h: include sys/types.h
9842 Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
9844 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
9845 comparison found when checking word at a time.
9847 1998-12-04 Nick Clifton <nickc@cygnus.com>
9849 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
9851 1998-12-03 Nick Clifton <nickc@cygnus.com>
9853 * libc/sys/fr30/syscalls.c (_times): New function stub.
9855 Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
9857 * configure.host (mach_add_setjmp): Replaced mach_add_objs
9858 with mach_add_setjmp flag which indicates if setjmp should
9859 be added to the machine directory objects.
9860 * acinclude.m4: Removed reference to mach_add_objs.
9861 * aclocal.m4: Regenerated.
9862 * Makefile.in: Regenerated.
9863 * configure: Regenerated.
9864 * libc/aclocal.m4: Regenerated.
9865 * libc/Makefile.in: Regenerated.
9866 * libc/configure: Regenerated.
9867 * libc/machine/aclocal.m4: Regenerated.
9868 * libc/machine/Makefile.in: Regenerated.
9869 * libc/machine/configure: Regenerated.
9870 * libc/machine/i386/aclocal.m4: Regenerated.
9871 * libc/machine/i386/Makefile.am: Altered to selectively add
9872 setjmp.S to the src files list.
9873 * libc/machine/i386/Makefile.in: Regenerated.
9874 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
9875 * libc/machine/i386/configure: Regenerated.
9877 1998-12-02 Nick Clifton <nickc@cygnus.com>
9879 * libc/sys/fr30/crt0.s (_start): Fix function names.
9881 * libc/machine/fr30: New directory
9882 * libc/machine/fr30/Makefile.am: New file.
9883 * libc/machine/fr30/Makefile.in: New generated file.
9884 * libc/machine/fr30/configure.in: New file.
9885 * libc/machine/fr30/configure: New generated file.
9886 * libc/machine/fr30/aclocal.m4: New generated file.
9887 * libc/sys/fr30/Makefile.am: New file.
9888 * libc/sys/fr30/Makefile.in: New generated file.
9889 * libc/sys/fr30/configure.in: New file.
9890 * libc/sys/fr30/configure: New generated file.
9891 * libc/sys/fr30/syscalls.c: New file.
9893 Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
9895 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
9897 1998-12-01 Ken Raeburn <raeburn@cygnus.com>
9899 * libc/time/strftime.c (strftime): Also handle %y for years before
9902 Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
9904 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
9905 UNIX convention. Perform tolower on characters before comparing
9906 them rather than use toupper.
9907 * libc/string/strncasecmp.c (strncasecmp): Ditto.
9909 Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
9911 * configure.host: Added using i386 machine directory
9912 for all x86 cross-compiler and configuring
9913 which added object files to use via new "mach_add_objs" variable.
9914 * configure: Regenerated.
9915 * libc/configure: Regenerated.
9916 * libc/Makefile.in: Regenerated.
9917 * libc/aclocal.m4: Regenerated.
9918 * libc/ctype/Makefile.in: Regenerated.
9919 * libc/errno/Makefile.in: Regenerated.
9920 * libc/locale/Makefile.in: Regenerated.
9921 * libc/machine/Makefile.in: Regenerated.
9922 * libc/machine/aclocal.m4: Regenerated.
9923 * libc/machine/configure: Regenerated.
9924 * libc/posix/Makefile.in: Regenerated.
9925 * libc/reent/Makefile.in: Regenerated.
9926 * libc/signal/Makefile.in: Regenerated.
9927 * libc/stdio/Makefile.in: Regenerated.
9928 * libc/stdlib/Makefile.in: Regenerated.
9929 * libc/string/Makefile.in: Regenerated.
9930 * libc/string/memmove.c: Optimized code to use memcpy
9931 logic when performing a non-destructive copy.
9932 * libc/string/strncmp.c: Altered code to allow building
9933 optimized for size or speed.
9934 * libc/syscalls/Makefile.in: Regenerated.
9935 * libc/time/Makefile.in: Regenerated.
9936 * libc/unix/Makefile.in: Regenerated.
9937 * libc/machine/i386/Makefile.am: Added new files and reference
9938 to "mach_add_objs" to indicate optional object files.
9939 * libc/machine/i386/Makefile.in: Regenerated.
9940 * libc/machine/i386/aclocal.m4: Regenerated.
9941 * libc/machine/i386/configure: Regenerated.
9942 * libc/machine/i386/memchr.S: New file that implements
9943 function in Intel assembler.
9944 * libc/machine/i386/memcmp.S: ditto.
9945 * libc/machine/i386/memcpy.S: ditto.
9946 * libc/machine/i386/memmove.S: ditto.
9947 * libc/machine/i386/memset.S: ditto.
9948 * libc/machine/i386/strchr.S: ditto.
9949 * libc/machine/i386/strlen.S: ditto.
9950 * libc/machine/i386/f_atan2.S: New file that implements
9951 fast version of math function to be used by compiler when
9952 --ffast_math compile option is used.
9953 * libc/machine/i386/f_atan2f.S: ditto.
9954 * libc/machine/i386/f_exp.c: ditto.
9955 * libc/machine/i386/f_expf.c: ditto.
9956 * libc/machine/i386/f_frexp.S: ditto.
9957 * libc/machine/i386/f_frexpf.S: ditto.
9958 * libc/machine/i386/f_ldexp.S: ditto.
9959 * libc/machine/i386/f_ldexpf.S: ditto.
9960 * libc/machine/i386/f_log.S: ditto.
9961 * libc/machine/i386/f_logf.S: ditto.
9962 * libc/machine/i386/f_log10.S: ditto.
9963 * libc/machine/i386/f_log10f.S: ditto.
9964 * libc/machine/i386/f_math.h: New file.
9965 * libc/machine/i386/f_pow.c: ditto.
9966 * libc/machine/i386/f_powf.S: ditto.
9967 * libc/machine/i386/f_tan.S: ditto.
9968 * libc/machine/i386/f_tan.S: ditto.
9969 * libc/machine/i386/i386mach.h: New file.
9971 Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
9973 patch from Mumit Khan <khan@xraylith.wisc.edu>
9974 * libc/include/stdio.h (tempnam): Add prototype.
9975 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
9976 (tempnam): Adhere to prototype.
9978 Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
9980 * Makefile.am: Add default for AR_FLAGS.
9981 * Makefile.in: Regenerate.
9983 Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
9985 * libc/include/time.h: move __cplusplus wrapper after includes
9986 * libc/include/sys/time.h: ditto. If Cygwin, include
9988 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
9990 1998-11-23 Ken Raeburn <raeburn@cygnus.com>
9992 * libc/time/strftime.c (strftime): Handle %y after year 2000.
9994 Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
9996 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
9997 abnormnal end-of-crt0 marker.
9999 Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
10001 * libc/sys/fr30/crt0.s: New file/directory.
10002 * libc/include/machine/setjmp.h: Add FR30 target.
10003 * libc/include/machine/ieeefp.h: Add FR30 target.
10004 * configure.host: Add FR30 target.
10006 Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
10008 * libm/math: Files that are duplicated in common directory removed.
10009 * libm/math/fdlibm.h: Removed.
10010 * libm/math/s_cbrt.c: Removed.
10011 * libm/math/s_copysign.c: Removed.
10012 * libm/math/s_expm1.c: Removed.
10013 * libm/math/s_finite.c: Removed.
10014 * libm/math/s_ilogb.c: Removed.
10015 * libm/math/s_infinity.c: Removed.
10016 * libm/math/s_lib_ver.c: Removed.
10017 * libm/math/s_log1p.c: Removed.
10018 * libm/math/s_logb.c: Removed.
10019 * libm/math/s_matherr.c: Removed.
10020 * libm/math/s_modf.c: Removed.
10021 * libm/math/s_nan.c: Removed.
10022 * libm/math/s_nextafter.c: Removed.
10023 * libm/math/s_rint.c: Removed.
10024 * libm/math/s_scalbn.c: Removed.
10025 * libm/math/sf_cbrt.c: Removed.
10026 * libm/math/sf_copysign.c: Removed.
10027 * libm/math/sf_expm1.c: Removed.
10028 * libm/math/sf_finite.c: Removed.
10029 * libm/math/sf_ilogb.c: Removed.
10030 * libm/math/sf_infinity.c: Removed.
10031 * libm/math/sf_log1p.c: Removed.
10032 * libm/math/sf_logb.c: Removed.
10033 * libm/math/sf_modf.c: Removed.
10034 * libm/math/sf_nan.c: Removed.
10035 * libm/math/sf_nextafter.c: Removed.
10036 * libm/math/sf_rint.c: Removed.
10037 * libm/math/sf_scalbn.c: Removed.
10038 * libm/math/Makefile.am: Removed references to deleted files (above).
10039 * libm/math/Makefile.in: Regenerated.
10040 * libm/Makefile.am: Added common directory to math.
10041 * libm/Makefile.in: Regenerated.
10043 Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
10045 * libm/mathfp: Add non-ANSI functions.
10046 * libm/mathfp/e_acosh.c acosh(): New file.
10047 * libm/mathfp/e_atanh.c atanh(): New file.
10048 * libm/mathfp/e_hypot.c hypot(): New file.
10049 * libm/mathfp/e_j0.c j0(): New file.
10050 * libm/mathfp/e_j1.c j1(): New file.
10051 * libm/mathfp/e_remainder.c remainder(): New file.
10052 * libm/mathfp/e_scalb.c scalb(): New file.
10053 * libm/mathfp/ef_acosh.c acoshf(): New file.
10054 * libm/mathfp/ef_atanh.c atanhf(): New file.
10055 * libm/mathfp/ef_hypot.c hypotf(): New file.
10056 * libm/mathfp/ef_j0.c j0f(): New file.
10057 * libm/mathfp/ef_j1.c j1f(): New file.
10058 * libm/mathfp/ef_remainder.c remainderf(): New file.
10059 * libm/mathfp/ef_scalb.c scalbf(): New file.
10060 * libm/mathfp/er_gamma.c gamma_r: New file.
10061 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
10062 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
10063 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
10064 * libm/mathfp/w_cabs.c cabs(): New file.
10065 * libm/mathfp/w_drem.c drem(): New file.
10066 * libm/mathfp/w_jn.c jn(): New file.
10067 * libm/mathfp/wf_cabs.c cabsf(): New file.
10068 * libm/mathfp/wf_drem.c dremf(): New file.
10069 * libm/mathfp/wf_jn.c jnf(): New file.
10071 Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
10073 * libc/sys/cygwin32: remove directory and contents
10074 * libc/sys/cygwin: and add back, losing the "32".
10075 * configure.host: check for cygwin* instead of cygwin32.
10076 * acinclude.m4: ditto.
10077 * aclocal.m4: regenerate with aclocal
10078 * configure: regenerate with autoconf
10080 Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
10082 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
10085 Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
10087 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
10088 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
10089 to make rand/srand, strtok, asctime, localtime, w_gamma,
10090 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
10091 time.h to bring in struct tm definition.
10092 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
10093 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
10094 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
10095 instead of static variable.
10096 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
10097 struct reent instead of static variable.
10098 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
10099 struct reent instead of static variable.
10100 * libm/math/Makefile.am: Removed s_signgam.o.
10101 * libm/math/Makefile.in: Regenerated.
10102 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
10103 struct reent instead of global variable 'signgam'.
10104 * libm/math/w_lgamma.c (lgamma): Likewise.
10105 * libm/math/wf_gamma.c (gammaf): Likewise.
10106 * libm/math/wf_lgamma.c (lgammaf): Likewise.
10107 * libm/math/s_signgam.c: Removed.
10108 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
10110 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
10112 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
10113 libc/include/reent.h.
10114 * libc/reent/Makefile.in: Regenerated.
10115 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
10117 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
10118 'JIS_action_table' to be const.
10119 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
10121 Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
10123 * acinclude.m4: $with_target_subdir should default to '.'
10124 or confusion results when configuring in same directory as sources.
10125 * Regenerate all aclocal.m4 and configure files.
10127 Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
10129 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
10130 can be set by defining MALLOC_ALIGNMENT=16. Also added support
10131 for platforms where sizeof(size_t) < sizeof(long) via
10132 SIZE_T_SMALLER_THAN_LONG macro.
10134 Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
10136 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
10137 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
10138 which sets _CLOCKS_PER_SEC_ for selected machines.
10139 * libc/include/machine/time.h: New file.
10141 Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
10143 * libc/syscalls/sysexecve.c: New file.
10144 * libc/syscalls/sysgettod.c: New file.
10145 * libc/syscalls/systimes.c: New file.
10146 * libc/syscalls/Makefile.am: Added new objects.
10147 * libc/syscalls/Makefile.in: Regenerated.
10148 * libc/include/_syslist.h (_execve): Moved define in file.
10149 * libc/include/reent.h: Added _execve_r declaration.
10150 * libc/Makefile.in: Regenerated.
10151 * libc/ctype/Makefile.in: Regenerated.
10152 * libc/errno/Makefile.in: Regenerated.
10153 * libc/locale/Makefile.in: Regenerated.
10154 * libc/machine/Makefile.in: Regenerated.
10155 * libc/misc/Makefile.in: Regenerated.
10156 * libc/posix/Makefile.in: Regenerated.
10157 * libc/reent/Makefile.in: Regenerated.
10158 * libc/reent/execr.c (_execve_r): Added _execve_r function.
10159 * libc/signal/Makefile.in: Regenerated.
10160 * libc/stdio/Makefile.in: Regenerated.
10161 * libc/time/Makefile.in: Regenerated.
10162 * libc/unix/Makefile.in: Regenerated.
10163 * libm/mathfp/Makefile.in: Regenerated.
10165 Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
10167 * libc/string/Makefile.in: Regenerated.
10168 * libc/string/memchr.c (memchr): Moved code to reduce object size.
10169 * libc/string/memcpy.c (memcpy): Ditto.
10170 * libc/string/memcmp.c (memcmp): Ditto.
10171 * libc/string/memset.c (memset): Ditto.
10172 * libc/string/strchr.c (strchr): Ditto.
10173 * libc/string/strcmp.c (strcmp): Ditto.
10174 * libc/string/strcpy.c (strcpy): Ditto.
10175 * libc/string/strlen.c (strlen): Ditto.
10177 Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
10179 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
10180 to generate aclocal.m4.
10181 * libm/Makefile.in: Regenerated.
10182 * libm/aclocal.m4: Regenerated.
10183 * libm/configure: Regenerated.
10184 * libm/math/Makefile.in: Regenerated.
10185 * libm/mathfp/Makefile.in: Regenerated.
10187 1998-09-25 Mark Salter <msalter@cygnus.com>
10189 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
10190 by adding leading and trailing underscores to symbol names.
10192 Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
10194 * Makefile.in: Add default for AR_FLAGS.
10196 Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
10198 patch from ian@airs.com (Ian Taylor):
10199 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
10200 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
10201 is needed for detecting the build machine. Required for
10202 cygwin native builds.
10204 * Regenerate all aclocal.m4 and configure files.
10206 Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
10208 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
10209 used to start with LC.
10211 Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10213 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
10214 (longjmp): Likewise.
10216 Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10218 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
10219 the test for small number of bytes.
10221 Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
10223 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
10224 math library that uses floating point algorithms instead of the old
10226 * Makefile.in: Regenerate with automake version 1.3b.
10227 * configure: Rebuild.
10228 * libm/Makefile.in: Regenerate with automake version 1.3b.
10229 * libm/aclocal.m4: Regenerate.
10230 * libm/configure: Rebuild.
10231 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
10232 * libm/acinclude.m4: Define macros for configure.in.
10233 * libm/config.h.in: Generate.
10234 * libm/mathfp/Makefile.am: New file.
10235 * libm/mathfp/Makefile.in: Generate.
10236 * libm/mathfp/s_acos.c (acos): New file.
10237 * libm/mathfp/s_asin.c (asin): New file.
10238 * libm/mathfp/s_asine.c (asine): New file.
10239 * libm/mathfp/s_atan.c (atan): New file.
10240 * libm/mathfp/s_atan2.c (atan2): New file.
10241 * libm/mathfp/s_atangent.c (atangent): New file.
10242 * libm/mathfp/s_ceil.c (ceil): New file.
10243 * libm/mathfp/s_copysign.c (copysign): New file.
10244 * libm/mathfp/s_cos.c (cos): New file.
10245 * libm/mathfp/s_cosh.c (cosh): New file.
10246 * libm/mathfp/s_exp.c (exp): New file.
10247 * libm/mathfp/s_fabs.c (fabs): New file.
10248 * libm/mathfp/s_finite.c (finite): New file.
10249 * libm/mathfp/s_floor.c (floor): New file.
10250 * libm/mathfp/s_fmod.c (fmod): New file.
10251 * libm/mathfp/s_frexp.c (frexp): New file.
10252 * libm/mathfp/s_infconst.c: New file.
10253 * libm/mathfp/s_isinf (isinf).c: New file.
10254 * libm/mathfp/s_isnan.c (isnan): New file.
10255 * libm/mathfp/s_ispos.c (ispos): New file.
10256 * libm/mathfp/s_ldexp.c (ldexp): New file.
10257 * libm/mathfp/s_log.c (log): New file.
10258 * libm/mathfp/s_log10.c (log10): New file.
10259 * libm/mathfp/s_logarithm.c (logarithm): New file.
10260 * libm/mathfp/s_mathcnst.c: New file.
10261 * libm/mathfp/s_modf (modf).c: New file.
10262 * libm/mathfp/s_numtest.c (numtest): New file.
10263 * libm/mathfp/s_pow.c (pow): New file.
10264 * libm/mathfp/s_scalbn.c (scalbn): New file.
10265 * libm/mathfp/s_sin (sin).c: New file.
10266 * libm/mathfp/s_sine.c (sine): New file.
10267 * libm/mathfp/s_sineh.c (sineh): New file.
10268 * libm/mathfp/s_sinf.c (sinf): New file.
10269 * libm/mathfp/s_sinh.c (sinh): New file.
10270 * libm/mathfp/s_sqrt.c (sqrt): New file.
10271 * libm/mathfp/s_tan.c (tan): New file.
10272 * libm/mathfp/s_tanh.c (tanh): New file.
10273 * libm/mathfp/sf_acos.c (acosf): New file.
10274 * libm/mathfp/sf_asin.c (asinf): New file.
10275 * libm/mathfp/sf_asine.c (asinef): New file.
10276 * libm/mathfp/sf_atan.c (atanf): New file.
10277 * libm/mathfp/sf_atan2.c (atan2f): New file.
10278 * libm/mathfp/sf_atangent.c (atangent): New file.
10279 * libm/mathfp/sf_ceil.c (ceilf): New file.
10280 * libm/mathfp/sf_copysign.c (copysignf): New file.
10281 * libm/mathfp/sf_cos.c (cosf): New file.
10282 * libm/mathfp/sf_cosh.c (coshf): New file.
10283 * libm/mathfp/sf_exp.c (expf): New file.
10284 * libm/mathfp/sf_fabs.c (fabsf): New file.
10285 * libm/mathfp/sf_finite.c (finitef): New file.
10286 * libm/mathfp/sf_floor.c (floorf): New file.
10287 * libm/mathfp/sf_fmod.c (fmodf): New file.
10288 * libm/mathfp/sf_frexp.c (frexpf): New file.
10289 * libm/mathfp/sf_isinf.c (isinff): New file.
10290 * libm/mathfp/sf_isnan.c (isnanf): New file.
10291 * libm/mathfp/sf_ispos.c (isposf): New file.
10292 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
10293 * libm/mathfp/sf_log.c (logf): New file.
10294 * libm/mathfp/sf_log10.c (log10f): New file.
10295 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
10296 * libm/mathfp/sf_modf.c (modff): New file.
10297 * libm/mathfp/sf_numtest.c (numtestf): New file.
10298 * libm/mathfp/sf_pow.c (powf): New file.
10299 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
10300 * libm/mathfp/sf_sin.c (sinf): New file.
10301 * libm/mathfp/sf_sine.c (sinef): New file.
10302 * libm/mathfp/sf_sineh.c (sinehf): New file.
10303 * libm/mathfp/sf_sinh.c (sinhf): New file.
10304 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
10305 * libm/mathfp/sf_tan.c (tanf): New file.
10306 * libm/mathfp/sf_tanh.c (tanhf): New file.
10307 * libm/mathfp/zmath.h: New file.
10309 Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10311 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
10312 exit if it has been overwritten by pre-fetching in delay slot.
10314 1998-09-01 Michael Meissner <meissner@cygnus.com>
10316 * Makefile.am (tooldir): Add in host_alias, so that multilib
10317 libraries are installed in the directory the compiler looks in.
10318 * Makefile.in: Regenerate.
10320 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
10322 Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
10324 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
10325 ahead of test for number of bytes being moved.
10327 Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
10329 * libc/include/sys/unistd.h: Nothing special needed for
10330 _exit under cygwin.
10332 Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
10334 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
10335 conform to user label naming conventions.
10337 Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
10339 * libc/sys/cygwin32/sys/utime.h: variable names in
10340 protos should start with two leading underscores
10341 * libc/include/string.h: ditto
10342 * libc/include/sys/signal.h: ditto
10343 * libc/include/sys/stat.h: ditto
10344 * libc/include/sys/time.h: ditto
10345 * libc/include/sys/unistd.h: ditto
10346 * libc/include/ctype.h: ditto
10347 * libc/include/stdlib.h: ditto
10348 * libc/include/sys/reent.h: struct _atexit function ptr takes a
10349 void, same with _sig_func.
10351 Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
10353 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
10354 for MB_CAPABLE to reduce code size when newlib is not configured
10355 with --enable-newlib-mb.
10356 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
10357 mbtowc_r.o to minimize size.
10358 * libc/stdlib/Makefile.in: Rebuild.
10360 Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
10362 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
10364 * libc/sys/sparc64/Makefile.in: Rebuild.
10366 Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
10368 * Makefile.am (MAKEOVERRIDES): Define.
10369 * Makefile.in: Rebuild.
10371 Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
10373 * libc/sys/sparc64/sys/stat.h (stat): Add const.
10375 Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
10377 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
10378 newlib_cflags when looking for targ-include.
10379 * */aclocal.m4, */configure: Rebuild.
10381 Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
10383 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
10386 Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
10388 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
10389 on SPARCs with little-endian data.
10390 * libc/include/machine/ieeefp.h: Ditto.
10392 Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
10394 * acinclude.m4: Handle a relative srcdir correctly when setting
10396 * */aclocal.m4, */configure: Rebuild.
10398 Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
10400 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
10401 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
10402 * libm/math/wrf_gamma.c (gammaf_r): ditto
10403 * libm/math/wr_lgamma.c (lgamma_r): ditto
10404 * libm/math/wr_gamma.c (gamma_r): ditto
10405 * libm/math/wf_sqrt.c (sqrtf): ditto
10406 * libm/math/wf_sinh.c (sinhf): ditto
10407 * libm/math/wf_scalb.c (scalbf): ditto
10408 * libm/math/wf_remainder.c (remainderf): ditto
10409 * libm/math/wf_pow.c (powf): ditto
10410 * libm/math/wf_log10.c (log10f): ditto
10411 * libm/math/wf_log.c (logf): ditto
10412 * libm/math/wf_lgamma.c (lgammaf): ditto
10413 * libm/math/wf_jn.c (jnf, ynf): ditto
10414 * libm/math/wf_j1.c (j1f, y1f): ditto
10415 * libm/math/wf_j0.c (j0f, y0f): ditto
10416 * libm/math/wf_hypot.c (hypotf): ditto
10417 * libm/math/wf_gamma.c (gammaf): ditto
10418 * libm/math/wf_fmod.c (fmodf): ditto
10419 * libm/math/wf_exp.c (expf): ditto
10420 * libm/math/wf_cosh.c (coshf): ditto
10421 * libm/math/wf_atanh.c (atanhf): ditto
10422 * libm/math/wf_atan2f.c (atan2f): ditto
10423 * libm/math/wf_asin.c (asinf): ditto
10424 * libm/math/wf_acosh.c (acoshf): ditto
10425 * libm/math/wf_acos.c (acosf): ditto
10426 * libm/math/w_sqrt.c (sqrt): ditto
10427 * libm/math/w_sinh.c (sinh): ditto
10428 * libm/math/w_scalb.c (scalb): ditto
10429 * libm/math/w_remainder.c (remainder): ditto
10430 * libm/math/w_pow.c (pow): ditto
10431 * libm/math/w_log10.c (log10): ditto
10432 * libm/math/w_log.c (log): ditto
10433 * libm/math/w_lgamma.c (lgamma): ditto
10434 * libm/math/w_jn.c (jn, yn): ditto
10435 * libm/math/w_j1.c (j1, y1): ditto
10436 * libm/math/w_j0.c (j0, y0): ditto
10437 * libm/math/w_hypot.c (hypot): ditto
10438 * libm/math/w_gamma.c (gamma): ditto
10439 * libm/math/w_fmod.c (fmod): ditto
10440 * libm/math/w_exp.c (exp): ditto
10441 * libm/math/w_cosh.c (cosh): ditto
10442 * libm/math/w_atanh.c (atanh): ditto
10443 * libm/math/w_atan2f.c (atan2): ditto
10444 * libm/math/w_asin.c (asin): ditto
10445 * libm/math/w_acosh.c (acosh): ditto
10446 * libm/math/w_acos.c (acos): ditto
10448 Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
10450 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
10451 (fsrc): Add wf_cabs.c and wf_drem.c.
10452 * libm/math/Makefile.in: Rebuild.
10454 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
10455 unused directory variables. Remove duplicate CFLAGS.
10456 * Makefile.in: Rebuild.
10458 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
10459 with $(CC_FOR_BUILD).
10460 (makedoc.o): Likewise.
10461 * doc/Makefile.in: Rebuild.
10463 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
10464 force a definition of COMPILE.
10465 (libfoo_a_SOURCES): Define.
10466 * libc/sys/cygwin32/Makefile.in: Rebuild.
10467 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
10468 force a definition of COMPILE.
10469 (libfoo_a_SOURCES): Define.
10470 * libc/sys/tic80/Makefile.in: Rebuild.
10472 Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
10474 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
10477 Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
10479 * Build using autoconf and automake. Added many Makefile.am and
10480 configure.in files, plus generated files. Old configure.in files
10481 and all old Makefile.in files completely replaced. Removed
10482 host/any. Added acinclude.m4 and configure.host.
10484 Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
10486 * libc/stdio/vfprintf.c: enable long long support, sometimes.
10487 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
10489 Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10491 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
10492 * libc/machine/sh/Makefile.in: Add rules for new files.
10494 Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10496 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
10497 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
10498 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
10500 Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
10502 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
10505 Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
10507 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
10508 internal static buffer when s is NULL, as prescribed by ANSI.
10510 1998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
10512 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
10514 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
10515 libc/stdlib will be used for h8300hms.
10517 Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
10519 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
10520 version that can be built either for speed or size.
10521 * libc/machine/mn10300/memset.S (_memset): ditto
10522 * libc/machine/mn10300/memchr.S (_memchr): ditto
10523 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
10524 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
10525 * libc/machine/mn10300/strchr.S (_strchr): ditto
10526 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
10527 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
10528 * libc/machine/mn10300/Makefile.in: Added entries for
10529 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
10530 strcmp.o, strcpy.o, and strlen.o.
10532 Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
10534 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
10535 been replaced with libgloss/mn10200.
10537 Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
10539 * libc/string/strchr.c (strchr): Make s a constant pointer to
10542 Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
10544 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
10545 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
10546 board SWIs instead of Demon board SWIs).
10548 Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
10550 * libc/string/strncat.c (strncat): Make -Os act the same as
10551 PREFER_SIZE_OVER_SPEED being defined.
10553 Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
10555 * libc/string/memchr.c (memchr): Make -Os act the same as
10556 PREFER_SIZE_OVER_SPEED being defined.
10557 * libc/string/memcmp.c (memcmp): Ditto.
10558 * libc/string/memcpy.c (memcpy): Ditto.
10559 * libc/string/memset.c (memset): Ditto.
10560 * libc/string/strcat.c (strcat): Ditto.
10561 * libc/string/strchr.c (strchr): Ditto.
10562 * libc/string/strcmp.c (strcmp): Ditto.
10563 * libc/string/strcpy.c (strcpy): Ditto.
10564 * libc/string/strlen.c (strlen): Ditto.
10565 * libc/string/strncat.c (strncat): Ditto.
10566 * libc/string/strncmp.c (strncmp): Ditto.
10567 * libc/string/strncpy.c (strncpy): Ditto.
10569 Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
10571 * libc/include/sys/itimer.h: remove
10572 * libc/include/sys/time.h: itimer stuff should be here
10574 Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
10576 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
10577 bit instead of comparing to 0 so -0.0 can be printed correctly.
10579 Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10581 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
10583 Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
10585 * libc/include/sys/unistd.h: fix sync() proto
10586 * libc/include/sys/fcntl.h: remove _close which is already
10587 defined in unistd.h.
10588 * libc/include/sys/time.h: add getitimer proto
10590 Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
10592 * libc/string/strchr.c: convert arg to unsigned char
10593 * libc/include/stdlib.h: add protos for random, srandom
10594 * libc/include/sys/stat.h: add lstat proto
10595 * libc/include/sys/time.h: add setitimer proto
10596 * libc/include/sys/unistd.h: add readlink, symlink protos
10597 * libc/include/process.h: instead of including windows.h and using
10598 HANDLEs in sexec protos, just use void *s. Need to include
10601 Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
10603 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
10605 Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
10607 * libc/include/process.h: add secure exec protos
10609 Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
10611 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
10612 which are accessed as both doubles and integers.
10613 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
10614 * libc/stdlib/strtod.c (_strtod_r): Likewise.
10615 * libc/stdlib/mprec.h: Add "union double_union" and change
10616 word0/word1 macros to use it.
10618 Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
10620 * libc/include/sys/signal.h: add __cplusplus wrapper
10622 Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
10624 * libc/include/sys/utime.h: new generic file that gets replaced by
10625 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
10627 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
10628 * libc/include/time.h: remove duplicate utime proto
10629 * libc/include/utime.h: add comment
10631 Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
10633 * libc/include/sys/time.h: Add missing include to
10634 allow use of _EXFUN. Remove times function that is
10635 already defined in times.h.
10637 Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
10639 * libc/include/time.h: Fix typo in tzset.
10641 Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
10643 * libc/include/sys/time.h: add missing Cygwin32 function protos
10644 * libc/include/sys/unistd.h: ditto
10645 * libc/include/time.h: ditto
10647 Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
10649 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
10651 * libc/include/sys/types.h: add a new __MS_types__ section
10652 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
10653 __BIT_TYPES_DEFINED__.
10655 Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
10657 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
10658 since it overrides the one in libc/include/sys. Also, start
10661 Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
10663 * libm/math/Makefile.in: add s_signgam.o to obj list
10665 Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
10667 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
10669 Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
10671 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
10672 so don't use defines.
10674 Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
10676 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
10678 Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
10680 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
10681 _current_locale as default locale.
10683 Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
10685 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
10686 insufficient space in a chunk.
10688 Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
10690 * configure.in (links): Added check for --enable-newlib-mb configure
10691 option which defines the MB_CAPABLE macro.
10692 * libc/locale/locale.c (_setlocale_r): Added support for setting
10693 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
10695 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
10696 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
10697 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
10698 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
10699 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
10700 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
10701 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
10702 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
10703 * libc/stdlib/Makefile.in: Added new multibyte
10704 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
10705 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
10706 _mbstowcs_r(), and _wcstombs_r().
10707 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
10708 for JIS, SJIS, and EUC-JP characters.
10709 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
10710 MB_CAPABLE defined.
10711 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
10712 MB_CAPABLE defined.
10713 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
10714 MB_CAPABLE defined.
10715 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
10716 if MB_CAPABLE defined.
10717 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
10718 if MB_CAPABLE defined.
10719 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
10720 to the format string processing when MB_CAPABLE.
10721 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
10724 Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
10726 The following modifications are courtesy of Anthony Thompson,
10727 athompson@cambridge.arm.com:
10728 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
10729 boith RDI and RDP monitors.
10730 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
10731 RDI and RDP monitors.
10733 Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
10735 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
10736 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
10737 (_swiopen): Fixed open flags to treat write with append as just append.
10738 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
10739 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
10741 Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10743 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
10744 When needing to transfer an initial 2-byte-word, store as
10747 Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10749 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
10751 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
10752 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
10754 Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
10756 * configure.in (target_cflags): If --enable-target-optspace, use
10757 -Os to compile newlib rather than -O2. Default to using -Os for
10758 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
10761 Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
10763 * libc/include/machine/setjmp.h: change sigsetjmp and
10764 siglongjmp definitions to use an array instead of a struct
10767 Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
10769 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
10771 Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
10773 * libc/string/strxfrm.c: fix to get correct return value
10775 Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
10777 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
10778 builds. Make mode change labels global so that they will be seen
10781 Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
10783 * configure.in (links): Do not use ARM debiugging protocols for PE
10786 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
10789 Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
10791 * libc/stdio/findfp.c (__sinit): Made stdout default to
10792 line buffered mode as defined by ANSI.
10794 Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
10796 * libc/include/sys/itimer.h: New file.
10798 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
10800 Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10802 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
10805 Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
10807 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
10810 Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
10812 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
10814 Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
10816 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
10819 * libc/include/machine/setjmp.h: Add D30V support.
10821 * configure.in (d30v-*): Add d30v machine directory.
10823 Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
10825 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
10826 been replaced with libgloss/mn10300.
10828 Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
10830 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
10831 it is no longer needed.
10833 Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
10835 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
10837 Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
10839 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
10840 the file when O_APPEND is set, wherever the EOF happens to be at
10843 Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
10845 patch from cgf@bbc.com (Christopher Faylor):
10846 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
10847 convention of closing fp prior to attempting to open the file
10848 argument. This allows correct operation when reopening
10849 stdin/stdout/stderr. Replaces last freopen.c patch.
10851 Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
10853 patch from cgf@bbc.com (Christopher Faylor):
10854 * libc/stdio/freopen.c: freopen was not preserving the fd
10855 of the stream being operated on. This confuses programs that
10856 expect that the handles for stdout and stderr will be 1 and 2.
10858 Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
10860 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
10862 Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
10864 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
10866 Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
10868 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
10869 altered to not use a branch. Also added hint that last
10870 bclr in longjmp will likely result in branch.
10873 Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
10875 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
10877 Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
10879 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
10882 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
10884 Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
10886 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
10887 that loads FR14 to specify offset of 8 rather than 4
10888 so it loads from offset 96 (where setjmp stored it).
10890 Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
10892 * libc/machine/sh/memcpy.S: (_memcpy): Update to
10893 latest version supplied by customer.
10894 * libc/machine/sh/memset.S (_memset): Ditto.
10896 Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
10898 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
10901 Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
10903 * libc/include/string.h: remove redefinition of ffs
10905 Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
10907 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
10910 Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
10912 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
10913 TI Libraries to link to libc.a
10915 Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
10917 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
10918 * libc/include/sys/stat.h (_{,f}stat): Ditto.
10919 * libc/include/sys/wait.h (_wait): Ditto.
10920 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
10921 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
10923 Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
10925 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
10926 minded stabs so function name shows up when running the simulator
10928 * libc/sys/d10v/{crt0,trap}.S: Ditto.
10930 Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
10932 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
10933 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
10934 Use R5 where we used to use R3.
10936 Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
10938 * libc/stdlib/getopt.c (getopt): replaced __progname
10939 with nargv[0] to improve portability to imbedded systems.
10941 Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
10943 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
10944 patch supplied by Tont.Thompson@arm.com to fix the creation of the
10947 Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
10949 * libc/stdio/tmpnam.c (worker): Generate a different file name
10952 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
10953 fails, try an execlp for sh.
10955 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
10956 option for the winsup include directory.
10958 Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
10960 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
10961 debugging interface from Tony.Thompson@arm.com.
10963 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
10964 * libc/sys/arm/swi.h: ditto.
10966 Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
10968 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
10969 DIR struct used for readdir hashes.
10971 Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
10973 * libc/string/strchr.c: Use "unsigned chars" as necessary.
10975 Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
10977 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
10980 Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
10982 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
10983 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
10984 * libc/include/malloc.h: Add extern "C" if __cplusplus.
10985 (__malloc_copy): Declare.
10987 Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
10989 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
10991 (POINTER_UINT): Define.
10992 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
10993 (MALLOC_ALIGNMENT): Don't define if already defined.
10994 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
10997 Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
10999 * libc/string/memset.c (memset): Fiddle with code so that the long
11000 value being stored is not a stack value. Unroll storing longs 4
11003 Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
11005 * Reduce code size for libm modules.
11006 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
11007 and simply move code into sqrt.
11008 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
11009 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
11010 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
11011 * libm/math/wr_gamma.c (gamma_r): Likewise.
11012 * libm/math/wf_sinh.c (sinfh): Likewise.
11013 * libm/math/w_sinh.c (sinh): Likewise.
11014 * libm/math/wf_scalb.c (scalbf): Likewise.
11015 * libm/math/w_scalb.c (scalb): Likewise.
11016 * libm/math/wf_remainder.c (remainderf): Likewise.
11017 * libm/math/w_remainder.c (remainder): Likewise.
11018 * libm/math/wf_pow.c (powf): Likewise.
11019 * libm/math/w_pow.c (pow): Likewise.
11020 * libm/math/wf_log10.c (log10f): Likewise.
11021 * libm/math/w_log10.c (log10): Likewise.
11022 * libm/math/wf_log.c (logf): Likewise.
11023 * libm/math/w_log.c (log): Likewise.
11024 * libm/math/w_lgamma.c (lgamma): Likewise.
11025 * libm/math/wf_lgamma.c (lgammaf): Likewise.
11026 * libm/math/wf_jn.c (jnf): Likewise.
11027 * libm/math/w_jn.c (jn): Likewise.
11028 * libm/math/wf_j1.c (j1f): Likewise.
11029 * libm/math/w_j1.c (j1): Likewise.
11030 * libm/math/wf_j0.c (j0f): Likewise.
11031 * libm/math/w_j0.c (j0): Likewise.
11032 * libm/math/wf_hypot.c (hypotf): Likewise.
11033 * libm/math/w_hypot.c (hypot): Likewise.
11034 * libm/math/wf_gamma.c (gammaf): Likewise.
11035 * libm/math/w_gamma.c (gamma): Likewise.
11036 * libm/math/wf_fmod.c (fmodf): Likewise.
11037 * libm/math/w_fmod.c (fmod): Likewise.
11038 * libm/math/wf_exp.c (expf): Likewise.
11039 * libm/math/w_exp.c (exp): Likewise.
11040 * libm/math/wf_cosh.c (coshf): Likewise.
11041 * libm/math/w_cosh.c (cosh): Likewise.
11042 * libm/math/wf_atanh.c (atanhf): Likewise.
11043 * libm/math/w_atanh.c (atanh): Likewise.
11044 * libm/math/wf_atan2.c (atan2f): Likewise.
11045 * libm/math/w_atan2.c (atan2): Likewise.
11046 * libm/math/wf_asin.c (asinf): Likewise.
11047 * libm/math/w_asin.c (asin): Likewise.
11048 * libm/math/wf_acosh.c (acoshf): Likewise.
11049 * libm/math/w_acosh.c (acosh): Likewise.
11050 * libm/math/wf_acos.c (asocf): Likewise.
11051 * libm/math/w_acos.c (acos): Likewise.
11052 * libm/math/wf_sqrt.c (sqrtf): Likewise.
11053 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
11054 for embedded systems.
11056 Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
11058 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
11059 Lea in case of a foreign sbrk.
11061 Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
11063 Incorporate Doug Lea's malloc:
11064 * libc/stdlib/mallocr.c: Completely replaced.
11065 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
11067 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
11068 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
11070 (mallinfo, malloc_stats, mallopt): New functions.
11071 (_mstats_r): Just call _malloc_stats_r.
11072 * libc/stdlib/malign.c: New file.
11073 * libc/stdlib/mlock.c: New file.
11074 * libc/stdlib/msize.c: New file.
11075 * libc/stdlib/mtrim.c: New file.
11076 * libc/stdlib/realloc.c: New file.
11077 * libc/stdlib/valloc.c: New file.
11078 * libc/stdlib/malloc.h: Remove.
11079 * libc/stdlib/callocr.c: Remove.
11080 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
11081 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
11082 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
11083 reallocr.o, valloc.o, vallocr.o.
11084 (CHEWOUT_FILES): Add mlock.def, mstats.def.
11085 (MALLOC_CFLAGS): New variable.
11086 (mallocr.o): New target, build from mallocr.c.
11087 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
11088 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
11089 (msizer.o, malloptr.o): Likewise.
11090 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
11091 (valloc.o): New target.
11092 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
11093 * libc/include/malloc.h: Declare struct mallinfo, and new
11095 * libc/include/stdlib.h (cfree): Correct declaration.
11097 Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
11099 * libc/include/machine/setjmp.h: Add support for Thumb target.
11101 * libc/include/machine/ieeefp.h: Add support for Thumb target.
11103 * configure.in (links): Add support for Thumb target.
11105 Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
11107 * libc/sys/arm/setjmp.S: Updated with version from branch.
11109 Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
11111 * libc/include/stdio.h: add POSIX-required define L_ctermid
11114 Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
11116 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
11117 addition to MISSING_SYSCALL_NAMES.
11119 Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
11121 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
11123 Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
11125 * libc/include/string.h: change strsignal proto to return
11126 a char *. This eliminates compile problems in gdb resulting
11127 from gdb's definition of strsignal in defs.h.
11129 Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
11131 * libc/sys/cygwin32/sys/utime.h: new (moved here from
11132 winsup/include) so as not to conflict with the one in
11134 * libc/include/string.h: add protos for strsignal, strtosigno
11136 Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
11138 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
11140 * configure.in (d30v-*-*): Add configuration.
11142 Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
11144 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
11145 to select which kind of debug monitor is in use for an ARM target.
11147 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
11148 Angel and Demon debug monitors. Part of this code was supplied by
11149 Tony Thompson at ARM: athompso@arm.com.
11151 Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
11153 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
11154 semantics when the count is greater than the length of the second
11157 Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
11159 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
11160 * libc/include/sys/unistd.h: add protos for usleep, truncate,
11161 truncate and ftruncate take off_t, not size_t
11163 Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
11165 * libc/string/strcat.c (strcat): Add missing comment end.
11166 * libc/string/strncat.c (strncat): Likewise.
11168 Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
11170 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
11172 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
11173 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
11175 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
11176 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
11177 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
11179 Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
11181 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
11182 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
11184 Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
11186 * libc/machine/i386/setjmp.S: New file.
11187 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
11188 (OFILES): Add setjmp.o.
11189 (setjmp.o): Add rule for.
11190 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
11192 Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
11193 Jeffrey A Law (law@cygnus.com)
11195 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
11196 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
11197 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
11198 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
11200 Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
11202 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
11205 * libc/include/sys/config.h: Use __v850 to select v850
11208 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
11211 * libc/include/machine/ieeefp.h: Use __v850 to select v850
11214 Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
11216 * libc/stdlib/setenv.c: change unsetenv definition to match
11217 style of setenv (with _DEFUN). The string should be a const.
11218 * libc/include/stdlib.h: unsetenv proto should return void.
11220 Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
11222 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
11224 Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
11226 * libc/stdio/glue.h: remove.
11227 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
11228 * libc/stdio/Makefile.in: remove glue.h dependencies
11230 Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
11232 * libc/sys/sysnecv850/crt0.S: Created V850e version.
11234 Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
11236 * configure.in (target_cpu): Add `arc'.
11238 Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
11240 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
11241 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
11242 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
11243 * newlib/libc/reent/reent.c: Add _wrapup_reent.
11244 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
11246 Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
11248 * libc/machine/mips/setjmp.S: Handle mips16 builds.
11250 Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
11252 * libc/include/stdio.h (siprintf): Declare.
11254 Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
11256 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
11257 TARGET_CFLAGS and NEWLIB_FLAGS.
11259 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
11261 * configure.in (links): Add support for v850ea target.
11263 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
11265 * configure.in (links): Add support for v850e target.
11267 Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
11269 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
11271 Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
11273 * configure.in (arc-*-*): Add support for.
11274 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
11276 Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
11278 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
11280 Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
11282 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
11283 comparison which accesses invalid memory when the key is
11284 larger than the last member of the array.
11285 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
11287 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
11289 Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
11291 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
11294 Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
11296 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
11297 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
11299 Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
11301 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
11302 to load/store memory.
11304 Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
11306 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
11307 underscores if _WIN32.
11309 Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
11311 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
11312 support ifdef _USE_WRITE missed in last change.
11313 From Anders Blomdell <anders.blomdell@control.lth.se>.
11315 Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
11317 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
11318 (_tmpnam_r, _tempnam_r): Update.
11320 Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
11322 * libc/machine/sparc/setjmp.S: New file.
11323 * libc/machine/sparc/Makefile.in: Add setjmp.
11324 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
11326 Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
11328 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
11330 Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
11332 From Joel Sherrill <joel@oarcorp.com>.
11333 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
11335 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
11336 * configure.in: Recognize *-*-rtems*.
11337 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
11338 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
11339 time.h,times.h,types.h}: New files.
11340 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
11342 Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
11344 patch from sos@prospect.com.ru (Sergey Okhapkin):
11345 * include/sys/wait.h: correct operator precidence bug
11348 Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
11350 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
11351 with newlib's unsetenv function
11352 * libc/sys/cygwin32/sys: new directory for includes
11353 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
11354 here from winsup/include/sys
11356 Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
11358 * libc/include/sys/unistd.h: _exit should only be
11359 labelled noreturn when not __CYGWIN32__
11360 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
11361 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
11364 Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
11366 * libc/include/sys/time.h: Only define timeval and timezone if
11367 _GNU_H_WINDOWS32_SOCKETS is not defined.
11368 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
11370 Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
11372 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
11373 * libc/machine/mn10300/setjmp.S: Likewise.
11375 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
11376 the mn10300 (more relaxing opportunities).
11378 Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
11380 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
11381 Build libraries with -mstrict-align.
11383 Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
11385 * libc/string/strlwr.c: New file.
11386 * libc/string/strupr.c: New file.
11387 * libc/include/string.h: Declare strlwr and strupr.
11388 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
11389 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
11390 (strlwr.o, strupr.o): New targets.
11391 * libc/string/strings.tex: Include strlwr and strupr docs.
11393 * libc/include/sys/types.h: Don't define u_char, et. al., if
11394 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
11395 et. al. Make FD_SETSIZE default 64 rather than 60. Define
11396 _types_fd_set rather than fd_set, and define fd_set as a macro.
11398 * libc/include/malloc.h: New file.
11400 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
11401 strnicmp if they are not already defined.
11403 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
11404 _timezone, _daylight, and _tzname.
11406 Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
11408 * configure.in: Sort all configuration tables.
11410 From Joel Sherrill <joel@oarcorp.com>
11411 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
11413 Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
11415 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
11416 use int when declaring kill.
11418 * libc/include/sys/timeb.h: New file.
11420 Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
11422 * libc/include/sys/time.h: add itimer support for Cygwin32
11424 Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
11426 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
11427 out a message that abort was called to stderr.
11429 Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
11431 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
11432 so that libio doesn't freak.
11434 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
11437 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
11438 memory sizes, not int.
11440 Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
11442 * libm/math/ef_hypot.c: Use long constants where
11444 * libm/math/ef_sqrt.c: Ditto.
11446 * libc/sys/sysmec/times.c(_times): Change to times.
11448 * libc/sys/sysmec/read.c(_read): The third argument is
11450 * libc/sys/sysmec/write.c (_write): Ditto.
11452 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
11453 (_lseek): It's off_t for the second argument.
11455 Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
11457 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
11458 as well as machine/ieeefp.h.
11460 Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
11462 * libc/include/sys/signal.h: add signal protos for winsup
11463 functions (when __CYGWIN32__), include types.h
11464 * libc/include/sys/types.h: Change __go32_types__ internal
11465 define to __MS_types__ since it's used for more than just
11466 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
11468 * libc/include/sys/unistd.h: add ftruncate proto for
11469 winsup functions (when __CYGWIN32__)
11471 Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
11473 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
11475 Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
11477 * libc/include/machine/setjmp.h: Add tic80 support.
11478 * libc/machine/tic80/setjmp.S: Likewise.
11480 Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
11482 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
11483 link programs from libraries only (such as in the X11
11486 Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
11488 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
11489 supplied elsewhere in newlib.
11491 Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
11493 * Makefile.in (INSTALL): Change install.sh to install-sh.
11495 Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
11497 * README: update WWW address for on-line documentation.
11499 Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
11501 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
11504 Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
11506 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
11508 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
11510 Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
11512 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
11513 * libc/sys/d10v/syscalls.c: Likewise.
11514 * libc/sys/h8300hms/sbrk.c: Likewise.
11515 * libc/sys/h8500hms/syscalls.c: Likewise.
11516 * libc/sys/m88kbug/syscalls.c: Likewise.
11517 * libc/sys/sh/syscalls.c: Likewise.
11518 * libc/sys/sysmec/sbrk.c: Likewise.
11519 * libc/sys/sysnecv850/sbrk.c: Likewise.
11520 * libc/sys/w65/syscalls.c: Likewise.
11521 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
11523 Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
11525 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
11526 emulated syscall instead of "trap".
11528 Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
11530 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
11533 Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
11535 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
11537 Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
11539 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
11541 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
11543 * libc/sys/tic80/crt0.c: New file for TIc80.
11544 * libc/sys/tic80/Makefile.in: New file for TIc80.
11545 * libc/machine/tic80/Makefile.in: New file for TIc80.
11547 Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
11549 * libc/machine/sh/memcpy.S: New file.
11550 * libc/machine/sh/memset.S: New file.
11551 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
11553 Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
11555 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
11558 Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
11560 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
11563 Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
11565 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
11566 (patch from andrew@pogo.WV.TEK.COM).
11568 Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
11570 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
11571 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
11573 Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
11575 * configure.in: Add cases for "tic80" to set machine_dir,
11576 sys_dir, and syscall_dir.
11578 Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
11580 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
11582 Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
11584 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
11586 Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
11588 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
11589 Use proper constant prefix.
11591 Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
11593 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
11594 that loses on the mn10200 where ints and pointers are different
11597 Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
11599 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
11600 target as signal is provided in winsup.
11602 Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
11604 * libc/include/sys/process.h: Corrected const definitions
11605 in spawn functions. Added cwait.
11607 Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
11609 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
11611 * libc/include/sys/config.h: Similarly.
11613 Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11615 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
11617 (i[3456]86-*-sco*): Ditto.
11619 * libc/signal/Makefile.in (OFILES): Add signal.o.
11620 (CFILES): Add signal.c.
11622 * libc/signal/raise.c (_raise_r): Only compile code if
11623 SIGNAL_PROVIDED is defined.
11625 * libc/signal/signal.c: Redo whole file so that it works with
11626 current newlib. Use _kill_r if no signal handler provided.
11628 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
11630 * libc/sys/sysvnecv70/Makefile.in: Ditto.
11631 * libc/sys/sysnecv850/Makefile.in: Ditto.
11633 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
11634 * libc/sys/sysmec/{raise,signal}.c: Ditto.
11635 * libc/sys/sysvnecv70/signal.s: Ditto.
11636 * libc/sys/sysnecv850/raise.c: Ditto.
11638 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
11639 simulator and debugger can tell the difference between a signal
11640 being raised and an exit system call.
11642 * NEWS: Document software signals being provided.
11644 Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11646 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
11647 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
11648 include/sys/config.h.
11649 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
11650 Change from 'inpure_data'.
11651 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
11652 &impure_data, not &inpure_data.
11654 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
11655 and and System V ABI, define so that _impure_ptr lives in the
11658 Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11660 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
11661 nothing if not defined.
11662 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
11665 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
11667 Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
11669 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
11670 * libc/sys/sysmec/trap.s: Handle mn10200 too.
11671 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
11673 Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
11675 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
11677 Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
11679 * libc/include/sys/errno.h: Added net errno's.
11681 Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11683 * libc/misc/ffs.c: New file to support ffs function for GCC test
11684 gcc.c-torture/execute/960909-1.c.
11686 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
11688 Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
11690 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
11691 * libc/sys/sysmec/trap.S: Likewise.
11693 Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
11695 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
11696 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
11698 Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
11700 * libc/sys/sysmec/signal.c: Dummy file.
11701 * libc/sys/sysmec/Makefile.in: Build it.
11703 Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
11705 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
11708 Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
11710 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
11711 c-startup and simulator traps.
11714 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
11715 * libc/sys/sysmec/trap0.S: Likewise.
11717 Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11719 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
11720 round to double word alignment.
11721 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
11724 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
11726 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
11729 Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
11731 * configure.in: Handle mn10200 and mn10300.
11732 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
11733 * libc/include/sys/config.h: Likewise.
11734 * libc/sys/sysmec: New directory for mec stuff.
11735 * libc/machine/mn10300: New directory for mn10300 stuff.
11736 * libc/machine/mn10200: Similarly for mn10200 stuff.
11738 Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
11740 * libc/sys/arm/crt0.S: Use .text, not .section .text.
11741 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
11743 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
11744 (nlink_t): Change type from unsigned int to unsigned short.
11745 (mode_t): Ensure size is 32 bits even if int is 16.
11746 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
11747 (st_spare[123]): Change type from int to long.
11749 Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11751 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
11754 * configure.in (d10v*): Define SMALL_MEMORY.
11756 Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11758 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
11759 -mrelocatable-lib and -mno-eabi flags.
11761 Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
11763 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
11764 Fix handling of mis-aligned source operand when both the
11765 destination & length are properly aligned.
11767 Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
11769 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
11770 times.o, time.o and gettime.o
11771 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
11772 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
11775 Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
11777 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
11778 * libc/sys/sysnecv850/access.c: New file.
11780 Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
11782 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
11784 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
11787 Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
11789 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
11791 Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
11793 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
11794 * libc/include/sys/config.h: Add m32r support.
11796 Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
11798 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
11801 Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
11803 * libc/include/machine/setjmp.h: Add D10v support.
11805 Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
11807 * configure.in: Configure the "libc/syscalls" directory for
11810 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
11811 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
11812 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
11813 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
11814 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
11816 Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
11818 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
11819 stack for args for main and other routines. Zero out args for
11822 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
11825 Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11827 * libc/stdio/findfp.c (std): Remove extraneous ';' after
11830 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
11832 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
11833 real system calls now.
11835 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
11836 before casting them to int.
11837 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
11839 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
11841 * libc/string/memset.c (memset): Ditto.
11843 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
11844 first convert ints to _POINTER_INT to eliminate GCC warning.
11846 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
11849 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
11850 from 65000 if ints are only 16 bits.
11852 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
11853 from 50000 if ints are only 16 bits.
11855 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
11856 int type that is the same size as a pointer.
11858 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
11860 (get_number): Explicitly cast number to long before shifting by 16
11861 or 24, in case ints are short.
11863 * libc/include/sys/config.h (_POINTER_INT): Define as short.
11865 Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
11867 * libc/string.h: Added ffs, removed swab.
11868 * libc/sys/errno.h: Added EOPNOTSUPP.
11869 * libc/sys/unistd.h: Added swab.
11871 Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
11873 * libc/include/sys/stat.h: Added fchmod.
11874 * libc/include/sys/unistd.h: Added fsync.
11876 Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
11878 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
11879 and ECONNRESET (104) for cygwin32.
11881 Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
11883 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
11884 do the static destructors.
11886 Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
11888 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
11890 Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
11892 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
11893 * configure.in: Recognize m32r-*-*.
11895 Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
11897 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
11898 __rt_stkovf_split_small): Added default software stack overflow
11899 handlers, which just call SWI_Exit.
11900 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
11901 limit initialisation.
11903 Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
11905 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
11907 Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
11909 * libc/include/sys/types.h: Added ssize_t definition.
11911 Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11913 * libc/machine/d10v/setjmp.S: Use ';' for comments.
11914 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
11916 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
11917 branch around a single ldi instruction.
11919 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
11920 Call exit, instead of just issuing a stop instruction.
11922 Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11924 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
11926 Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11928 * libc/stdlib/mprec.h: Explicitly declare all large constants as
11929 longs, and then cast them to __uint32_t.
11931 * libc/include/sys/config.h: Protect against multiple inclusions.
11933 Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
11935 * configure.in (d10v*): Set syscall_dir.
11937 Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
11939 * libc/sys/d10v/crt0.S: Set stack pointer.
11941 Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
11943 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
11944 in assembly for efficiency. Change calling convention to allow
11945 long ints to be returned.
11947 Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11949 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
11951 Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
11953 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
11954 Handle empty entries in $PATH.
11956 Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
11958 * libc/machine/d10v/setjmp.S: Make it really work.
11960 Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
11962 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
11963 the .stack section.
11965 Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
11967 * sys/sysnecv850/sys/file.h: Remove.
11968 * sys/sysnecv850/sys/syscall.h: New file.
11969 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
11970 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
11971 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
11972 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
11973 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
11974 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
11975 * sys/sysnec850/trap.S: New file.
11976 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
11978 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
11979 * sys/sysnec850/sbrk.c: New version.
11981 Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
11983 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
11984 as long as r6 is less than r7.
11986 Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
11988 * Makefile.in (mostlyclean): Separate from clean target. Don't
11989 remove *.a or targ-include.
11990 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
11992 Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11994 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
11996 (__SMALL_BITFIELDS): Ditto.
11998 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
12000 Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
12002 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
12005 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
12006 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
12007 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
12008 * libc/sys/sysnecv850/write.c (write): Likewise.
12010 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
12013 Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12015 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
12016 appropriately for D10V, depending on -mint16/-mint32.
12018 Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
12020 * configure.in: Add cases for D10V.
12022 Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12024 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
12026 Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
12028 * libc/include/machine/ieeefp.h: Fix typo.
12030 Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
12032 * libc/sys/d10v: New directory for D10V stuff.
12033 * libc/include/machine/ieeefp.h: Add D10V defines.
12035 Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
12037 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
12038 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
12039 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
12040 * libc/string/strerror.c (strerror): Add them.
12042 Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
12044 * libc/sys/sysnecv850: New directory for v850 stuff.
12046 * libc/machine/v850: New directory for v850 stuff.
12047 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
12049 * configure.in: Add support for the v850.
12051 * libc/include/machine/ieeefp.h: Add v850 defines.
12052 * libc/include/machine/setjmp.h: Likewise.
12053 * libc/include/sys/config.h: Add v850 defines.
12055 Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
12057 * libc/include/machine/ieeefp.h
12058 * libc/include/machine/setjmp.h
12059 * libc/include/sys/fcntl.h
12060 * libc/include/sys/signal.h
12061 * libc/include/sys/types.h
12062 * libc/stdlib/system.c:
12063 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
12064 API availability, __CYGWIN32__ for cygwin32 environment specific).
12066 Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
12068 * libc/include/stdlib.h: add multibyte character functions. Add
12069 __eprintf for assert.
12071 Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12073 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
12074 arithmetic or __alignof__ to properly get the alignment, instead
12075 of hardwiring it to 4.
12077 Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
12079 * libc/stdio/fseek.c: add fflush call to adjust seek offset
12080 on append stream (fix from NetBSD sources), adjust curoff offset
12081 for ungetc's benefit.
12082 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
12083 * libc/stdio/rewind.c: replace code with up to date NetBSD
12084 code to undo hacks made to work around above problem of not
12085 having fflush call mentioned above
12087 Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
12089 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
12090 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
12091 Partially revert last changes. The thread specific errno is set
12092 iff if the underlying syscall fails and the global errno is not
12095 Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
12097 * libc/reent/filer.c: Removed files, all functions have split out
12098 into their own files.
12099 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
12100 New files containing functions formally in filer.c
12101 * libc/reent/Makefile.in: Updated for above change.
12103 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
12104 syscall fails, not if errno is changed.
12105 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
12106 _write_r): Likewise.
12107 * libc/reent/fstatr.c (_fstat_r): Likewise.
12108 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
12109 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
12110 * libc/reent/signalr.c (_kill_r): Likewise.
12111 * libc/reent/statr.c (_stat_r): Likewise.
12112 * libc/reent/timer.c (_gettimeofday_r): Likewise.
12114 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
12115 signalr.c, statr.c, timer.c} (errno): declare extern rather
12118 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
12119 instead of calling vfprintf so that i*printf will not require
12120 floating point support code.
12122 Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
12124 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
12126 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
12127 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
12129 Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
12131 * libc/include/signal.h: _sig_func_ptr function takes an int
12132 * libc/include/sys/signal.h: sa_handler function takes an int
12134 Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
12136 * libc/include/machine/ieeefp.h: Simplify H8/S support.
12137 * libc/include/sys/config.h: Add missing H8/S conditional.
12139 Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
12141 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
12143 Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
12145 * libc/include/machine/setjmp.h: Handle H8/S.
12146 * libc/include/machine/ieeefp.h: Likewise.
12147 * libc/include/sys/config.h: Likewise.
12148 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
12149 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
12150 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
12151 * libc/sys/h8300hms/crt0.S: Likewise.
12153 Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
12155 * Makefile.in (datadir): Set to $(prefix)/share.
12156 (oldincludedir, docdir): Removed.
12157 * doc/Makefile.in (datadir): Set to $(prefix)/share.
12158 (oldincludedir, docdir): Removed.
12159 * libc/Makefile.in (datadir): Set to $(prefix)/share.
12160 (oldincludedir, docdir): Removed.
12161 * libm/Makefile.in (datadir): Set to $(prefix)/share.
12162 (oldincludedir, docdir): Removed.
12164 Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
12166 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
12169 Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
12171 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
12172 fetch current path rules with sysconf and handler posix/win32
12175 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
12177 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
12178 (WAIT_CHILD): Always define.
12180 Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
12182 * libc/stdlib/eprintf.c: New file.
12183 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
12184 (eprintf.o): New target.
12186 Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
12188 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
12189 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
12191 Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
12193 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
12194 NT in PowerPC endianess cases.
12196 Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12198 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
12200 Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12202 * libc/string/strtok.c: Fix doc typo.
12204 Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
12206 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
12207 _next, _scanpoint, _signgam fields.
12209 * libc/include/stdlib.h (rand_r): Added new declaration.
12210 (_rand_r, _srand_r): Removed declarations.
12211 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
12212 have been made obsolete by rand_r.
12213 * libc/stdlib/rand_r.c: New file, rand_r function as specified
12216 * libc/string/strtok.c: Update documentation to describe
12219 Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
12221 * libc/include/sys/stat.h (stat structure): Use the expanded stat
12222 structure on Solaris, and PowerPC systems even though __svr4__ is
12225 Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
12227 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
12229 Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
12231 * host/any: Use ../.. rather than .. to get to the main build
12232 directory. This matches the current layout of the build
12235 Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
12237 * libc/machine/h8300/__main.S: Delete. No longer needed.
12238 * libc/machine/h8300/Makefile.in: Corresponding changes.
12239 * libc/sys/h8300hms/crt1.c: New file.
12240 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
12241 * libc/sys/h8300hms/crt0.s: Call __main.
12243 * libc/sys/h8300hms/crt0.S: Use temporary label names
12244 for branch targets.
12246 Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
12248 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
12250 Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12252 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
12253 .sdata on the PowerPC so that we can link newlib with code
12254 compiled with -msdata.
12256 Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
12258 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
12260 Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
12262 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
12263 exception handler to __cygwin_exception_handler.
12265 Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
12267 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
12269 Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
12271 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
12273 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
12274 wcstombs.o): Likewise.
12276 Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
12278 * libc/stdlib/environ.c (initial_env): New static local.
12279 (environ): Point to `initial_env'.
12281 * libc/include/machine/setjmp.h: Clean up.
12282 (__H8300H__,__PPC__): Define _JBTYPE.
12283 (__arm__): Provide entry for.
12284 (sigjmp_buf): Delete.
12285 (jmp_buf): Use _JBTYPE if defined, otherwise int.
12287 Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
12289 * libc/machine/h8300/strcmp.S: Sign extend the result to
12290 32bits so we don't lose with -mint32.
12292 Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
12294 * libc/sys/go32/sys/errno.h: New file.
12295 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
12296 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
12297 errno's address (make compatible with rest of newlib).
12298 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
12299 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
12301 Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
12303 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
12304 * libc/machine/sparc/Makefile.in: Build them.
12305 * libc/machine/sparc/machine/sparclet.h: New file.
12307 Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
12309 * libc/machine/sh/asm.h: New file.
12310 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
12311 support for SH3e's FP registers. Use asm.h.
12313 Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
12315 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
12316 as first argument. Call _dtoa_r and pass the reent structure
12317 instead of calling __dtoa.
12319 Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
12321 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
12322 the h8300, h8500, and others. Add comments for some rather
12325 Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
12327 * Makefile.in (check): Check that testsuite exists before cd.
12329 Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12331 * libc/include/string.h (strsep): Correct prototype.
12333 Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
12335 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
12336 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
12337 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
12339 Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
12341 * libc/posix/{creat.c,isatty.c}: New files.
12342 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
12344 * libc/sys/sparc64/crt0.S (environ): Delete.
12345 (.LHaveBias): Renamed from HaveBias.
12347 Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
12349 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
12350 (_morecore_r): Delete SBRK_IS_ALLOC support.
12352 Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12354 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
12355 module rather than touch, so we don't get warning messages when
12356 all of the libraries are combined into libc.a.
12358 Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
12360 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
12361 crt0.s replaced by version in libgloss.
12363 Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
12365 * libc/reent/Makefile.in (OFILES): Add impure.o.
12366 * libc/reent/impure.o: New file, define initial reentrancy struct.
12367 * libc/reent/reent.c: Remove above definition.
12369 * libm/math/sf_asinh.c: Fix typo.
12371 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
12374 * libm/libm.texinfo: Change documentation to reflect changes
12375 in reentrancy model.
12376 * libm/math/w_gamma.c: Likewise.
12378 Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
12380 * configure.in (*-*-cygwin32): New.
12381 (*-*-win32): Deleted.
12382 * libc/sys/win32 renamed libc/sys/cygwin32.
12384 Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12386 * libc/include/sys/file.h: New include file.
12388 Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
12390 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
12392 Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
12394 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
12396 Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12398 * doc/makedoc.c (realloc): Declare at file scope.
12399 (catchar): Not here.
12401 Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
12403 * Makefile.in (VERSION): Update to 1.7.0.
12404 * {libc,libm}/Makefile.in (VERSION): Likewise.
12405 * configure.in: Minor clean up of multilib stuff.
12407 From David Johnson <davidj@ICSI.Berkeley.EDU>
12408 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
12410 * libc/stdlib/environ.c: New file.
12411 * libc/stdlib/Makefile.in (OFILES): Build it.
12412 * libc/sys/h8500hms/crt0.c (environ): Deleted.
12413 * libc/sys/m88kbug/crt0.c (environ): Deleted.
12414 * libc/sys/z8ksim/crt0.c (environ): Deleted.
12415 * libc/sys/netware/environ.c: Deleted.
12417 Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
12419 * configure.in (links): set sys_dir, posix_dir, syscall_dir
12421 Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
12423 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
12424 declaration out to external scope and declare it PTR, not char *.
12426 Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
12428 * libc/include/sys/unistd.h (getpagesize): New declaration.
12429 (_SC_PAGESIZE): New definition.
12430 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
12431 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
12433 Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
12435 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
12436 addressing. System call returns size, not (last address + 1).
12438 Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12440 * libm/math/*.c: Removed _foo_r() reentrancy API.
12441 * libc/include/math.h: Removed _foo_r prototypes and macros.
12443 * libm/math/*.c: On systems with IEEE single precision "doubles"
12444 move foo() -> foof() wrapper code from the files that implement
12445 the standard IEEE double precision functions to the files that
12446 implement IEEE single precision functions. (ie. On those systems
12447 sin is moved from s_sin.c to sf_sin.c). There should eventually
12448 be use of a C extension (like gcc's alias attribute) so that the
12449 wrappers are not needed at all.
12451 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
12452 strict NEC V810 compiler.
12453 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
12456 Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12458 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
12459 from NetBSD C library.
12460 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
12462 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
12463 and adapted from implementation I wrote for NetBSD C library.
12464 The difference is __assert doesn't take a format argument,
12465 so that there won't be multiple copies of the same string
12466 constant in the executable if assertions are enabled in
12467 more than one source module.
12468 * libc/include/assert.h (assert): Changed to call __assert.
12470 Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12472 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
12473 word1 on systems with 32 bit doubles.
12474 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
12475 so that we can do arithmetic on them.
12476 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
12479 Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
12481 * libc/sys/arm/crt0.S: Zero bss.
12483 Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
12485 * libc/include/unctrl.h: New file.
12486 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
12487 * configure.in (subdirs): Add libc/misc.
12488 * libc/Makefile.in (SUBDIRS): Add misc.
12489 (SUBLIBS): Add misc/lib.a.
12491 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
12493 Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
12495 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
12496 (_vfprintf_r): Call CHECK_INIT.
12498 Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
12500 * Makefile.in (MULTITOP): Delete.
12501 (MULTISRCTOP, MULTIBUILDTOP): Add.
12502 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
12503 instead of cfg-ml-pos.in.
12505 Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
12507 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
12508 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
12511 Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
12513 * libc/string/strtok.c: Include string.h to pick up strtok_r
12516 Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12518 * libc/string/strtok.c: include <_ansi.h>.
12519 * libc/time/asctime_r.c: `reresult' -> `result'.
12521 Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12523 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
12524 in #ifndef _REENT_ONLY ... #endif conditional.
12526 * libc/include/string.h (_strtok_r): Remove declaration.
12527 * libc/include/time.h (_asctime_r): Remove declaration.
12528 * libc/string/strtok.c (_strtok_r): Removed.
12529 * libc/time/asctime.c (_asctime_r): Removed.
12531 * libc/string/Makefile.in (OFILES): Add new object.
12532 * libc/string/strtok_r.c: New file. strtok_r function as
12533 specified by POSIX.1c, adapted from strtok implementation
12534 from NetBSD C library.
12535 * libc/string/strtok.c (strtok): Reimplemented in terms of
12538 * libc/time/Makefile.in (OFILES): Add new objects.
12539 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
12540 New files, reentrant time functions specified by POSIX.1c.
12541 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
12542 reentrant time functions re-written in terms of reentrant
12544 * libc/time/lcltime.c: Renamed from localtime.c
12546 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
12547 gmtime_r, and localtime_r.
12549 Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
12551 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
12552 * libc/include/sys/unistd.h (getlogin): Revert change of
12554 * libc/include/sys/signal.h (sigprocmask): Change prototype
12555 so it compiles with c++.
12557 Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
12559 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
12560 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
12561 to give some room in case we need to align the jmp_buf.
12563 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
12564 the new ppc-asm.h include file the compiler provides to specify
12565 function prologue/epilogue. Eliminate saves of the xer and ctr
12566 registers, which are volatile. Before starting to save registers,
12567 align to 8 byte boundary.
12569 Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
12571 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
12572 referenced by standard libraries.
12574 Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
12576 * libc/unix/Makefile.in, libc/string/Makefile.in,
12577 libc/stdio/Makefile.in, libc/reent/Makefile.in,
12578 libc/posix/Makefile.in:
12579 Remove tabs from otherwise empty line. Confuses some
12580 older non-GNU versions of "make".
12582 Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
12584 * libc/sys/unistd.h (getlogin): Returns const char *.
12586 Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
12588 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
12589 * libc/include/errno.h: Moved into and include...
12590 * libc/include/sys/errno.h: New file.
12591 * libc/include/sys/wait.h: New file.
12592 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
12593 * libc/sys/win32/*: Moved out.
12594 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
12595 * configure.in (i[345]86-*-win32): HAVE_RENAME
12597 Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
12599 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
12600 avoid macro expansion for these two names.
12602 Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
12604 * libc/machine/h8500/psi.S: r6 renamed to fp.
12606 Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
12608 * configure.in (powerpc*): No longer need to define
12609 NO_LONGLONG_POINTERS to supress warnings.
12611 Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
12613 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
12614 through PTR instead of directly.
12616 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
12617 non-standard constructor support.
12619 Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12621 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
12622 address of the Bigint instead of the address of its _x field,
12623 as the size the result buffer was calculated accordingly.
12624 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
12626 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
12627 from NetBSD C library. No longer special cases division by
12628 zero (which needs to be done by the application anyway), but
12629 it doesn't need to call abs() (or labs()) four times either.
12631 * libc/stdlib/qsort.c: Replaced with implementation from
12634 Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12636 * libc/stdio/vfprintf.c: Replaced with implementation from
12637 NetBSD C library (which is derived from the 4.4BSD C library).
12638 * libc/stdio/cvt.c: Removed.
12639 * libc/stdio/Makefile: Updated.
12641 Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
12643 * libc/sys/win32/syscalls.c (rename): New.
12644 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
12646 Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
12648 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
12649 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
12651 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
12652 (setjmp.o): Delete rule to build setjmp.o.
12653 * libc/sys/sh/setjmp.S: Delete file.
12655 Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12657 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
12658 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
12659 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
12660 pow5mult and s2b to identifiers with leading underscores.
12661 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
12662 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
12664 Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
12666 * libc/sys/posix/popen.c (sys/types.h): Include.
12668 Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
12670 * libc/sys/win32/syscalls.h (fhandler): New struct.
12671 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
12672 (__fhandler_normal): Declare.
12673 (hinfo): New member op_handlers.
12674 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
12675 (__write): Likewise.
12676 (_read, _write, _open, _close, _lseek): Validate fd here.
12677 Move file type specific stuff to foo_normal.
12678 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
12680 (__lookup_fhandler): New function.
12681 (__lookup_fhandler_hook, __fhandler_normal): New variables.
12683 From anders.blomdell@control.lth.se (Anders Blomdell)
12684 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
12685 Don't touch standard handles.
12686 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
12687 (_execve): Only create __FD_TABLE__ if necessary.
12688 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
12690 Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
12692 * libc/sys/win32/sys/termios.h (FLUSHO): New.
12693 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
12694 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
12695 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
12696 without a handler is received.
12697 * libc/sys/win32/Makefile.in: Remove --nodelete.
12698 * libc/sys/win32/resouce.c (gettimeofday): New.
12699 * libc/sys/win32/syscalls.c (path_to_real_path): New.
12700 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
12702 Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
12704 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
12705 Don't append "/*" to search pattern if trailing '/' already there,
12707 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
12708 like /'s, convert them to \'s. Handle //<drive>/ path names.
12709 Add space for quoted \'s in arg string. Print translated prog name
12710 and original prog name.
12711 (_execve): Handle parent doing exec a teensy bit better.
12712 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
12713 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
12714 path needs conversion, handle both cases. Delete `const' from result.
12715 (hash_path_name): New function.
12717 (_stat): Likewise. Fill in more fields for directories.
12718 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
12719 (wait_for_any): Fix trace message.
12720 (waitpid): Explicitly test for intpid == 0.
12722 From anders.blomdell@control.lth.se (Anders Blomdell)
12723 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
12724 so `next' is valid.
12726 Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
12728 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
12731 Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12733 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
12734 at all, not just == 1.
12735 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
12737 Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12739 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
12740 * libc/sys/win32/include/wintypes.h: include <winnt.h>
12741 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
12744 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
12746 * libc/sys/syscalls.c (getcwd): Fix off by one error.
12748 * libc/sys/signal.c (sleep): Fill it in.
12749 * libc/sys/termios.c (tcflush): Use PurgeComm
12750 (tcsetattr): Set some more of the bits.
12751 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
12753 Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
12755 * libc/sys/arm/crt0.S (fp): Initialize to 0.
12756 Conditionally include .idata$3 stuff ifdef __pe__.
12758 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
12760 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
12761 * libc/sys/win32/pipe.c (pipe): Ditto.
12762 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
12763 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
12764 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
12765 (tcgetattr): Contents are new.
12766 * libc/sys/win32/include/winkernel.h (DCB): New.
12767 (GetCommState, SetCommState): New.
12769 Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
12771 * libc/sys/arm/crt0.S (_start): Define.
12773 Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
12775 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
12776 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
12778 * libc/sys/win32/sysconf.c: New
12779 * libc/sys/win32/sys/winadvapi.h: New
12780 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
12781 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
12782 * libc/sys/win32/pipe.c (pipe): Ditto.
12783 * libc/sys/win32/signal.c (_raise): New.
12784 (_kill): Moved from spawn.c
12785 * libc/sys/win32/spawn.c (kill): Moved to signal.c
12786 * libc/sys/win32/syscalls.c (__read): Use new fields.
12788 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
12789 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
12790 * libc/include/sys/unistd.h (rmdir): Takes const path.
12791 * libc/include/sys/stat.h (mkdir): Takes const path.
12792 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
12794 Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
12796 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
12798 Add support for specifying paths as //<drive>/foo/bar.
12799 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
12800 (__path_to_real_path): Declare.
12801 (PATH_TO_REAL_PATH): New macro.
12802 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
12803 (__path_needs_conversion_p, __path_to_real_path): New functions.
12804 (_open): Fix test for error return from CreateFileA.
12805 Handle new path syntax.
12806 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
12807 * libc/sys/win32/dirsearch.c (opendir): Likewise.
12809 Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
12811 * libc/sys/win32/include/*.h: Reorganized
12812 * libc/sys/win32/include/WINREADME: New.
12813 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
12814 * libc/sys/win32/*.c: Fix for new include scheme.
12815 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
12816 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
12817 * libc/sys/win32/passwd.c (*): Fix.
12818 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
12819 (_stat): Get directory owner and permissions right.
12820 * libc/sys/win32/syscalls.h (uinfo): New.
12821 * libc/sys/win32/version.def: Remove leading underscores.
12823 Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12825 * libc/sys/win32/key.c: include "include/wincon.h".
12827 Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
12829 * libc/sys/win32/{key, stubs}.c: New.
12830 * libc/sys/win32/Makefile: Adjust to cope.
12831 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
12832 (environ_init): Change env names to upper case.
12833 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
12834 * libc/sys/win32/passwd.c (*): Fill in the functions.
12835 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
12836 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
12837 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
12838 (_open): Initialze hmap->execable_p too.
12839 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
12840 (_fstat): Fill in permissions.
12841 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
12843 Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
12845 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
12847 (cfg-ml-pos.in invocation): Likewise.
12849 Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12851 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
12852 s_isnan.o and sf_isnan.o.
12854 Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
12856 * All Makefile.in files: added maintainer-clean target as a
12857 synonym for realclean.
12859 Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
12861 * libc/include/machine/setjmp.h: Add hppa support.
12862 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
12864 * libc/machine/hppa/Makefile.in: Related changes.
12866 Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
12868 * configure.in (machine_dir): Don't set for v810-*-*.
12870 Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12872 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
12873 conventions correctly.
12875 Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
12877 * libc/stdio/puts.c: Update documentation of return value to match
12880 Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
12882 Fix file descriptor inheritance.
12883 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
12884 (NOT_OPEN_FD): Fix.
12885 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
12886 close-on-exec flag not set. Initialize child's entire fd table.
12887 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
12889 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
12890 if CHILD_P. Initialize entire hmap entry.
12891 (dup): Only create new handle as inheritable if CHILD_P.
12892 (dup2): Likewise. Properly initialize hmap entry.
12894 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
12896 (_exit): Use CHILD_P.
12897 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
12900 Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12902 * libc/sys/win32/crt0.c (passover): fix up the state table.
12903 * libc/posix/popen.c: Added.
12904 * libc/posix/Makefile.in: compile popen.c.
12906 Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
12908 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
12909 h8/500 define _DOUBLE_IS_32BITS.
12911 Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
12913 Get vfork/exec/spawn/cwait/wait working again.
12914 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
12915 (procinfo): New member vfork_level.
12916 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
12917 (vfork_init_first): Use GetCurrentProcessId to get pid.
12918 Initialize vfork_level.
12919 (vfork_init): Delete __PID__.
12920 (environ_init): New function. Undo patch of Aug 19, Posix says
12921 environment variables are case sensitive.
12922 (mainCRTStartup): Call it.
12923 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
12924 (my_longjump: Make static.
12925 (_spawn): New argument `h'. Delete setting of __PID__.
12926 Delete local `idx'. Look for chars that need quotes, rather than
12927 ones that don't. Set handle of created process in `h'.
12928 Result is process id if created task.
12929 (allocate_spawn_entry): New function.
12930 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
12931 (_execve): Set __FD_TABLE__ before spawning child.
12932 Scan our fd table when passing fds, not our parent's.
12933 Store handle and pid in procinfo entry.
12934 (vfork0): Ensure strace message always printed.
12935 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
12936 (vfork): Don't clobber result of vfork0.
12937 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
12938 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
12940 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
12942 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
12943 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
12944 adding vfork level to pseudo-pid.
12945 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
12946 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
12947 (_exit): If child, set exit code.
12948 (__vfork_record_death): Only close process handle if valid.
12949 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
12951 (wait_for_any): Likewise. Start scan after root entry.
12953 Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12955 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
12956 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
12957 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
12958 of actual file length.
12960 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
12961 * libc/include/paths.h: _PATH_BSHELL added.
12962 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
12965 Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12967 * libc/include/ar.h: Added.
12968 * libc/include/sys/types.h: ino_t goes back to 32-bits.
12969 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
12970 * libc/sys/win32/syscalls.c (_open): compute .namehash based
12972 (_fstat): use .namehash for inode number of the fd.
12974 Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
12976 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
12977 Change hinfo to __this_procinfo.
12978 * libc/sys/win32/crt0.c: Remove procinfo_list.
12980 Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12982 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
12985 Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12987 * libc/sys/win32/include/grp.h: Removed.
12988 * libc/sys/include/grp.h: Added.
12989 * libc/sys/win32/grp.c: Include <grp.h>.
12991 Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
12993 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
12994 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
12995 Defined for all but strict ANSI.
12996 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
12997 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
12998 * libc/signal/signal.c (_signal_r): Changed from using
12999 _MAX_SIGNALS to NSIG.
13000 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
13002 (__strace, __vfork_next_pid): New.
13003 (__exe_suffix): Default to 1.
13004 (passover, table): Understand quoted arguments.
13005 (vfork_init_first): New.
13006 (vfork_init): Initialize new process structure.
13007 (mainCRTStartup): Pass environ to main.
13008 * exceptions.c (__sig_mask): New
13009 (ehandler3): Ignore signals in mask.
13010 (really_exit): Remove CHILD_P test.
13011 * pipe.c (pipe, dup, dup2): Use new process and file structure.
13012 * resource.c (getrusage): Ditto.
13013 * signal.c (sigprocmask): New.
13014 * spawn.c (*): Rewritten.
13015 * syscalls.c (*): Use new process and file structure.
13016 (find_unused_handle): New.
13017 * syscalls.h (MAX_HANDLES): Deleted.
13018 (hinfo): Removed child_created_p.
13019 (MAX_CHILDREN): Deleted.
13020 (vfork_jmp_info, procinfo): New.
13021 * wait.c (*): Mostly new.
13022 * sys/strace.h (_STRACE_PARANOID): New.
13023 * sys/param.h: New file.
13025 Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
13027 * libc/include/sys/stat.h: add S_BLKSIZE.
13028 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
13029 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
13031 (mode_t): add a #else to avoid multiple definitons.
13033 * libc/sys/win32/Makefile.in: add grp.c.
13034 * libc/sys/win32/grp.c: include grp.h correctly.
13035 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
13036 of the st structure with real information.
13037 * libc/sys/win32 (dirent): d_ino is of type ino_t.
13039 Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
13041 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
13042 and (maybe) sparc64.
13043 (nlink_t): Provide typedef.
13045 Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
13047 * libc/sys/win32/grp.c: New file.
13048 * libc/sys/win32/include/grp.h: New file.
13050 Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13052 * libc/include/machine/ieeefp.h: Added whitespace to make this
13053 file easier to maintain.
13054 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
13055 depending on the value of __LITTLE_ENDIAN__.
13056 On the sh3e, define _DOUBLE_IS_32BITS.
13058 Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
13060 * libc/sys/vr4300/syscalls.c: Added missing support
13061 routines. _raise() and getpid().
13063 Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
13065 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
13067 Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
13069 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
13070 and VR4300 processor.
13071 * libc/sys/vr4300: Add directory.
13072 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
13073 monitor run-time support.
13075 Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13077 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
13078 * libc/stdlib/stdlib.tex: Don't include atol.def.
13080 Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
13082 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
13084 Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
13086 * libc/ctype/Makefile.in: Fill in _to* dependencies.
13088 Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
13090 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
13091 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
13092 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
13093 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
13094 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
13096 Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
13098 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
13100 Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13102 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
13103 * libc/stdlib/atoff.c: New file.
13104 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
13105 * libc/stdlib/atoi.c (atol): Removed.
13106 * libc/stdlib/atol.c: Removed duplicate documentation.
13108 * libc/include/ctype.h (_tolower, _toupper): Moved inside
13109 #ifndef _STRICT_ANSI conditional.
13110 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
13111 * libc/ctype/_tolower.c: New file.
13112 * libc/ctype/_toupper.c: New file.
13113 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
13114 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
13115 * libc/ctype/toascii.c (_toascii): Removed.
13117 Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
13119 * libc/sys/sparc64/sys/types.h: Deleted.
13121 Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
13123 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
13124 and recognize Windows_95 systems.
13126 Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
13128 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
13129 and passed fds should be opened in text mode.
13131 Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
13133 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
13134 in __hmap, set to binary mode by default.
13136 Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13138 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
13139 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
13142 Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
13144 * Makefile.in (install): Install all libraries found in the
13145 top level. If there's a sys/<type>/include directory,
13146 install those headers into include.
13148 * libc/sys/win32/kernel.def351: Delete
13149 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
13150 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
13151 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
13152 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
13153 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
13154 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
13155 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
13156 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
13158 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
13159 * libc/sys/win32/crt0.c: Force all env names to upper case.
13160 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
13161 * libc/sys/win32/*.c: Headers have moved.
13162 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
13163 __vfork_child_idx is now __vfork_child_ptr.
13165 * posix/execvp (execvp): Don't crash if no PATH envname.
13167 Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13169 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
13170 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
13171 through the _freelist instead of through the _reclaim list.
13172 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
13173 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
13176 Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13178 * libc/machine/h8500/setjmp.S: New file.
13179 * libc/include/machine/setjmp.h: Updated for H8/500.
13181 Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
13183 * libc/sys/win32/syscalls.c (_open): More stracing.
13184 (_stat): Open the file in O_BINARY.
13186 Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13188 * libc/machine/h8300/setjmp.S: New file.
13189 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
13191 Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
13193 * libc/sys/win32/crt0.c (__exe_suffix): New global.
13194 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
13195 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
13196 __exe_suffix. Free fd_tab after setting env variable.
13197 (spawnv,_execve): Update.
13198 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
13199 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
13200 (__small_vfprintf): New function.
13201 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
13202 * libc/sys/win32/wait.c (cwait): Validate argument.
13204 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
13205 (process_deletion_queue): Likewise.
13207 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
13209 Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
13211 * libc/sys/win32: Copyrights and gratuitous indenting.
13213 Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
13215 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
13216 (process_deletion_queue): Likewise.
13217 (__close_all_files): New function.
13218 (_close): Only queue file deletion if really a file.
13219 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
13221 (_exit): Call __close_all_files.
13223 * libc/stdlib/system.c: #include <errno.h>.
13224 (_system_r): Fix results in -DNO_EXEC case.
13226 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
13227 Reorganize structure.
13228 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
13229 if argument is valid. Save directory name in DIR. malloc space
13230 for dirent struct separately.
13231 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
13233 * libc/include/errno.h (ENAMETOOLONG): Define.
13234 * libc/string/strerror.c (strerror): Reword ENFILE.
13235 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
13237 Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
13239 * libc/sys/win32/crt0.c (__progname): New global.
13240 (mainCRTStartup): Support strace=bitmask,filename.
13241 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
13242 * libc/sys/win32/syscalls.c (_write): Print parent trace message
13244 (getcwd): Handle len too small. Convert '\\' to '/'.
13245 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
13246 Add prototypes for open, creat, fcntl.
13247 (O_APPEND): Change value to conform to Microsoft's value.
13248 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
13250 * libc/stdlib/getopt.c: New file.
13251 * libc/stdlib/Makefile.in: Build it.
13253 Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
13255 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
13256 Fix scanning of $PATH.
13257 * libc/posix/exec*.c: Call _execve, not execve.
13258 * libc/posix/execve.c: New file.
13259 * libc/posix/Makefile.in (OFILES): Add execve.o.
13261 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
13262 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
13263 (_STRACE): If level==0, always print. Handle new bit mask scheme.
13264 * libc/sys/win32/crt0.c: Update _STRACE calls.
13265 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
13267 * libc/sys/win32/smallprint.c (rn): Fix digit list.
13269 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
13270 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
13271 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
13272 Print __seterrno trace message first.
13273 (_execve): Renamed from execve.
13274 (vfork): Update __strace usage.
13275 (__vfork_child_pid): Deleted.
13276 (__vfork_children, __vfork_child_idx): New globals.
13277 (_spawnvp): New function.
13278 (spawnvp, spawnv, _execve): Call _spawnvp.
13279 (init_child): Record child in __vfork_children.
13280 (__vfork_get_entry, __vfork_record_death): New functions.
13281 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
13282 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
13283 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
13284 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
13285 (children): New typedef.
13286 (__vfork_children,__vfork_child_idx): Declare.
13287 (__vfork_get_entry,__vfork_record_death): Declare.
13288 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
13289 (waitpid): Handle pid == -1.
13290 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
13291 * configure.in (i386-win32): Add -DNO_FORK.
13292 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
13293 * libc/reent/execr.c (_fork_r): Likewise.
13294 * libc/stdlib/system.c (do_system): New function.
13295 If WIN32, try to get shell path from $SH_PATH, use vfork.
13296 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
13297 otherwise return 0.
13299 Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
13301 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
13302 * libc/sys/win32/fcntl.h: Don't include self.
13303 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
13304 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
13305 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
13306 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
13307 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
13308 Correct prototypes.
13309 * libc/sys/win32/strace.c: New file.
13310 * libc/sys/win32/smallprint.c: New file.
13311 * libc/sys/win32/crt0.c (func): Delete.
13312 (mainCRTStartup): Fix alloca usage. Set handles explictly.
13313 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
13314 * libc/sys/win32/exceptions.c: Lint.
13315 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
13316 Clean up handle usage.
13317 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
13318 (open.c): Default file type is text.
13319 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
13320 * libc/sys/win32/advapi32.def: New
13322 Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
13324 * configure.in (posix_dir, libc_posix_lib): New variables.
13325 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
13326 (i[345]86-*-win32): Define posix_dir.
13327 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
13328 (if unix_dir): Fix typo.
13329 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
13330 scandir,seekdir,telldir}: New files.
13331 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
13333 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
13334 (SUBDIRS): Add posix.
13335 (SUBLIBS): Add $(LIBC_POSIX_LIB).
13337 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
13338 (NSIG): Increase to 21.
13339 * libc/include/sys/unistd.h (pid_t): Move from here,
13340 * libc/include/sys/types.h (pid_t): to here.
13342 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
13343 (__ptrace): Delete.
13344 (hinfo): New members close_exec_p, child_created_p.
13345 (struct exception_list): Define.
13346 (__hmap): Redefine as pointer to table.
13347 (__parent_hmap, __child_hmap): New globals.
13348 (__set_errno, __really_exit): Declare.
13349 (__vfork_child_pid): Declare.
13350 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
13351 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
13352 (__parent_hmap, __child_hmap): New globals.
13353 (__hmap): Redefine as pointer to active map.
13354 (__get_console): New function.
13355 (mainCRTStartup): Change leading '=' in environ vars to '!'.
13356 (env __FD_TABLE__): Watch for this and initialize our fd/handle
13357 mapping table from it if defined.
13358 (argv, envp): Dump if __strace >= 4.
13360 * libc/sys/win32/exceptions.c (myp): Redefine.
13361 (__syscalls_b): Delete.
13362 (__stack_trace): New function.
13363 (ehandler3): Update to use _STRACE. Print stack trace.
13364 Call __really_exit instead of exit.
13365 (init_exceptions): Delete args argc,argv. New arg mine.
13366 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
13367 FindFirstFileA, FindNextFileA, GetComputerNameA,
13368 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
13369 * libc/sys/win32/signal.c (signal): Validate arg.
13370 (alarm, sleep): Define as stubs for now.
13371 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
13372 (__syscalls_b, errno): Delete.
13373 (__vfork_child_pid, __vfork_jmp_buf): New globals.
13374 (__seterrno): Handle more errors.
13375 (__sys_printf): Renamed from _ptrace.
13376 (__really_exit): New function.
13377 (queue_file_deletion, process_deletion_queue): New functions.
13378 (__resume_parent): New function.
13379 (_unlink): Handle trying to delete open file.
13380 (__totime_t): Renamed from totime_t.
13381 (setsid, __read, __write): New functions.
13382 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
13383 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
13384 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
13385 * libc/sys/win32/console.c: Update to new definition of __hmap.
13386 * libc/sys/win32/Makefile.in: Build new files.
13387 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
13388 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
13389 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
13390 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
13392 Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
13394 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
13396 Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13398 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
13399 have been made to the master dtoa.c sources (from netlib.att.com)
13400 since they were integrated into newlib in early 1992. Fixes
13401 problems with storage leaks and handling of numbers with very
13402 negative exponents.
13404 Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13406 * Makefile.in (all): set rootpre and srcrootpre before calling
13409 Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
13411 * libc/sys/win32/crt0.c: Change __hmap usage.
13412 * libc/sys/win32/exceptions.c: Use _ptrace call.
13413 * libc/sys/win32/syscalls.c: Use _ptrace call.
13414 (read, write): Cope with DOS style CRLF when in TEXT mode.
13415 * libc/sys/win32/syscalls.h: Declare hinfo struct.
13416 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
13417 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
13418 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
13419 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
13421 Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13423 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
13425 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
13426 wrappers for hypot() and remainder() for BSD libm compatibility.
13427 These are public domain implementations written by me for the
13428 NetBSD libm some time ago. Note cabs() is required by ucbtest.
13429 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
13430 (fobj): Added wf_cabs.o and wf_drem.o.
13432 Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13434 * libc/sys/h8500hms/misc.c: New file.
13435 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
13437 Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13439 * libc/time/localtime.c (localtime): Fix problem with leap year
13440 handling. Stole algorithm from Arthur David Olson's tz code.
13442 Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
13444 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
13446 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
13447 (_exit): Use argument.
13449 Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
13451 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
13453 Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
13455 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
13457 Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13459 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
13462 Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
13464 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
13465 ptrace with case insensitivity
13466 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
13467 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
13470 Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
13472 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
13473 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
13474 (all, install, *clean): Use new multilib support.
13475 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
13477 Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
13479 * libc/include/sys/signal.h (__WIN32__): New.
13481 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
13483 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
13484 (ulp, b2d): Handle 32 bit doubles.
13485 * libc/stdlib/mprec.h: Handle 32 bit doubles.
13486 * libc/stdlib/strtod.c (_strtod_r): Ditto.
13488 Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
13490 from medp@primag.co.uk:
13491 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
13492 dynamically allocated buffers.
13494 Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
13496 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
13497 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
13499 Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
13501 * configure.in (powerpc): Fix previous fix.
13503 Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
13505 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
13506 directories for this target.
13508 Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
13510 * configure.in (hppa): Add machine_dir definition.
13511 * libc/machine/hppa: New directory with PA specific implementations
13512 of the basic memory/string functions.
13514 Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
13516 * configure.in: Update current PowerPC multilib directories.
13517 Split big and little endian configurations.
13519 Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
13521 * configure.in: Add --enable-single-float option to configure to
13522 control use of MIPS single-float directories. Default to yes.
13524 * Makefile.in (all): Don't recurse into multilib directory if it
13527 Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13529 * libc/sys/sh/syscalls.c: Fix typo.
13531 Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
13533 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
13535 * libc/include/process.h: Define WAIT_CHILD.
13536 * libc/include/types.h: Get sizes right for win32.
13537 * configure.in (i386-*-pe): Becomes i386-win32.
13538 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
13539 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
13540 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
13543 Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
13545 * configure.in (i[345]86-*-pe): New target (NT).
13546 * host/any: DLLTOOL new.
13547 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
13548 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
13549 WIN32 (just enough to cross host the comp-tools).
13551 Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
13553 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
13554 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
13556 Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
13558 * libc/include/machine/ieeefp.h (arm): Change to always be
13559 __IEEE_BIG_ENDIAN (even on little endian ARM's).
13561 Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
13563 * libc/sys/crt0.S: Initialze sp, and call exit after main.
13564 * libc/sys/syscalls.c (abort): New.
13565 * configure.in (arm): Define ABORT_PROVIDED.
13567 Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13569 * configure.in (powerpc): Define multidirs.
13571 Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
13573 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
13575 Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
13577 * configure.in (sparclite): Delete target_cflags. Define multidirs.
13579 Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
13581 * configure.in, libc/include/machine/ieeefp.h: Modified
13583 libc/machine/arm/*, libc/sys/arm/*: New
13585 Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13587 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
13588 __powerpc__ when determining endianness.
13590 Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13592 * configure.in (m68*): Add multidir for the m68332.
13594 * host/any (CC): Fix typo in last change.
13596 Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
13598 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
13599 when determining endianness.
13600 * libc/include/machine/ieeefp.h: Ditto.
13601 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
13604 Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
13606 * libc/include/errno.h (ENOTEMPTY): Define.
13608 Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13610 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
13613 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
13616 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
13617 instead of only when open succeeds. ANSI requires that multiple
13618 calls to tmpnam() result in different files.
13620 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
13621 objects pulled in from /lib/libc.a that must be renamed before
13622 being pulled into newlib. /lib/libc.a's div.o conflicted with
13623 newlib's file with the same name.
13625 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
13627 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
13628 the build tree will only be used if the executables are present
13629 (instead of just the Makefiles).
13631 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
13633 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
13634 versions of these functions that I orignally wrote for the
13636 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
13637 versions I wrote for NetBSD.
13639 Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
13641 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
13642 * libc/sys/sparclite/crt0.s: ditto.
13644 Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
13646 * configure.in: Add soft-float for proelf.
13648 Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
13650 * libc/stdlib/mprec.h (Bcopy): Copy the right number
13653 Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
13655 * Makefile.in (all): Depend on `force'.
13656 * configure.in (syscall_dir): Renamed from fake_sys_dir.
13657 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
13658 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
13659 * libc/Makefile.in: Likewise.
13660 * libc/include/reent.h: Update syscall references.
13661 (_fcntl_r): Add prototype.
13662 * libc/syscalls/*.c #include <reent.h>.
13663 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
13665 Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
13667 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
13668 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
13669 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
13670 (time.h, sys/types.h): Always include (even if MSDOS).
13671 (stat): Fix prototype.
13673 Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
13675 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
13677 Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
13679 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
13681 Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
13683 * libc/include/regdef.h: New file.
13684 * libc/machine/mips/machine/regdef.h: New file.
13686 Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
13688 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
13690 Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
13692 * libc/sys/sh/crt0.S: Pass main's return to exit.
13693 * libc/sys/sh/trap.S: Put errno in the right place.
13695 Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
13697 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
13698 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
13699 * libm/math/ef_rem_pio2.c: Likewise.
13700 * libm/math/e_log10.c: Remove unused static one.
13701 * libm/math/ef_log10.c: Likewise.
13702 * libm/math/s_frexp.c: Likewise.
13703 * libm/math/sf_frexp.c: Likewise.
13705 Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
13707 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
13708 longjmp.S: Upgraded.
13709 * libc/sys/go32/sys/setjmp.h: Upgraded.
13710 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
13712 Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
13714 * configure.in: Add many entries to multidirs for mips targets.
13716 Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13718 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
13719 5.2 which fixes bug where jn(-1,x) is three times larger than
13721 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
13723 Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
13725 * libc/sys/w65/sys/syscalls.h: New file
13726 * libc/include/machine/ieeefp.h: W65 support.
13727 * libc/include/sys/config.h: Ditto.
13728 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
13729 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
13730 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
13732 Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
13734 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
13736 Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
13738 * Makefile.in, configure.in: Remove any references to the old
13741 Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
13743 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
13744 uses ... in prototype.
13747 Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
13749 * libc/sys/a29khif/sys/libconfig.h: Remove.
13750 * libc/sys/go32/sys/libconfig.h: Remove.
13751 * libc/sys/sun4/sys/libconfig.h: Remove.
13752 * libc/sys/sysvi386/sys/libconfig.h: Remove.
13753 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
13754 * libc/sys/sparc64/sys/libconfig.h: Remove.
13756 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
13757 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
13758 * libc/include/math.h: Change all uses of _FLOAT_RET and
13759 _FLOAT_ARG to float.
13760 * libm/test/math.c: Likewise.
13761 * testsuite/libm.sac/math.c: Likewise.
13762 * testsuite/libm.sac/working/math.c: Likewise.
13764 Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
13766 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
13767 gcc calls gas with endian option.
13768 * configure.in (sh): Build little endian version too.
13770 Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
13772 * configure.in: Configure big and little endian versions for MIPS
13775 Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
13777 * libc/include/limits.h: Deleted.
13778 * libc/include/machine/limits.h: Deleted.
13780 Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
13782 * ChangeLog: Remove stub directory. This has all been rewritten
13783 and moved to devo/libgloss.
13785 Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
13787 * Makefile.in (dvi): Add to info target, use $@ in sub make.
13788 (docs): Merge into info target.
13789 * libm/Makefile.in (dvi): Add $(srcdir).
13790 * libm/math/Makefile.in (chobjs): Remove underscores from file
13791 names. Texinfo doesn't like them.
13792 (wacos.def, ...): Add explicit targets for all .def files.
13793 * libm/math/math.tex: Remove underscores from @include file names.
13794 * doc/Makefile.in (dvi): Add dummy target.
13795 * testsuite/Makefile.in (dvi): Add dummy target.
13797 Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
13799 * Makefile.in (VERSION): Define. For net newlib releases.
13801 Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
13803 * README: New file.
13805 Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
13807 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
13809 Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13811 * libc/stdlib/setenv.c (_findenv): Declare.
13813 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
13814 fcntl to not use _EXFUN, and change string parameters to open and
13815 creat to be ``const char *''.
13816 * libc/sys/sparc64/sys/fcntl.h: Likewise.
13817 * libc/sys/sparc64/creat.c (creat): Make PATH const.
13818 * libc/syscalls/sysopen.c: Include <fcntl.h>.
13819 (open) Make _FILE const.
13820 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
13821 (_creat): Make PATH const.
13822 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
13823 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
13824 * libc/sys/m88kbug/syscalls.c (open): Likewise.
13825 * libc/sys/sh/syscalls.c (_open): Likewise.
13826 * stub/shared/glue.c (open): Make BUF const.
13827 * stub/ex93x/syscalls.c (open): Make FILENAME const.
13829 Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
13831 * libc/include/errno.h: Add ENMFILE
13832 * libc/include/sys/config.h: Support Z8000.
13833 * libc/include/sys/signal.h: New signals for go32.
13834 * libc/machine/h8500/psi.S (__addpsir0r0): New function
13835 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
13836 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
13837 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
13838 size is variable, depending upon CHUNK_POWER.
13839 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
13841 Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
13843 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
13845 Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13847 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
13849 Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13851 * configure.in: Change i[34]86 to i[345]86.
13853 * libc/include/math.h: Don't define HUGE_VAL if it is already
13856 Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13858 * testsuite/libm.sac/test_erfc.c: Correct some result values.
13859 * testsuite/libm.sac/test_gammaf.c: Likewise.
13860 * testsuite/libm.sac/test_sin.c: Likewise.
13861 * testsuite/libm.sac/test_tanh.c: Likewise.
13863 Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13865 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
13866 already set. Define typedefs __int32_t and __uint32_t.
13867 * libc/include/math.h: Include <machine/ieeefp.h>.
13868 (union __dmath): Use __uint32_t.
13869 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
13870 instead of int and unsigned int.
13872 Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13874 Replace the math library with the SunPRO fdlibm package.
13875 * libm/math: Completely changed all files.
13876 * libm/ieeefp: Remove contents and directory.
13877 * libm/Makefile.in (LIBM_FP_LIB): Remove.
13878 (SUBDIRS): Just set to math/lib.a.
13879 * libm/libm.texinfo: Updated for new library.
13880 * libc/include/math.h: Extensive changes for new math library.
13881 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
13882 from _FLOAT_ARG to float.
13883 (maxpowtwo, maxpowtwof): Don't declare.
13884 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
13885 (libm_fp_lib): Removed.
13886 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
13887 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
13888 argument to ${RUNTEST}.
13889 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
13891 (RUNTESTFLAGS): Set CC and CFLAGS.
13892 (TESTS): Remove test_log2 and test_log2f.
13893 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
13894 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
13895 _FLOAT_ARG, for single precision argument type.
13896 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
13897 expected failure. Close the input pipe.
13898 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
13899 Correct misspelling of inaccurate.
13900 (test_mok): Use ``inaccurate'', not ``wrong''.
13901 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
13902 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
13903 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
13904 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
13905 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
13906 test_yn.c): Correct many result values. Many are still wrong.
13908 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
13909 just copy the string.
13910 (_gcvt): Always return the buffer.
13912 Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
13914 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
13916 Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
13918 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
13920 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
13921 (_reclaim_reent): declare new entry point.
13922 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
13925 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
13926 ever allocated, so that we can later reclaim them all.
13927 (pow5mult): make reentrant.
13929 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
13930 so that when given NULL as a buffer, return a pointer to static
13931 space in the rent structure. This is not documented behaviour;
13932 it's only to support ecvt and fcvt, which aren't ANSI anyway.
13933 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
13934 therefore become reentrant).
13936 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
13938 Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13940 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
13942 Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
13944 * Makefile.in: Make link to libg.a after libc.a; this is needed
13945 for the testsuites to build executables when everything comes
13948 Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
13950 * libc/Makefile.in: Add a VERSION variable so we can keep track.
13951 * libm/Makefile.in: Add a VERSION variable so we can keep track.
13953 Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13955 * libc/include/stdio.h: Use __VALIST, not va_list.
13957 Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
13959 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
13960 testsuite/libm.sac/execute.exp:
13961 Replace error proc calls with perror calls.
13963 Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
13965 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
13966 * libc/include/time.h: #define NULL as 0L.
13968 Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
13970 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
13973 Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13975 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
13978 Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
13980 * configure.in (TARGET_CFLAGS): Set -O2 as default.
13981 (z8k-*-*): Use syscalls fake sys dir.
13982 * libc/sys/z8k/glue.c: Rename syscalls.
13983 * libc/sys/go32/Makefile.in: Use new routines.
13984 * libc/machine/Makefile.in: Fix typo in ln stuff.
13986 Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13988 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
13989 * libc/Makefile.in (crt0.o): Likewise.
13990 * libc/machine/Makefile.in (lib.a): Likewise.
13991 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
13993 All Makefile.in files: Added mostlyclean, realclean and distclean
13996 * Makefile.in: Don't bother to unexport XTRAFLAGS or
13997 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
13998 the top level Makefile.
14000 Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
14002 * libc/sys/sparc64/sys/stat.h: New file.
14003 * libc/sys/sparc64/sys/time.h: New file.
14004 * libc/sys/sparc64/sys/types.h: New file.
14006 Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
14008 * stub/ex93x/crt0.s (start): Add code to clear bss.
14010 Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
14012 * libc/include/sys/types.h (time_t): Properly protect inside
14013 #ifndef __time_t_defined.
14015 * libc/stdio/fileno.c: New file.
14016 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
14017 (fileno.o): Add dependency.
14018 * libc/include/stdio.h (__sgetc): Rename never to _never.
14019 (fileno macro): Disable, needs to do CHECK_INIT first.
14021 Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
14023 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
14026 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
14027 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
14029 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
14032 Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
14034 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
14035 of the various constants.
14037 Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
14039 * libc/include/math.h: #ifndef __math_68881 around things which
14040 conflict with the (gcc-provided) inline functions in
14041 gcc/ginclude/math-68881.h.
14043 Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
14045 * libc/include/_syslist.h (_gettimeofday): Define.
14047 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
14048 (struct tms, timeval, timezone): Declare.
14049 (_gettimeofday_r, _times_r): Declare.
14050 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
14051 #ifdef _CLOCK_T_ surrounding definition of clock_t.
14052 (time_t): Add multiple definition protection, __time_t_defined.
14053 * libc/include/sys/time.h: Don't #include <time.h>.
14054 Always define struct timezone (remove #ifndef _TIME_H_).
14055 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
14056 #ifdef _CLOCK_T_ surrounding definition of clock_t.
14057 * libc/reent/Makefile.in (OFILES): Add timer.o.
14058 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
14059 * libc/reent/timer.c: New file.
14060 * libc/time/clock.c: #include <reent.h>.
14061 (clock): Call _times_r instead of times.
14062 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
14063 HAVE_GET_TIME_OF_DAY.
14064 Add comment regarding supporting OS routine(s) required (for docs).
14065 #include <reent.h>.
14066 (time): Call _gettimeofday_r instead of gettimeofday.
14067 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
14068 * libc/time/ctime.c: Ditto.
14069 * libc/time/strftime.c: Ditto.
14070 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
14071 (TEMPLATE_SFILES_R): Define here. Also define times.
14072 Add times_r.o/times.S dependence.
14073 (time2.c, junk.c): Deleted.
14074 * libc/sys/sparc64/time2.c: Deleted.
14075 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
14077 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
14078 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
14079 * libc/sys/sparc64/junk.c: Deleted.
14081 Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
14083 * libc/sys/sparc64/Makefile.in: Add times syscall.
14084 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
14085 be used with and without it. Add comment clarifying Medium/Anywhere
14086 model requirements.
14087 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
14088 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
14091 Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
14093 * configure.in (target_cflags): Move init.
14094 (sparc64-*-*): Define HAVE_BLKSIZE.
14096 Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
14098 * libc/include/sys/_types.h: New file.
14099 * libc/include/reent.h: #include it.
14100 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
14101 MISSING_SYSCALL_NAMES.
14103 * libc/include/_syslist.h: Remove _raise.
14104 * libc/reent/signalr.c: New file.
14105 * libc/reent/Makefile.in: Compile it.
14106 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
14107 Add doc for raise and _raise_r.
14108 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
14109 (raise): Call _raise_r.
14110 (_raise_r): Call _getpid_r and _kill_r.
14111 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
14112 (abort): Loop forever calling raise and _exit.
14114 Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
14116 * configure.in: Remove extraneous echo.
14118 Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
14120 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
14121 collision with unistd.h, and fix for svr4.
14123 Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
14125 * libc/stdio/local.h (_llicvt): Declare.
14126 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
14127 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
14129 (_sicvt): Fix function header (`value' is short).
14130 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
14131 Add printing of long long's support.
14132 Add printing of 8 byte pointer support.
14134 Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
14136 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
14137 stat, chmod): New hooks.
14138 (sbrk): Abort if stack and heap collide.
14139 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
14140 shortcut when given small args.
14141 * libc/machine/sh/setjmp.s: Rewritten.
14142 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
14143 of cmp/str instruction.
14145 Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
14147 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
14148 and machine_dir powerpc.
14149 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
14150 Add cases for __powerpc__.
14151 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
14154 * libc/include/stdio.h (_iprintf_r): Declare correctly.
14156 Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
14158 * libc/stdlib/callocr.c: New file with _calloc_r in it.
14159 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
14161 Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
14163 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
14164 (print_e): More comments to describe args, etc.
14165 "type" arg may now be 'g' or 'G' for %g/G format --> remove
14167 (_gcvt): Remove locals decpt, sign, end, p, done.
14168 More comments for print_e invocation.
14169 Pass "type" to print_e as is (g/G).
14171 Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
14173 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
14176 Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
14178 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
14179 works with any sized pointer, including ones bigger than ints and
14182 Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
14184 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
14186 Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
14188 * libc/include/stdlib.h (_calloc_r): Add prototype.
14189 * libc/machine/h8500/negsi2.c: New file.
14190 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
14191 large unsigned numbers.
14192 * libc/machine/h8500/cmpsi.c: Add cmppsi.
14193 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
14194 works when sizeof(size_t) != sizeof(char *).
14195 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
14197 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
14199 Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
14201 * libc/include/assert.h (assert): Handle -traditional.
14203 Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
14205 * Makefile.in: added ; after every "fi" and "done" that wasn't at
14206 the end of a line (ie. anything before a backslash continuation)
14207 so that bash handles them.
14209 Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
14211 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
14214 Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
14216 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
14217 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
14218 libc/machine/sh/udivsi3.s: Use new calling convention.
14220 Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
14222 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
14223 chmod, access, chdir, chown by making _path const. Also fix _amode
14226 Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
14228 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
14229 _khif_tmpnam, because it doesn't comply with ANSI but may be
14230 useful anyway. Real tmpnam was already in libc/stdio, and was
14231 colliding with this one (pr 2176.)
14232 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
14233 the wrong idea anyhow.
14235 Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
14237 * configure.in: Remove h8300h, we have multilib now.
14239 Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
14241 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
14242 functions, to get preference over the ones in libiberty (since we
14243 provide correct declarations in <string.h>.
14244 * libc/string/Makefile.in: add support for strncasecmp,
14247 Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
14249 * Change netware config not to look for cpu explicitly.
14251 Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
14253 * libc/sys/sparc64/{creat.c,junk.c}: New files.
14254 * libc/sys/sparc64/Makefile.in: Add dependencies.
14256 Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
14258 * configure.in: Clean up v9 a bit, new "os" aoutv8.
14260 Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
14262 * libc/include/sys/reent.h: make structure smaller by allocating
14263 some stuff when needed.
14264 * libc/signal/signal.c: allocate as needed
14265 * libc/stdio/findfp.c,stdio/local.h: ditto
14266 * libc/stdlib/mprec.c: ditto
14268 * libc/time/localtime.c: don't return a dangling stack ptr.
14270 Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
14272 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
14274 Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14276 * libc/include/stdio.h (__sputc): comment out static inline which
14277 confuses coff toolchains.
14279 Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
14281 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
14282 _write.s, getpid.c, kill.c, read.s}:
14283 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
14284 through the syscalls directory.
14286 Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
14288 * configure.in: fixed double quote gotcha.
14290 Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
14292 * stub/ex931: stub library for sparclite board.
14293 * stub/idp: Renamed from mc68ec. Added contructor table
14294 stuff to linker script.
14295 * stub/mvme135: Renamed from m68kmvme. Added contructor table
14296 stuff to linker script.
14298 Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14300 * configure.in: Configure testsuites only if they exist.
14302 Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
14304 * configure.in: Don't set machine_dir for i386 until there is
14305 something in libc/machine/i386 to compile. For i[34]86-*-netware*
14306 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
14307 CLOCK_PROVIDED and MALLOC_PROVIDED.
14309 * libc/sys/netware: New directory. Contains simplistic and
14310 probably incorrect stubs for NetWare. Should be enough to load
14312 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
14313 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
14316 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
14317 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
14318 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
14319 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
14321 Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
14323 * testsuite/Makefile.in: add "docs" dummy target for consistency
14324 with rest of newlib; turn "info" and "install-info" into dummy
14325 targets, since they wouldn't have worked. (Depended on
14326 nonexistent "doc" subdir.)
14328 Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
14330 * configure.in: handle mips* instead of mips
14332 Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
14334 * libc/include/sys/dirent.h: New file. If it is not overridden by
14335 a version of libc/sys/*/sys/dirent.h, it includes the next
14336 <dirent.h> file in case there is one lurking somewhere.
14338 Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
14340 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
14341 compliance, namely: Accept a minus sign. Consider a single 0 with
14342 a radix of 0 as being a conversion. Determine overflow correctly.
14343 If an overflow occurs, set *ptr to the end of the number, not the
14345 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
14347 Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
14349 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
14351 Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
14353 * Makefile.in (INSTALL): Use $srcrootpre.
14354 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
14356 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
14358 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
14359 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
14360 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
14361 * libm/math/Makefile.in (matherr.o): Ditto.
14363 Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
14365 * configure.in: Build multidirs for z8k.
14366 * libc/include/stdlib.h (_strtoul_r): add prototype.
14367 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
14368 * libc/include/machine/setjmp.h: Add for z8k.
14369 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
14370 * libc/sys/z8ksim/glue.c: tidy up.
14372 Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
14374 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
14375 New files. Requires execve system call.
14376 * libc/unix/Makefile.in: Use them.
14377 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
14378 Deleted, moved to libc/unix.
14379 * libc/sys/sparc64/Makefile.in: Remove them.
14381 Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
14383 * libc/sys/sparc64/{template.S template_r.S}: New files.
14384 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
14386 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
14387 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
14388 umask.S unlink.S wait4.S write.S}: Removed, now built from
14391 Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
14393 * libc/time/time.c: #include <_ansi.h>.
14395 Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
14397 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
14399 Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14401 * configure.in: match m8* rather than m88k so that m88110 is
14402 recognized as well.
14404 Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
14406 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
14407 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
14410 * configure.in: Add multilib support to h8300.
14412 Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
14414 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
14415 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
14416 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
14418 Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
14420 * configure.in: Corrected multidirs for sparc target.
14422 Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
14424 Support for building newlib multiple times with different
14426 * configure.in: Only configure doc at top level. Set multidirs
14427 when appropriate for target, unless not at top level. If
14428 multidirs is set, independently configure each subdirectory.
14429 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
14430 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
14431 automagically set by configure.in.
14432 (all): If MULTIDIRS is set, build multiple copies of libraries.
14433 (install): If MULTIDIRS is set, install multiple copies of
14434 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
14435 MULTISUBDIR is set, don't bother to install header files.
14436 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
14438 * stub/configure.in: Set MULTISUBDIR appropriately.
14439 * stub/Makefile.in (install): Install in
14440 $(tooldir)/lib/$(MULTISUBDIR).
14441 * All Makefile.in files: Define SRCTOP as well as TOP.
14443 Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
14445 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
14446 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
14448 Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
14450 * libc/sys/h8300hms/exit.c (_exit): New function.
14452 Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14454 * configure.in: recognize m88110.
14456 Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14458 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
14459 prototype main and call with args.
14461 Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
14463 First real try at system traps for m88k-bug.
14464 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
14465 to real trap calls.
14466 * libc/sys/m88kbug/sys/systraps.h: new file.
14468 Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14470 Patches to fix info building when target does not use sys
14472 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
14473 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
14475 * libc/sys/Makefile.in (doc): do nothing.
14477 Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14479 * libc/Makefile.in (CRT0): new macro.
14480 (all): depend on $(CRT0) rather than crt0.o.
14482 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
14483 do not default crt0, instead, set crt0 and crt0_dir based on
14484 sys_dir and stub_dir.
14486 * Makefile.in (CRT0_DIR): new macro.
14487 (all): depend on $(CRT0) rather than crt0.o which may not exist.
14488 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
14490 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
14492 Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
14494 * testsuite/lib/libm.exp:
14495 added code to support compiling and linking of tests for
14496 libm.sac (paranoia to be added next) and processing the
14497 pass or failure of the tests.
14499 * testsuite/config/unix-libm.exp:
14500 platform specific proc's for dealing with compiler, linker
14501 and the way we execute and process the test results.
14503 * testsuite/libm.sac/execute.exp:
14504 generic framework for the sac tests. the config and lib
14505 expect code for specific platforms tie it all together.
14507 * testsuite/libm.sac/test_is.c:
14508 changed the output of the test to be consistant with the
14509 other tests. parsing of pass nad fail messages is now fixed.
14511 Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
14513 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
14514 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
14515 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
14516 #ifdef __cplusplus, surround by extern ""C { ... }.
14517 * libc/include/assert.h: Do *not* protect assert.h against
14518 multiple inclusion! Also, #undef it before #define, to allow
14520 * libc/include/stdio.h (getlogin, cuserid): Removed. These
14521 should be only in unistd.h.
14523 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
14524 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
14527 Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
14529 * libc/machine/sparc/Makefile.in: Must create a library, even
14532 Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14534 * configure.in: set machine_dir for m88k. edit crt0 definition
14537 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
14539 * libc/Makefile.in (all): also build crt0.o.
14541 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
14542 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
14545 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
14546 (all): reworked to build in place.
14547 (clean): remove lib.a
14548 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
14550 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
14551 (_start): key off edata rather than _start_bss.
14553 Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
14555 * libc/include/sys/unistd.h, libc/include/reent.h,
14556 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
14558 Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14560 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
14562 * Makefile.in (libc.a): break into two rules, one for libc.a and
14563 one for libc/libc.a. Force subdirs current before rebuilding
14565 (libm.a): break into two rules, one for libm.a and one for
14566 libm/libm.a. Force subdirs current before rebuilding library.
14568 * libc/Makefile.in (SUBLIBS): fix typo.
14570 * libc/sys/Makefile.in (all): force descent into subdirs, then
14571 rebuild library iff out of of date.
14573 Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14575 Rework so that library is built and then finished rather than
14576 being built on each invocation of make.
14578 * host/any (machine_dir, sys_dir, signal_dir): these are not
14579 shared and have been moved to their associated Makefile.in's.
14580 (AR_FLAGS): switch to qc which is faster.
14581 * configure.in: no longer assign machine_dir for m88k. set
14582 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
14583 stub_dir set, then add to configdirs. add comment about silly
14585 (configdirs): drop stub. It will be added only
14587 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
14588 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
14589 stub_lib, crt0): new variables for tailoring lower level
14590 makefiles. Assign accordingly and edit into makefiles.
14591 * libm/Makefile.in: updated copyright.
14592 (TARGETLIB): removed.
14593 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
14594 (SUBDIRS): removed TARGETDEP_DIRS.
14595 (LIBM_FP_LIB, SUBLIBS): new macros.
14597 (force): new target to force rebuilds.
14598 (Makefile): call $(SHELL) rather than sh. drop redundant ./
14599 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
14600 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
14601 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
14602 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
14603 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
14604 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
14605 stub/m68kmvme/Makefile.in: updated copyright.
14606 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
14607 (all): reworked. made this the default rule.
14608 (clean): also remove lib.a.
14609 (Makefile): call $(SHELL) rather than sh. drop redundant ./
14610 * stub/Makefile.in: updated copyright.
14611 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
14612 (stub_lib): new macro.
14613 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
14616 (clean, install): assume stub_dir exists.
14617 (Makefile): depend on configure.in. call $(SHELL) rather than
14618 sh. drop redundant ./
14619 * stub/configure.in (stublib): new macro, assign it, edit it into
14621 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
14624 (Makefile): call $(SHELL) rather than sh. drop redundant ./
14625 * libc/Makefile.in (TARGETCRT0): removed.
14626 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
14628 (SUBDIRS): drop TARGETDEP_DIRS.
14629 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
14630 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
14631 (force): new target to force rebuilds.
14632 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
14633 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
14635 (clean): assume sys_dir always exists.
14636 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
14638 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
14639 libc/locale/Makefile.in, libc/machine/Makefile.in,
14640 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
14641 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
14642 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
14643 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
14644 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
14645 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
14646 libc/signal/Makefile.in, libc/stdio/Makefile.in,
14647 libc/stdlib/Makefile.in, libc/string/Makefile.in,
14648 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
14649 libc/time/Makefile.in, libc/unix/Makefile.in,
14650 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
14651 (TARGETLIB): removed.
14653 (clean): also remove lib.a.
14654 (Makefile): call $(SHELL) rather than sh. drop redundant ./
14655 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
14657 (SUBDIRS): moved to follow frag inclusion, change stub to
14659 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
14660 are now set in the libc Makefile.
14661 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
14662 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
14664 (force): new target to force rebuilds.
14665 * stub/configure.in: determine and set stub_lib for for Makefile.
14667 Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
14669 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
14670 crt0.s renamed to crt0.S.
14671 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
14673 * libc/machine/h8300/Makefile.in: Make `all' the default target.
14674 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
14676 * libc/machine/h8300/defines.h: Add macros to handle pointers for
14677 h8300 (16 bits) and h8300h (32 bits).
14678 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
14679 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
14681 Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
14683 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
14684 implementation of setjmp and longjmp for the m88k.
14685 * libc/include/machine/setjmp.h: Added __m88000__ case.
14687 Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
14689 * configure.in: Recognize h8300h as variant of h8300.
14691 Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
14693 * libc/include/sys/unistd.h (read, write): get prototypes right.
14694 (sbrk): New prototype.
14695 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
14696 * libc/stdio/local.h: Include unistd.h.
14697 * libc/machine/h8300/syscalls.c: Names have changed.
14699 Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
14701 * configure.in: add sys_dir assignment for m88k-bug.
14703 Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
14705 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
14707 * libc/sys/sparc64: all *.S files: Use new macros.
14708 * libc/sys/sparc64/isatty.c: New file.
14709 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
14710 functions beyond what newlib provides.
14712 Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
14714 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
14717 Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
14719 * libc/include/machine/ieeefp.h: Add support for h8/300h.
14721 Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
14723 * configure.in: add m88k.
14724 * libc/include/machine/ieeefp.h: add case for m88k. Also add
14725 sanity check so no one else need ever chase what I did to find
14728 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
14730 Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
14732 * doc/makedoc.c: Include <ctype.h>.
14734 Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
14736 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
14737 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
14738 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
14740 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
14742 Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
14744 * libc/include/errno.h (ENOSYS): Added.
14746 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
14748 Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
14750 * libc/stdio/fflush.c (fflush): Check for reent struct
14752 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
14754 Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
14756 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
14757 out of dtoa.c so it doesn't pollute the namespace.
14758 * libc/include/_syslist.h: new file -- mappings from _function to
14759 function, for systems where we can't win (by default, all of them,
14760 until we start updating system calls.)
14761 * libc/syscalls: new directory -- stubs for exporting _function
14762 names as unmodified function names.
14763 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
14764 _syslist.h on all platforms by default, but put hooks in for
14765 fake_sys_dir so we can include it when we've renamed the system
14767 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
14768 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
14769 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
14770 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
14771 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
14772 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
14773 non ANSI functions to call _function.
14775 Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
14777 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
14778 when base 16 is specified. Don't accept non-digits if radix > 10.
14780 Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
14782 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
14784 Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
14786 * libc/include/sys/stat.h: Surround text after #endif with
14789 Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
14791 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
14792 _malloc_r, _realloc_r, and free_r call the corresponding
14793 non-reentrant functions.
14795 * libm/math/modf.c (modf): We now take the address of ipart, so
14796 don't make it a register variable.
14798 Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
14800 * libm/math/*: Rename all xxx_r fns to _xxx_r.
14802 Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
14804 * libc/libc.texinfo and embedded docn throughout: formatting
14805 improvements, minor rephrasing for clarity, and improved
14808 Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
14810 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
14812 * libc/stdio/cvt.c (_licvt): Print the right value on machines
14813 where sizeof(int) != sizeof(long).
14815 Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
14817 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
14818 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
14819 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
14820 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
14821 libm/math/matherr.c: changes for better docn formatting (info).
14823 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
14824 libc/reent/reent.tex, libc/signal/signal.tex,
14825 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
14826 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
14827 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
14828 makeinfo node defaulting to get better Info file node structure.
14829 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
14830 Also include a few formerly missing sections (subroutines).
14832 * doc/doc.str: delete fossil expansion for "func"
14834 * default.menu, no-signal.menu: delete.
14836 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
14837 method used to adjust doc for missing "signals" chapter when
14838 signal_dir is empty.
14840 Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
14842 * configure.in: added testsuite/libm.sac
14844 Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
14846 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
14849 Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
14851 * libm/Makefile.in: Use $(MAKE) rather than make, and define
14852 MAKEOVERRIDES to be empty.
14854 Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
14856 * configure.in: Don't build mips-*-* with -msoft-float, since that
14857 makes it incompatible with hard floating point.
14859 Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
14861 * Makefile.in: added recursive 'make check'
14863 Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
14865 * configure.in: added ./testsuite ./testsuite/libm.paranoia
14866 * ./testsuite/Makefile.in: created
14867 * ./testsuite/libm.paranoia: paranoia tests added
14869 Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
14871 * configure.in: For mips-*-* set machine_dir to mips.
14873 * libc/machine/mips: New directory.
14874 * libc/machine/mips/Makefile.in: New file.
14875 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
14876 setjmp and longjmp.
14877 * libc/include/machine/setjmp.h: Added __mips__ case.
14879 * libc/machine/lmips: Removed unused and useless directory.
14881 Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
14883 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
14885 Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
14887 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
14890 Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
14892 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
14895 Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
14897 * libm/test/convert.c: structure member errno -> errno_val.
14898 Must include <errno.h> to use errno, it's a macro now.
14899 * libm/test/math.c: Ditto.
14900 * libm/test/math2.c: Include errno.h.
14901 * libm/test/string.c: Ditto.
14902 * libm/test/test.h: structure member errno -> errno_val.
14903 Remove extern int errno decl.
14905 Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
14907 * libc/stdio/Makefile.in: Added dependencies on local header
14909 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
14912 Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
14914 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
14916 Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
14918 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
14921 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
14922 * libc/stdio/local.h: Add prototype for _licvt.
14924 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
14925 instead of malloc,reealloc.
14927 * libc/stdlib/local.h: New file.
14928 * libc/stdlib/efgcvt.c: #include local.h.
14929 (gcvt): Fix call to _gcvt.
14930 * libc/stdlib/ecvtbuf.c: #include local.h.
14932 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
14933 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
14934 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
14936 * libc/stdlib/atexit.c: moved global data to struct _reent.
14937 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
14939 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
14941 Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
14943 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
14944 here from ../reent.h.
14946 Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
14948 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
14949 should be provided in both libc.a and libm.a.
14950 (libc.a): Depend on targ-include and libm.a. Copy
14951 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
14952 (libm.a): Depend on targ-include.
14953 * configure.in (subdirs): Removed libc/math.
14955 Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
14957 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
14959 Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
14961 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
14962 sys/reent.h instead of reent.h.
14963 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
14964 headers moved to sys/reent.h.
14965 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
14966 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
14967 __need__MAX_SIGNALS defined.
14968 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
14969 std{in,out,err} refer to new _std{in,out,err} members.
14971 Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
14973 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
14976 Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
14978 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
14979 rather than whatever macro seterrno() has.
14981 Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
14983 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
14984 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
14986 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
14989 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
14990 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
14991 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
14993 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
14994 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
14996 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
14997 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
14998 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
14999 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
15000 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
15001 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
15002 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
15003 renamed to _xxx_r. struct reent_struct renamed to struct _reent
15004 for ANSI. structure members given leading "_" for ANSI. Use
15005 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
15007 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
15008 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
15009 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
15010 reent_struct renamed to struct _reent for ANSI.
15011 Structure members given leading "_" for ANSI.
15012 _CONST --> const in prototypes.
15013 Use _HAVE_STDC instead of __STDC__.
15015 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
15017 struct reent_struct renamed to struct _reent for ANSI.
15018 Structure members given leading "_" for ANSI.
15020 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
15022 struct reent_struct renamed to struct _reent for ANSI.
15024 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
15025 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
15026 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
15027 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
15028 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
15030 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
15031 signal.h, stdio.h, stdlib.h, string.h, time.h}:
15032 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
15033 #ifndef _STRICT_ANSI non-ANSI routines.
15034 Reentrant routines renamed from _r_xxx to _xxx_r.
15035 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
15036 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
15037 Clean up namespace (structure members have leading "_").
15038 struct reent_struct renamed to struct _reent for ANSI compliance.
15039 _CONST --> const in function prototypes.
15041 * libc/include/string.h: Add NULL and size_t.
15043 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
15044 unlink, wait, wait4. Reentrant syscall routines close, fork,
15045 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
15047 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
15048 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
15049 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
15050 write.S}: Define reentrant versions.
15051 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
15052 reentrant syscalls.
15054 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
15056 * libc/include/stdlib.h (RAND_MAX): Fix value.
15058 Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
15060 * libc/sys/a29khif/_main.c: Removed unnecessary file.
15061 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
15062 VPATH support targets after all: target.
15064 * stub/mvme135/mvme.S: Renamed exceptionhandler to
15065 exceptionHandler, which is what mvme135-stub.c expects.
15067 Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
15069 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
15071 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
15072 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
15075 Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
15077 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
15079 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
15081 libc/reent/fstatr.c (_r_fstat): Ditto.
15082 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
15083 libc/reent/sbrkr.c (_r_sbrk): Ditto.
15084 libc/reent/statr.c (_r_stat): Ditto.
15086 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
15087 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
15088 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
15089 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
15090 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
15091 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
15092 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
15093 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
15094 (__swrite): Ditto for _r_lseek, _r_write.
15095 (__sseek): Ditto for _r_lseek.
15096 (__close): Ditto for _r_close.
15097 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
15099 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
15100 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
15102 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
15103 to make reent_struct the first argument (and thus consistent with
15104 the rest of newlib).
15106 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
15107 reference to __STDC__.
15109 Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
15111 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
15114 Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
15116 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
15118 libc/stdio/fclose.c (fclose): Ditto.
15120 Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
15122 * Run through indent and rename reentrant routines for ANSI.
15123 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
15124 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
15125 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
15126 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
15127 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
15128 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
15129 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
15130 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
15131 vsprintf.c wbuf.c wsetup.c local.h}
15133 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
15135 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
15136 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
15137 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
15138 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
15139 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
15140 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
15142 * Run through indent.
15143 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
15144 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
15145 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
15146 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
15149 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
15150 localtime.c mktime.c strftime.c time.c}:
15151 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
15153 * Reformatting + renaming (for ANSI, GNU style, consistency).
15154 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
15155 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
15156 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
15158 Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
15160 * libc/include/stdio.h (stdin_r): Fix.
15162 Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
15164 * Makefile.in: Unexport some variables to keep GNU make from
15165 putting them in the environment and using up needed ARG_MAX space
15166 (a hack is used to let this work with older makes as well).
15168 Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
15170 * Makefile.in: Use $(MAKE) rather than make.
15171 (MAKEOVERRIDES): Define to be empty.
15172 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
15173 (libc.a, libm.a): Depend on targ-include.
15174 * host/any (LD): Don't define.
15175 (INCLUDES): Use targ-include.
15176 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
15177 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
15178 * libc/Makefile.in: Use $(MAKE) rather than make.
15179 (MAKEOVERRIDES): Define to be empty.
15180 (FLAGS_TO_PASS): Don't pass LD (it's not used).
15181 (all): Rewrote to be slightly smaller.
15182 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
15183 Define to be empty.
15184 (FLAGS_TO_PASS): Don't pass LD (it's not used).
15185 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
15187 Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
15189 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
15190 with errno/errno.c.
15192 Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
15194 * Changes for reentrancy.
15195 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
15196 Use ptr->_errno, not errno.
15197 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
15198 libc/stdio/remove.c (remove_r): New function.
15199 libc/stdio/rename.c (rename_r): New function.
15200 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
15201 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
15202 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
15203 reentrant versions of system calls.
15204 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
15205 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
15206 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
15207 libc/stdio/findfp.c: Include <string.h>.
15208 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
15210 libc/stdio/wbuf.c: Include "fvwrite.h"
15212 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
15214 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
15215 (NULL): Don't define if already defined.
15216 libc/stdlib/system.c: Call reentrant versions of system calls.
15217 (system_r): New function.
15219 * Changes for reentrancy.
15220 libc/include/_ansi.h (_PARAMS): New macro.
15221 libc/include/errno.h: Define errno as a macro that calls __errno.
15222 (__errno_r): New macro for reentrant code.
15223 libc/include/math.h: Include reent.h. Declare many reentrant
15225 (signgam): Now a macro, not a variable.
15226 (struct exception): Added err field.
15227 libc/include/reent.h: Don't declare __sglue. Added function
15229 (struct reent_struct): Moved errno to beginning. Added _signgam.
15230 libc/include/stdio.h, libc/include/stdlib.h: Added function
15233 * More reentrancy hacking.
15234 libc/errno/errno.c (__errno): New function.
15235 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
15236 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
15239 * Added many new reentrant functions to libm/math/*.
15240 libm/math/error.c (__matherror): Added reent_struct pointer
15241 argument. Changed all callers.
15242 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
15243 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
15244 libm/math/tan.h: Removed obsolete unused header files.
15246 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
15248 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
15250 Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
15252 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
15255 Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
15257 * libc/libc.texinfo: comment out reentrancy chapter (duh)
15259 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
15261 * libc/reent/reent.tex: New file. (text from
15262 newlib/libc/libc.texinfo)
15263 * libc/stdio/tmpnam.c: fixed doc typo
15264 * libc/stdlib/rand.c: fixed doc typo
15266 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
15268 * libc/reent/reent.tex: New file. (text from
15269 newlib/libc/libc.texinfo)
15271 Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
15273 support for reentrancy
15274 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
15276 * libc/errno/errno.c, libc/include/ieeefp.h,
15277 libc/include/locale.h, libc/include/reent.h,
15278 libc/include/signal.h, libc/include/stdio.h,
15279 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
15280 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
15281 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
15282 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
15283 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
15284 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
15285 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
15286 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
15287 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
15288 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
15289 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
15290 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
15291 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
15292 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
15293 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
15294 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
15295 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
15296 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
15297 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
15298 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
15299 libc/time/strftime.c: modify to provide reentracy.
15302 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
15303 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
15304 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
15305 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
15306 mstats_r, realloc_r, localeconv_r, setlocale_r
15308 Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
15310 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
15311 libc/include/sys/config.h, libc/include/sys/signal.h,
15312 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
15313 provided macros (such as m68000), use the ansi version
15314 (__m68000__) so that the library can be used with code compiled
15315 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
15318 Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
15320 * configure.in (sparc*): Don't set -fsoft-float for sparc
15321 configurations. Do set -fsoft-float for sparclite configurations.
15323 Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
15325 * default.menu, no-signal.menu: alternate forms of libc main menu
15326 (in newlib rather than newlib/libc due to configuration restrictions)
15328 * configure.in: select one of the two menus above, link to
15331 * libc/libc.texinfo: include menu from separate file
15333 Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
15335 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
15336 (info): Split long shell command in half.
15337 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
15338 sub-makes, just CHEW and TARGETDOC.
15339 (targetdep.tex): Removed now special handling of sys and machine
15340 subdirectories, made obsolete some time ago.
15341 * libc/machine/Makefile.in (doc): Don't pass everything to
15342 sub-make, just CHEW and TARGETDOC.
15343 (Makefile): New target.
15344 * libc/sys/Makefile.in (Makefile): New target.
15346 Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
15348 * Makefile.in (here and most subdirectories): Only pass down CHEW
15349 and TARGETDOC when making info, not for other targets.
15351 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
15352 $(AR_FLAGS) rather than $(ARUPDATE).
15354 Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
15356 * Try to reduce command line length:
15357 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
15358 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
15359 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
15360 (info): Pass CHEW to other subdirs.
15362 Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
15364 * configure.in: add signal_dir, like unix_dir, but by default it
15365 is set to "signal" so that a29khif can turn it off (since a29khif
15366 has raise() as part of machine-specific signal.s.)
15368 Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
15370 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
15371 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
15373 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
15374 libc/stdio/vfprintf: type lint.
15375 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
15376 initialzation code.
15377 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
15379 Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
15381 * stub/mvme135/mvme135-asm.S: new file.
15382 stub/mvme135mvme135-stub.c: moved all assembler routines into
15384 stub/mvme135/Makefile.in: build mvme135-stub.o.
15386 Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
15388 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
15389 sub-Makefiles instead, to try to avoid line length limitations.
15391 Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
15393 * libc/include/unistd.h (read, write): Use void* instead of
15396 Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
15398 * stub/go32/resetpc: sample script to send a reset packet to the
15401 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
15402 DOS environment, which compiles with Turbo C.
15404 * stub/go32/DSER32.LNK: new file, linker commands for serial
15407 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
15408 start up message to identify version; call set_debug_traps.
15410 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
15411 keyboard interaction); call handle_exception() in go_til_stop,
15412 rather than return, so that the remote stub gets control.
15414 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
15415 rename, rather than mv), set flags that work with current Turbo C,
15416 including using the /3 flag; also, add commands to build dser32.
15418 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
15419 default Turbo C installation (\tc rather than \usr)
15421 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
15424 Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15426 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
15428 Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15430 * libc/stdio/cvt.c (licvt): new function to convert ints when
15431 sizeof(int) != sizeof(long).
15433 * libc/include/stdio.h: added prototype for iprintf.
15434 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
15436 Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
15438 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
15439 __REGISTER_PREFIX__.
15441 Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
15443 * libc/sys/m68kbare: moved into stub directory.
15445 Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
15447 * configure.in, Makefile.in: created new directory stub, to hold
15448 sample code for specific targets.
15450 Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
15452 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
15453 in the unified libc/include/sys/fcntl.h.
15455 Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
15457 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
15458 printed .01, not 0.01.
15460 Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
15462 * configure.in: compile with -m68000 for m68* targets.
15464 Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
15466 * libm/math/remainder.c (remainder): document the svr4 and sunos
15467 references used to construct the function.
15469 Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
15471 * libm/math/remainder.c (rint, remainder): fix old typos.
15472 * libm/math/Makefile.in: actually build remainder.c (functions
15473 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
15476 Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
15478 * libc/string/bcopy.c: BSD version works on overlapping strings,
15479 so ours should too.
15481 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
15484 Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
15486 * Makefile.in (docs): new target.
15488 Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
15490 * libc/include/sys/times.h: define clock_t as required by POSIX.
15491 libc/include/time.h: protect clock_t from multiple definitions.
15493 Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
15495 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
15496 does not need more than the original three iterations to get
15497 within 1 ulp. (Paranoia tests for rounding to better than that,
15498 but further iterations *don't* help, only more subtle changes
15501 Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
15503 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
15504 were doing nothing useful.
15506 Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
15508 * configure.in: define MALLOC_PROVIDED for vxworks targets;
15509 removed sys_dir settings of vxworks68 and vxworks960.
15510 host/any: don't pass -nostdinc to gcc, since newlib no longer
15511 provides all required header files.
15513 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
15514 is not defined; this provides a hook for VxWorks.
15516 Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
15518 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
15519 buffer if buf is NULL, don't do it here -- it is already being
15520 done by makebuf elsewhere in stdio.
15522 Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
15524 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
15525 that C programs can call functions without using initial
15528 Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
15530 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
15532 Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
15534 * configure.in: set TARGET_CFLAGS for certain CPU types to
15537 Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
15539 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
15541 Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
15543 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
15544 m68k*-unknown-coff.
15546 Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
15548 * libc/include/stdio.h: define __need___va_list before including
15549 <stdarg.h>, to avoid defining va_arg, et. al.
15551 Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
15553 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
15554 (don't cd to the user's home directory).
15556 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
15557 In general this is the wrong thing to do, but I can't get around
15558 GNU make's insistence on passing command line arguments any other
15561 Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
15563 * configure.in: always configure the libc/sys directory, since it
15564 now provides a required documentation file.
15566 * Makefile.in: replaced all instances of $(MAKE) with make. In
15567 general this is the wrong thing to do, but I can't get around GNU
15568 make's insistence on passing command line arguments any other way.
15570 Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
15572 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
15575 * libc/stdio/local.h: include <stdarg.h> to define va_list.
15576 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
15578 * libc/include/float.h, libc/include/stdarg.h,
15579 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
15581 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
15582 <stdarg.h>, not from <machine/types.h>. Protect definition of
15584 libc/include/time.h: get size_t from stddef.h. Protect definition
15586 libc/include/machine/limits.h: override gcc <limits.h> by defining
15587 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
15588 get correct INT_MIN and LONG_LONG values.
15589 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
15590 size_t or va_list at all; they're now gotten from stddef.h
15592 libc/include/machine/varargs.h: removed; use gcc version instead.
15593 libc/include/sys/types.h: explicitly include <machine/types.h>.
15595 * libm/math/sqrt.h: using the fp-bit routines appears to require
15598 * Makefile.in, host/any: let system include files override machine
15601 Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
15603 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
15604 override _*_T_ definitions defaulted here.
15606 Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
15608 * Makefile.in (install): install the include files in
15609 $(tooldir)/include, not $(exec_prefix)/include.
15611 Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
15613 * Makefile.in (install): fixed typo, and changed install to not
15614 force rebuild of libc.a and libm.a.
15616 Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
15618 * libc/sys/a29khif/*: Changed all .include's to include
15619 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
15620 that they will be installed for the user.
15622 * Makefile.in (all): create targ-include, a directory holding the
15623 machine and system specific header files during the build.
15624 (install): fixed installation of machine and system specific
15627 * Makefile.in: fixed comment.
15628 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
15629 we can pass $(INCLUDES) to it.
15631 Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
15633 * libc/include/sys/param.h: new generic file, which may be
15634 overridden for specific systems.
15636 * libc/include/sys/signal.h: define all ANSI signal names, and
15637 NSIG (which is not ANSI) for a29k.
15639 Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
15641 * Makefile.in: don't pass down arguments the lower level makes
15643 * libc/Makefile.in: recurse directly, rather than using subdir_do,
15644 in hopes of avoiding argument length limits.
15645 * libm/Makefile.in: recurse directly, rather using subdir_do, in
15646 hopes of avoiding argument length limits.
15648 Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
15650 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
15653 Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
15655 * Fixed make info and make install-info for newlib, changing most
15656 Makefile.in and several *.tex files. Moved doc directory from
15659 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
15660 Should be rewritten.
15662 * libc/string/strings.tex: renamed node index to node index
15663 function, so that it does not conflict with the top level index
15666 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
15668 Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
15670 * Overhauled general configuration for newlib. Eliminated all
15671 target dependent Makefile fragments. Create libraries in newlib
15672 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
15673 than CROSS_CC, et. al. Broke make docs; will fix later.
15675 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
15676 Should be rewritten.
15678 Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
15680 * libc/configure.in: cleaned up somewhat; switch on ${target}
15681 rather than ${target_alias}.
15682 * libm/configure.in: cleaned up somewhat; switch on ${target}
15683 rather than ${target_alias}.
15685 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
15686 * libc/include/ctype.h: marked _ctype_ as _CONST.
15688 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
15691 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
15692 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
15693 libc/stdio/gets.c (gets): removed non-ANSI warning message.
15694 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
15696 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
15697 bigtens, tinytens): marked arrays _CONST.
15698 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
15699 rather than a static variable.
15701 * libc/time/asctime.c (asctime), libc/time/localtime.c
15702 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
15703 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
15704 mname_len, mname): Marked static arrays _CONST.
15706 * libm/math/gamma.h: made local variables non-static.
15708 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
15709 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
15712 * libm/math/constants.c: removed file, because the constants it
15713 defined were never referenced.
15714 libm/math/Makefile.in: removed references to constants.c.
15715 libm/math/mathimpl.h: removed declarations of constants.
15717 Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
15719 * libc/include/machine/varargs.h: only call __builtin_saveregs if
15720 it is sensibly defined in libgcc2. Checks preprocessor defines,
15721 which is not a good solution.
15723 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
15725 * libm/frexp.c: handle denormalized numbers as arguments.
15727 * libm/math/Makefile.in: added some dependencies for .c files
15728 which include local .h files.
15730 Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
15732 * libc/configure.in: set target_alias for OSE*. Replace
15733 target_makefile_frag if it is blank.
15735 * libc/Makefile.in: make sure everything is passed to subsidiary
15736 makes; create all directories when installing.
15738 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
15739 CROSS_ARUPDATE instead of AR.
15741 * libm/configure.in: set target_alias for OSE*. Replace
15742 target_makefile_frag if it is blank.
15744 * libm/Makefile.in: make sure everything is passed to subsidiary
15745 makes; create all directories when installing.
15747 Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
15749 * add following change from libc copy.
15751 Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15753 * libc/libc.texinfo: make copyright disclaimers appear on back of
15754 title page; make format of same slightly less ugly; avoid using
15755 underbars in section headings (avoids nasty texinfo bug in table
15758 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
15759 comments only) avoid using underbars in section headings
15761 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
15762 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
15763 changes in comments only): shorten headings ieeefp/infinity.c,
15764 ieeefp/isnan.c: (doc, comments only) more informative headings
15766 * libc/math/bessel.c: (doc, comments only) shorten heading
15768 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
15769 (doc, comments only) shorten headings
15771 * libc/time/localtime.c (doc, comments only): shorten headings
15773 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
15775 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
15776 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
15778 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
15779 only) more informative headings
15780 * libm/math/bessel.c: (doc, comments only) shorten heading
15782 Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
15784 * .../Makefile.in: use CROSS_ARUPDATE consistently.
15785 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
15786 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
15787 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
15788 defined, the one from the .mt file will be correct.
15789 * libc/include/machine, libc/include/sys: created, and populated
15790 with common files from machine/*/machine. ifdefs were used for
15791 most, typically by handling exceptions first and then filling in
15792 defaults. Files with D.J. Delorie copyright #included rather than
15793 copied. Most files in include/sys really were the same in the
15795 * libc/include/...: cleaned up use of _EXFUN.
15796 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
15797 it with double quotes, not angles.
15799 Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
15801 * libc/Makefile.in: always create installation directories.
15803 Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
15805 * libc/configure.in: handle host properly (using canonical
15806 triples), better error message for the case of target not found
15808 Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
15810 * libc/Makefile.in (insincdir): Ensure this directory exists
15811 before attempting installation.
15813 Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15815 * libc/stdlib/assert.c: now calls abort like it should
15816 * libc/sys/a29khif: many many patches for 29khif work
15817 * libc/machine/i386: gnulib2 expanded there.
15819 Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15821 Added accurate fp conversion routines to stdlib, moved dcvt from
15822 stdio to stdlib and called it ecvtbuf:
15823 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
15824 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
15826 * libc/libc.texinfo: Modifed to include the copyright info from
15828 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
15829 * libc/test/ : many vector which tested for the implementation
15830 defined returns of strange conversion requests have been updated
15831 to relflect the new implementation
15833 Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15835 * libc/libc.texinfo: new chapter on variable arg lists
15836 (stdarg.h/varargs.h)
15837 * libc/libc.texinfo: new title
15838 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
15839 (doc only) shorter headings for better formatting.
15841 Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15843 * libc/libc.texinfo: three more info menu entries
15844 * libc/locale/locale.tex: new chapter
15845 * libc/locale/locale.c: new doc for setlocale, localeconv
15846 * libc/locale/Makefile.in: use new locale doc
15847 * libc/signal/signal.tex: new chapter
15848 * libc/signal/raise.c, libc/signal/signal.c: new doc
15849 * libc/signal/Makefile.in: use new doc
15850 * libc/time/time.tex: new chapter
15851 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
15852 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
15853 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
15854 * libc/time/Makefile.in: use new doc
15856 Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15858 * libm/math/log1p.c: split to use the new function way of float
15859 function definition. math/log1p.h deleted
15860 * libm/math/scalb.c: obsolete and deleted
15861 * libm/math/scalbn.c: created from part log1p.c
15862 * libm/math/Makefile.in: know about log1p and scalbn
15864 Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15866 * libc/ctype/isupper.c: revise doc;
15867 libc/ctype/ctype.tex: use doc from isupper.c
15869 * libc/string/bzero.c: new doc
15871 Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15873 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
15875 * libc/stdlib/Makefile.in: extract new doc
15876 * libc/stdlib/stdlib.tex: use new doc
15878 * libc/string/strerror.c: expanded doc.
15880 * libc/stdio/Makefile.in: extract doc from more files
15881 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
15882 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
15883 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
15884 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
15885 libc/stdio/vsprintf.c: new doc
15886 * libc/stdio/stdio.tex: use new doc
15888 Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15890 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
15891 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
15893 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
15896 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
15897 * libc/stdio/setbuf.c: added ansi style definition.
15898 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
15899 buffer if none provided.
15900 * libc/stdio/tmpfile.c: lint
15901 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
15902 rather than using static, also make sure file isn't already
15903 present. Uses P_tmpdir. (tempnam): rewritten to use new
15904 subroutine, and uses P_tmpdir.
15905 * libc/stdio/siprintf.c: created
15907 Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15909 Release 1.03 for NEC, major mods. Main differences from release
15912 More tests in test/:
15913 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
15914 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
15915 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
15916 get/set mask, get/set sticky and get/set roundtoi. Tests
15917 that setting the bits changes the way arithmetic is done.
15918 * string.c: added test to make sure memcmp does it with unsigned
15920 * test.c: cleaned up and removed lint.
15921 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
15922 dvec.c: tests for string to value conversions, sprintf, scanf,
15923 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
15924 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
15925 rounding in sprintf too.
15926 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
15927 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
15928 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
15930 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
15934 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
15935 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
15936 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
15937 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
15938 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
15940 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
15941 * Method of producting float versions of double functions has
15942 changed, functions will be modified gradually. So far:
15943 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
15944 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
15946 * libc/string/memcmp.c: now uses unsigned chars
15947 * libc/string/bcmp.c, libc/string/strcpy.c,
15948 libc/stsring/strxfrm.c: fixed doc
15949 * libc/sys/sysvnecv70.tex: fix example of sbrk code
15952 version-control: never