aboutsummaryrefslogtreecommitdiff
path: root/newlib
AgeCommit message (Collapse)AuthorFilesLines
2001-10-17 Add __rtems__ as system defining fchdir().Corinna Vinschen2-2/+2
2001-10-17 * libc/include/sys/unistd.h: Add prototype for fchdir() whenCorinna Vinschen2-0/+8
__CYGWIN__ is defined.
2001-10-012001-10-01 Charles Wilson <cwilson@ece.gatech.edu>Jeff Johnston10-22/+325
* libc/include/stdlib.h: add declarations for _strtoull_r, _strtoll_r, strtoull, and strtoll. * libc/stdio/local.h: remove declarations of __strtoull_r and __strtoll_r. * libc/stdio/vfscanf.c(__svfscanf_r): call _strtoull_r instead of __strtoull_r. Ditto _strtoll_r vs. __strtoll_r. * libc/stdlib/Makefile.am: add new files to .c list and .def list * libc/stdlib/Makefile.in: regenerate * libc/stdlib/strtoll_r.c: rename __strtoll_r as _strtoll_r * libc/stdlib/strtoull_r.c: rename __strtoull_r as _strtoull_r * libc/stdlib/strtoull.c: new file * libc/stdlib/strtoll.c: new file
2001-09-18oops omitted in previous deltaNick Clifton1-14/+26
2001-09-17* libc/include/process.h: Add getpid() declaration.Christopher Faylor2-0/+5
2001-09-14oops - omitted from previous deltaNick Clifton1-0/+6
2001-09-132001-09-13 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston7-3/+319
* libc/stdlib/Makefile.am: Add support to build strtoll_r.c and strtoull_r.c. * libc/stdlib/Makefile.in: Regenerated. * libc/stdlib/strtoll_r.c: New file. * libc/stdlib/strtoull_r.c: New file. * libc/stdio/local.h: Add prototypes for long long string conversion routines. * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support tied to %L integer conversion specifier.
2001-09-13Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>Jeff Johnston2-2/+8
* strftime.c (strftime): Fix "%W" implementation to properly handle Mondays too.
2001-09-072001-09-07 Jeff Law <law@redhat.com>Jeff Johnston2-3/+8
* libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of __fini with "mov.l" instead of "mov.w".
2001-09-05 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.hCorinna Vinschen2-0/+14
and getopt.h.
2001-09-042001-09-04 Jason Merrill <jason_merrill@redhat.com>Jeff Johnston2-0/+22
* libc/sys/h8300hms/crt0.S: Support ELF initialization.
2001-09-03 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version numberCorinna Vinschen2-1/+10
field. (__DIRENT_VERSION): New define.
2001-09-03 Add missing ChangeLog entries.Corinna Vinschen1-0/+2
2001-09-03 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.Corinna Vinschen2-1/+8
2001-08-292001-08-29 Joel Sherrill <joel@OARcorp.com>Jeff Johnston18-3/+78
* libc/include/sys/unistd.h: Prototype chroot() for RTEMS. 2001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S, libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c, libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S, libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S, libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S, libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S, libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c, libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S: Add conditional compilation to avoid HW FPU instructions when compiled for soft-float.
2001-08-292001-08-29 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston3-4/+10
* Makefile.am: Add check for ln failing when creating libg.a so that cp gets used as a backup. * Makefile.in: Regenerated.
2001-08-292001-08-29 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston5-6/+36
* libc/include/sys/reent.h: Add include of <sys/_types.h>. No longer include time.h. Add struct __tm to use for _localtime_buf in the reentrant structure. Add a _NULL definition to use in initializing the reentrant struct. * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in <sys/_types.h>. * libc/include/sys/unistd.h: Include <sys/_types.h>. * libc/time/lcltime.c (localtime): Cast the reentrant struct _localtime_buf to be struct tm *.
2001-08-29 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.Joern Rennecke4-0/+25
* libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors / __ctors_end. * libc/sys/h8300hms/syscalls.c: Include errno.h. (_unlink): New stub function.
2001-08-26* libc/include/sys/errno.h: Add a cautionary comment.Christopher Faylor2-0/+6
2001-08-212001-08-21 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-1/+6
* libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional for SIZE_SZ so that alignment ends up a minimum of 8.
2001-08-14* libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro arguments.Christopher Faylor3-4/+20
* libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under Cygwin.
2001-08-132001-08-13 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-0/+20
* libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New macro constants for mallopt options. (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
2001-08-022001-08-02 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-1/+11
* libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided, otherwise default.
2001-07-132001-07-12 Aldy Hernandez <aldyh@redhat.com>Aldy Hernandez2-2/+4
* libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
2001-06-28Handle ARMs with big endian IEEE words but little endian IEEE bytesNick Clifton3-3/+13
2001-06-112001-06-11 Danny Smith <dannysmith@users.sourceforge.net>Jeff Johnston2-0/+6
* /libc/include/ctype.h (is* and to* macros): Do not define if C++.
2001-06-112001-06-11 Egor Duda <deo@logos-m.ru>Jeff Johnston2-16/+71
* libc/ctype/ctype_.c: When compiled with gcc on platforms with signed char, make _ctype_[-128] ... _ctype[-1] refer to initialized memory region. Platform can define COMPACT_CTYPE to avoid allocation of the additional 128 bytes of data. Add pointer to _ctype_ array. Always initialize all _ctype_ array elements.
2001-06-11 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencingJonathan Larmour2-2/+9
NULL pointer.
2001-05-28Handle printf ("%#.0o",0);Nick Clifton2-0/+16
2001-05-25Fix bug when both pointers have matching, non-word alignment, and the lengthNick Clifton2-85/+95
is <= 4 but more than enough to move them over a word boundary. Add comments explaining what each instruction does.
2001-05-08Fix typo.Christopher Faylor1-1/+1
2001-05-08* libc/include/sys/stat.h: Revert March 3, Cygwin change.Christopher Faylor3-20/+6
* libc/include/sys/Ditto.h: Ditto.
2001-05-042001-05-04 Earnie Boyd <earnie@users.sourceforge.net>Jeff Johnston2-8/+10
* libc/string/strrchr.c: Use strchr for the speed improvements.
2001-05-012001-05-01 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-0/+15
* libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have real file systems, let __smakebuf() determine if line buffering should be used for stdout.
2001-04-272001-04-27 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-1/+5
* libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
2001-04-272001-04-27 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-0/+5
* libc/include/stdlib.h: Add prototype for _strtod_r.
2001-04-242001-04-24 Charles Wilson <cwilson@ece.gatech.eduJeff Johnston4-25/+45
* libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN * libc/stdio/vprintf.c (_vprintf_r): new function * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use _DEFUN, and call _vfprintf_r, not vfprintf. * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use _DEFUN, and call _vfprintf_r, not vfprintf.
2001-04-22* libc/include/sys/unistd.h [X_OK]: Use better protection against Cygwin X_OKChristopher Faylor2-6/+12
definitions in sys/file.h.
2001-04-21* libc/include/sys/time.h: Define timercmp and other macros for __CYGWIN__,Christopher Faylor2-2/+7
too.
2001-04-212001-04-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston113-1596/+2888
* acinclude.m4: Added --enable-malloc-debugging configure flag. * configure.host: For Cygwin specify -DMALLOC_PROVIDED if --enable-malloc-debugging selected. * aclocal.m4 configure: Regenerated. libm/aclocal.m4 libm/configure: Ditto. * libc/aclocal.m4 libc/configure: Ditto. * libc/machine/aclocal.m4 libc/machine/configure: Ditto. * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto. * libc/sys/aclocal.m4 libc/sys/configure: Ditto. * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto. * doc/aclocal.m4 doc/configure: Ditto.
2001-04-202001-04-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston13-50/+434
* libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together into one list. [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list. (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New function prototypes. (_fscanf_r, _sscanf_r): Ditto. * libc/include/stdlib.h: Added _strtod_r prototype. * libc/stdio/Makefile.am: Add new v*scanf functions. * libc/stdio/Makefile.in: Regenerate. * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r. * libc/stdio/scanf.c: Changed to call __svfscanf_r. * libc/stdio/sscanf.c: Changed documentation to add reentrant routines. (sscanf): Changed to call __svfscanf_r with _REENT argument. (_sscanf_r): New routine. * libc/stdio/local.h: Removed __svfscanf prototype and replaced it with __svfscanf_r prototype. * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New routines. (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy structure as argument as calls reentrant versions of helper functions (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof to _strtol_r and _strtod_r respectively. * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r. * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with _REENT argument. * libc/stdio/vscanf.c: New file. * libc/stdio/vsscanf.c: Ditto.
2001-04-192001-04-19 Robert Collins <rbtcollins@hotmail.com>Jeff Johnston2-1/+20
* include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined. Define daylight to _daylight if it is not defined Prepare a variable export of timezone based on timezonevariable. (Cannot be used with the timezone() function.)
2001-04-172001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>Jeff Johnston2-3/+8
* newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi): Correct the numerical values.
2001-04-13* libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).Christopher Faylor2-0/+7
2001-04-12 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clashCorinna Vinschen2-0/+6
on case insensitve file systems.
2001-04-12* libc/include/sys/features.h: Add appropriate defines for Cygwin pthreadChristopher Faylor4-4/+28
support. * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection. * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads types. Include <cygwin/types.h> for the cygwin specific typedefs.
2001-04-04 * libc/include/machine/ieeefp.h: Comment about new configurationRichard Sandiford41-166/+306
macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS. * libm/common/fdlib.h: Define new macros for testing floats. * libm/common/sf_*: Use them. * libm/math/ef_*: Likewise. * libm/math/sf_*: Likewise.
2001-03-302001-03-29 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-0/+6
* libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode prolog to by-pass possible assembler error.
2001-03-212001-03-21 Egor Duda <deo@logos-m.ru>Jeff Johnston3-4/+24
Allow building internal stubs for non-reentrant syscalls if target provides its own malloc * libc/reent/reent.c (errno): Move definition here. * libc/reent/sbrkr.c: From here.
2001-03-20* libc/include/sys/types.h (BSD int typedefs): Guard with _BSDTYPES_DEFINEDChristopher Faylor3-9/+25
rather than _WINSOCK_H. (fd_set): Add !defined __USE_W32_SOCKETS to guard; define _SYS_TYPES_FD_SET. * libc/include/sys/unistd.h (gethostname): Don't declare if defined (_WINSOCK_H) || defined (__USE_W32_SOCKETS).