summaryrefslogtreecommitdiffstats
path: root/newlib
Commit message (Collapse)AuthorAgeFilesLines
* * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).Christopher Faylor2001-04-132-0/+7
|
* * libc/include/sys/errno.h: Add ECASECLASH to indicate case clashCorinna Vinschen2001-04-122-0/+6
| | | | on case insensitve file systems.
* * libc/include/sys/features.h: Add appropriate defines for Cygwin pthreadChristopher Faylor2001-04-124-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.
* * libc/include/machine/ieeefp.h: Comment about new configurationRichard Sandiford2001-04-0441-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-29 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-03-302-0/+6
| | | | | * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode prolog to by-pass possible assembler error.
* 2001-03-21 Egor Duda <deo@logos-m.ru>Jeff Johnston2001-03-213-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.
* * libc/include/sys/types.h (BSD int typedefs): Guard with _BSDTYPES_DEFINEDChristopher Faylor2001-03-203-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).
* * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS andCorinna Vinschen2001-03-192-0/+11
| | | | _PC_POSIX_SECURITY constants for Cygwin.
* * libc/sys/cygwin/crt0.c: Add copyright hint.Corinna Vinschen2001-03-146-1/+46
| | | | | | | * libc/sys/cygwin/sys/dirent.h: Ditto. * libc/sys/cygwin/sys/param.h: Ditto. * libc/sys/cygwin/sys/utime.h: Ditto. * libc/sys/cygwin/sys/utmp.h: Ditto.
* * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make itAlexandre Oliva2001-03-132-0/+11
| | | | equivalent to LONGINT.
* 2001-03-07 Richard Sandiford <rsandifo@redhat.com>Jeff Johnston2001-03-083-4/+85
| | | | | | * (libc/include/machine/setjmp.h): Use 23 DI-mode ints for a jmpbuf on MIPS64 targets. * (libc/machine/mips/setjmp.S): Add MIPS64 version.
* * libc/include/sys/config.h: Use ssize_t for read/write declarations.Christopher Faylor2001-03-072-0/+5
|
* Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>Jeff Johnston2001-03-069-23/+33
| | | | | | | | | | | | * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define. For RTEMS, define to be ssize_t. Default to int if not defined. * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE. * libc/stdio/stdio.c (__sread, __swrite): Likewise. * libc/stdio/local.h (__sread, __swrite): Likewise. * libc/include/sys/reent.h (_read, _write): Likewise. * libc/include/sys/unistd.h (read, write, _read, _write): Likewise. * libc/syscalls/sysread.c (read): Likewise. * libc/syscalls/syswrite.c (write): Likewise.
* 2001-03-05 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-03-052-3/+7
| | | | * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
* * libc/include/sys/stat.h: Use special defines for executable stat bits whenChristopher Faylor2001-03-053-7/+31
| | | | | | compiling for Cygwin. * libc/include/sys/unistd.h: Use special define for X_OK when compiling for Cygwin.
* 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-03-022-0/+7
| | | | | * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype of strtok_r is always defined.
* 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-03-022-0/+5
| | | | * libc/include/machine/ansi.h: New dummy header file.
* 2001-02-22 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-02-2298-259/+258
| | | | | | | | | | | | | | | | | | | | | | | | | | * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission, changed the copyright information to allow free modification of the file with no reference to "copying.dj". * libc/include/sys/stat-dj.h: Ditto. * libc/machine/i386/setjmp.S: Ditto. * libc/sys/h8300hms/sys/file.h: Ditto. * libc/sys/sysmec/access.c: Ditto. * libc/sys/sysnecv850/access.c: Ditto. * libc/stdio/mktemp.c: Fixed typo for the word copyright. * libc/stdlib/getenv_r.c: Ditto. * libc/stdlib/putenv_r.c: Ditto. * libc/stdlib/setenv_r.c: Ditto. * libc/stdlib/getenv.c: Removed DJ reference since any possible modifications will now be in the _r version of this file. * libc/stdlib/putenv.c: Ditto. * libc/stdlib/setenv.c: Ditto. * libc/sys/go32/copying.dj: Removed DJ's address which is no longer valid. Added a reference to DJ's web page that contains his address. * libc/sys/go32/*.s: Removed references to DJ's old address. * libc/sys/go32/*.c: Ditto. * libc/sys/go32/*.h: Ditto. * libc/sys/go32/*.S: Ditto. * libc/sys/go32/sys/*.h: Ditto.
* 2001-02-21 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-02-213-12/+19
| | | | | | | * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with HAVE_FCNTL flag check. * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64, powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
* * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.Christopher Faylor2001-02-152-1/+5
|
* 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>Jeff Johnston2001-02-1517-10/+653
| | | | | | | | | | | | | | | | | | | | | | | | | | * libc/include/stdlib.h: Add declarations of rand48 functions and their reentrant versions. * libc/include/sys/reent.h: Move macros from rand48.h. Add struct _rand48 for shared parameters of rand48 functions. (struct _reent): Add a variable _r48 of struct _rand48. (_REENT_INIT): Add _r48 initialization. * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions. (CHEWOUT_FILES): Add rand48.def. * libc/stdlib/Makefile.am: Add dependencies for rand48 functions. * libc/stdlib/Makefile.in: Regenerated. * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the NetBSD C library. * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto. * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto. * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto. * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto. * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto. * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto. * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto. * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto. * libc/stdlib/rand48.c (__dorand48): Ditto. * libc/stdlib/rand48.h: Ditto, and modify declarations of global parameters into macros referring them in the reentrant structure.
* 2001-02-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-02-122-4/+6
| | | | | * libc/include/sys/stat.h: Add mknod for Cygwin now that Cygwin definition has correct prototype.
* 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-02-092-1/+10
| | | | | | * libc/include/sys/stat.h: Must revert change for mknod for CYGWIN until winsup/cygwin/syscalls.cc changes mknod prototype.
* 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-02-092-1/+5
| | | | * libc/include/stdio.h: Revert putw prototype.
* 2001-02-08 Edward M. Lee <tailbert@yahoo.com>Jeff Johnston2001-02-096-13/+16
| | | | | | | | | * libc/include/grp.h: add prototype for initgroups. * libc/include/stdio.h: fix prototype for putw. * libc/include/sys/signal.h: add prototype for killpg. * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN. * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp, vhangup and remove duplicate sysconf prototype.
* 2001-02-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-02-072-346/+4
| | | | * libc/sys/rtems/sys/types.h: Removed.
* 2001-02-05 Charles Wilson <cwilson@ece.gatech.edu>Jeff Johnston2001-02-052-0/+5
| | | | * libc/include/locale.h: add LC_MESSAGES definition
* * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,Alexandre Oliva2001-02-013-0/+39
| | | | | | SYS_get_argN): * libc/sys/sh/syscalls.c (__setup_argv_for_main, __setup_argv_and_call_main): New.
* 2001-01-31 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-01-313-3/+32
| | | | | | | | | * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__ if defined. (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined. (L_tmpnam): Changed to use __L_tmpnam__ if defined. * libc/include/sys/config.h: Changed to set __FILENAME_MAX__ appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
* * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when compilingChristopher Faylor2001-01-302-0/+10
| | | | under Cygwin.
* 2001-01-29 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-01-295-4/+35
| | | | | | | | * libc/include/math.h (signgam): Change to errno-like solution using a function to return the address of the real signgam. * libc/reent/signgam.c: New file containing __signgam(). * libc/reent/Makefile.am: Added signgam.c to list of files. * libc/reent/Makefile.in: Regenerated.
* * libc/sys/sh/syscalls.c (_times): New.Alexandre Oliva2001-01-262-0/+10
|
* * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.Alexandre Oliva2001-01-253-0/+15
| | | | * libc/sys/sh/syscalls.c (_gettimeofday): New.
* 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-01-242-1/+6
| | | | | * libc/include/math.h (signgam): Regress previous fix as it does not handle programs with extern int signgam in them.
* 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-01-232-1/+6
| | | | | * libc/include/math.h (signgam): Changed to a macro refering to its location in the reentrant structure.
* 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-01-232-1/+8
| | | | | | | * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix that suppressed . for %.0f, 0.1. Check now looks if there are padding zeroes (expt) in addition to any digits (ndig) to print.
* 2001-01-18 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-01-1912-0/+2647
| | | | | | | | | | | | | | * libc/sys/arc/Makefile.am: New file. * libc/sys/arc/Makefile.in: Ditto. * libc/sys/arc/aclocal.m4: Ditto. * libc/sys/arc/configure: Ditto. * libc/sys/arc/configure.in: Ditto. * libc/sys/arc/crt0.S: Ditto. * libc/sys/arc/isatty.c: Ditto. * libc/sys/arc/mem-layout.c: Ditto. * libc/sys/arc/sbrk.c: Ditto. * libc/sys/arc/syscalls.c: Ditto. * libc/sys/arc/sys/syscall.h: Ditto.
* * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.Christopher Faylor2001-01-182-1/+5
|
* * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.Christopher Faylor2001-01-122-0/+11
|
* * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__DJ Delorie2001-01-122-1/+5
|
* Remove unsupported v850 compiler optionsNick Clifton2001-01-092-3/+7
|
* Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>Jeff Johnston2001-01-062-1/+6
| | | | | * src/newlib/configure.host (*-*-rtems*): add printf long long support for RTEMS.
* oops - fix attributionNick Clifton2000-12-191-1/+1
|
* Add missing clobber of LRNick Clifton2000-12-192-1/+5
|
* Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2000-12-142-1/+5
| | | | * configure.host: Turn on long double I/O for Cygwin.
* Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2000-12-14113-134/+208
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * MAINTAINERS: Removed Ranjith. * NEWS: Updated for 1.9.0. * README: Updated. * acinclude.m4: Updated to release 1.9.0. * aclocal.m4 configure doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure libc/machine/aclocal.m4 libc/machine/configure libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure libc/machine/arm/aclocal.m4 libc/machine/arm/configure libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure libc/machine/i386/aclocal.m4 libc/machine/i386/configure libc/machine/i960/aclocal.m4 libc/machine/i960/configure libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure libc/machine/mips/aclocal.m4 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4 libc/machine/sh/configure libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure libc/machine/v850/aclocal.m4 libc/machine/v850/configure libc/machine/w65/aclocal.m4 libc/machine/w65/configure libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure libc/sys/aclocal.m4 libc/sys/configure libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure libc/sys/arm/aclocal.m4 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure libc/sys/go32/aclocal.m4 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure libc/sys/linux/aclocal.m4 libc/sys/linux/configure libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure libc/sys/netware/aclocal.m4 libc/sys/netware/configure libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure libc/sys/sh/aclocal.m4 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure libc/sys/w65/aclocal.m4 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure libm/aclocal.m4 libm/configure: Regenerated.
* * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'Corinna Vinschen2000-12-142-0/+11
| | | | when __CYGWIN__ is defined.
* 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2000-12-144-35/+60
| | | | | | | | | * libc/stdlib/ldtoa.c (_ldcheck): New routine that categorizes a long double as NaN, Infinity, or other. * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed isinfl and isnanl static routines which were i386-specific. Changed calls to the two removed routines to a single _ldcheck call. * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
* 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2000-12-133-0/+13
| | | | | | | * Makefile.am: Fixed install-data-local target to use $(mkinstalldirs) for the installed header files to ensure the directories exist before copying. * Makefile.in: Regenerated.
* 2000-12-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2000-12-122-9/+21
| | | | | | * libc/include/sys/unistd.h: Restored Cygwin _SC constants and moved new constants appropriately so Cygwin will build.