summaryrefslogtreecommitdiffstats
path: root/newlib/libc
Commit message (Collapse)AuthorAgeFilesLines
* 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-02-091-1/+4
| | | | | | * 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-091-1/+1
| | | | * libc/include/stdio.h: Revert putw prototype.
* 2001-02-08 Edward M. Lee <tailbert@yahoo.com>Jeff Johnston2001-02-095-13/+7
| | | | | | | | | * 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-071-346/+0
| | | | * libc/sys/rtems/sys/types.h: Removed.
* 2001-02-05 Charles Wilson <cwilson@ece.gatech.edu>Jeff Johnston2001-02-051-0/+1
| | | | * libc/include/locale.h: add LC_MESSAGES definition
* * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,Alexandre Oliva2001-02-012-0/+32
| | | | | | 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-312-3/+23
| | | | | | | | | * 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-301-0/+5
| | | | under Cygwin.
* 2001-01-29 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-01-294-4/+27
| | | | | | | | * 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-261-0/+8
|
* * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.Alexandre Oliva2001-01-251-0/+9
| | | | * libc/sys/sh/syscalls.c (_gettimeofday): New.
* 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-01-241-1/+1
| | | | | * 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-231-1/+1
| | | | | * 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-231-1/+1
| | | | | | | * 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-1911-0/+2633
| | | | | | | | | | | | | | * 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-181-1/+1
|
* * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.Christopher Faylor2001-01-121-0/+7
|
* * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__DJ Delorie2001-01-121-1/+1
|
* Add missing clobber of LRNick Clifton2000-12-191-1/+1
|
* Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2000-12-14102-102/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-141-0/+6
| | | | when __CYGWIN__ is defined.
* 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2000-12-143-35/+51
| | | | | | | | | * 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-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2000-12-121-9/+15
| | | | | | * libc/include/sys/unistd.h: Restored Cygwin _SC constants and moved new constants appropriately so Cygwin will build.
* 2000-12-11 Joel Sherrill <joel@OARcorp.com>Jeff Johnston2000-12-1217-911/+940
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Merge RTEMS specific .h files into main libc/include. * libc/sys/rtems/include/signal.h: Removed. * libc/sys/rtems/include/time.h: Removed. * libc/sys/rtems/sys/features.h: Removed. * libc/sys/rtems/sys/sched.h: Removed. * libc/sys/rtems/sys/siginfo.h: Removed. * libc/sys/rtems/sys/signal.h: Removed. * libc/sys/rtems/sys/time.h: Removed. * libc/sys/rtems/sys/times.h: Removed. definitions for time_t and clock_t since these are no longer in time.h. * libc/include/pthread.h: New file. * libc/include/sys/sched.h: New file. * libc/include/sys/features.h: New file. * libc/include/time.h: Removed duplicate definition of clock_t and time_t, get them from <sys/types.h> instead. Add prototypes for POSIX clock and timer functionality. * libc/sys/linux/sys/types.h: Changed to include * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_. * libc/include/sys/signal.h: Add more complete set of POSIX signal functionality including real-time and threaded signals. * libc/include/sys/types.h: Add clock_t, time_t, struct timespec, and struct itimerspec. Centralizing these makes things cleaner. RTEMS uses 64-bit dev_t. Added numerous primitive definitions for pthreads including macros, pthread_attr_t, pthread_mutexattr_t, pthread_condattr_t, pthread_key_t, pthread_once_t, and pthread_t. * libc/include/sys/unistd.h: Added getlogin_r() prototype. If RTEMS follow POSIX on read(), write() and sbrk() prototype. Feature flags removed and moved to new file <sys/features.h>. Full set of POSIX sysconf() constants
* 2000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>Jeff Johnston2000-12-0941-0/+3468
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.host: Added x86 linux target. * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default definitions provided if not already defined. * libc/sys/linux/crt0.c: New file. * libc/sys/linux/Makefile.am: Ditto. * libc/sys/linux/Makefile.in: Ditto. * libc/sys/linux/aclocal.m4: Ditto. * libc/sys/linux/brk.c: Ditto. * libc/sys/linux/configure: Ditto. * libc/sys/linux/configure.in: Ditto. * libc/sys/linux/getoptlong.c: Ditto. * libc/sys/linux/ids.c: Ditto. * libc/sys/linux/inode.c: Ditto. * libc/sys/linux/io.c: Ditto. * libc/sys/linux/linux.c: Ditto. * libc/sys/linux/process.c: Ditto. * libc/sys/linux/realpath.c: Ditto. * libc/sys/linux/select.c: Ditto. * libc/sys/linux/signal.c: Ditto. * libc/sys/linux/systat.c: Ditto. * libc/sys/linux/termios.c: Ditto. * libc/sys/linux/time.c: Ditto. * libc/sys/linux/wait.c: Ditto. * libc/sys/linux/include/alloca.h: Ditto. * libc/sys/linux/include/getopt.h: Ditto. * libc/sys/linux/include/stdint.h: Ditto. * libc/sys/linux/include/unistd.h: Ditto. * libc/sys/linux/sys/cdefs.h: Ditto. * libc/sys/linux/sys/dirent.h: Ditto. * libc/sys/linux/sys/errno.h: Ditto. * libc/sys/linux/sys/fcntl.h: Ditto. * libc/sys/linux/sys/file.h: Ditto. * libc/sys/linux/sys/ioctl.h: Ditto. * libc/sys/linux/sys/resource.h: Ditto. * libc/sys/linux/sys/signal.h: Ditto. * libc/sys/linux/sys/stat.h: Ditto. * libc/sys/linux/sys/syscall.h: Ditto. * libc/sys/linux/sys/termios.h: Ditto. * libc/sys/linux/sys/time.h: Ditto. * libc/sys/linux/sys/types.h: Ditto. * libc/sys/linux/sys/utmp.h: Ditto. * libc/sys/linux/sys/utsname.h: Ditto. * libc/sys/linux/sys/wait.h: Ditto.
* 2000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>Jeff Johnston2000-12-081-2/+4
| | | | | | * libc/stdio/vfprintf.c: Minor modification to avoid requiring a floating point register unless really printing a floating point number.
* 2000-12-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2000-12-071-3667/+3679
| | | | | | | | | * libc/stdlib/ldtoa.c: Removed include of alloca.h. Also removed \r's. (asctoeg): Replaced alloca call with stack array and malloc when storage exceeds reasonable limit. (e53toe): Fixed einfin calls missing ldp parameter. (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
* 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2000-12-071-3/+3
| | | | * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
* 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2000-12-067-26/+3902
| | | | | | | | | | | | | | * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources. * libc/stdlib/Makefile.in: Regenerated. * libc/stdio/floatio.h: Added suitable MAXEXP for long double. * libc/stdio/vfieeefp.h: Added long double bit structures. * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support. [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines. (exponent): Changed expbuf to reasonable maximum instead of MAXEXP. * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support. * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and _strtold routines used for conversions between character and long double.
* * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.Corinna Vinschen2000-12-061-0/+6
|
* 2000-12-04 Joel Sherrill <joel@OARcorp.com>Jeff Johnston2000-12-041-0/+4
| | | | | * libc/include/machine/time.h: RTEMS systems can configure clock tick rate so use sysconf() to ask.
* 2000-12-04 Joel Sherrill <joel@OARcorp.com>Jeff Johnston2000-12-041-0/+1
| | | | * libc/include/sys/times.h: Add reference to POSIX standard.
* 2000-12-04 Joel Sherrill <joel@OARcorp.com>Jeff Johnston2000-12-041-0/+32
| | | | | * libc/include/sys/time.h: Added BSD timer manipulation macros used by RTEMS code.
* 2000-12-04 Joel Sherrill <joel@OARcorp.com>Jeff Johnston2000-12-041-1/+27
| | | | | | | * libc/sys/rtems/crt0.c: Add stubs for functions implicitly referenced by code generated by gcc 2.8.1. (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to satisfy gcc.
* 2000-12-04 Joel Sherrill <joel@OARcorp.com>Jeff Johnston2000-12-041-1/+1
| | | | * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
* 2000-12-04 Joel Sherrill <joel@OARcorp.com>Jeff Johnston2000-12-041-0/+5
| | | | * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
* 2000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>Jeff Johnston2000-12-042-20/+131
| | | | | * libc/include/sys/errno.h: Added comments on many error numbers. * libc/string/strerror.c: Added some more strings.
* 2000-11-30 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2000-11-301-0/+6
| | | | * libc/sys/sh/syscalls.c (_link): New stub.
* Add support for Intel's XScale processorNick Clifton2000-11-3015-0/+3204
|
* * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro toCorinna Vinschen2000-11-251-2/+2
| | | | avoid compiler warnings.
* Only reference environ indirectly through a pointerMichael Meissner2000-11-226-25/+49
|
* * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity ofChristopher Faylor2000-11-221-1/+1
| | | | including windows headers.
* 2000-11-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2000-11-213-4/+6
| | | | | | | | * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN. * libc/include/dirent.h: Added definition of MAXNAMLEN if not defined by sys/dirent.h. * libc/posix/execvp.c: Added include of dirent.h to get MAXNAMLEN value which used to be in unistd.h.
* * libc/include/sys/types.h: Change type of i to `size_t' inCorinna Vinschen2000-11-061-1/+1
| | | | FD_ZERO macro to avoid compiler warnings.
* Fix spelling error.Christopher Faylor2000-11-051-1/+1
|
* * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.Christopher Faylor2000-10-302-16/+7
| | | | * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
* * libc/include/sys/unistd.h: Add defines for sysconf valuesCorinna Vinschen2000-10-241-22/+26
| | | | | _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and _SC_AVPHYS_PAGES.
* * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize declarationsChristopher Faylor2000-10-101-0/+2
| | | | for __CYGWIN__.
* * libc/signal/signal.c (__sigtramp_r): ISO C requiresGeoffrey Keating2000-09-191-30/+20
| | | | | | case labels to be integral constant expressions, so use an if/else tree instead. (_raise_r): Likewise.
* 2000-09-13 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2000-09-131-7/+7
| | | | | * libc/machine/v850/setjmp.S: Fixed tab problems caused by clipping patch from e-mail reader.