Jeff Johnston
841081c9f2
2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/math.h (signgam): Changed to a macro refering to
its location in the reentrant structure.
2001-01-23 19:56:14 +00:00
Jeff Johnston
e9cd87b82a
2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
...
* 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-23 19:49:09 +00:00
Jeff Johnston
a302b48c21
2001-01-18 Jeff Johnston <jjohnstn@redhat.com>
...
* 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.
2001-01-19 01:25:13 +00:00
Christopher Faylor
d0319c3b5b
* libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
2001-01-18 04:24:03 +00:00
Christopher Faylor
e45ab89012
* libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
2001-01-12 05:36:12 +00:00
DJ Delorie
1376245a1f
* libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
2001-01-12 02:41:33 +00:00
Nick Clifton
92b5754311
Remove unsupported v850 compiler options
2001-01-09 19:30:13 +00:00
Jeff Johnston
7d6d33d409
Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
...
* src/newlib/configure.host (*-*-rtems*): add printf long long
support for RTEMS.
2001-01-06 00:59:10 +00:00
Nick Clifton
602f8b5aba
oops - fix attribution
2000-12-19 20:37:35 +00:00
Nick Clifton
6286746a16
Add missing clobber of LR
2000-12-19 20:37:18 +00:00
Jeff Johnston
9c2b818342
Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
...
* configure.host: Turn on long double I/O for Cygwin.
2000-12-14 22:32:42 +00:00
Jeff Johnston
804368d392
Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
...
* 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.
2000-12-14 22:15:26 +00:00
Corinna Vinschen
0985d43f4c
* libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
...
when __CYGWIN__ is defined.
2000-12-14 01:07:23 +00:00
Jeff Johnston
b6182a09dd
2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
...
* 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-14 00:25:06 +00:00
Jeff Johnston
adbbb0348c
2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
...
* 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-13 19:32:45 +00:00
Jeff Johnston
cbd1933690
2000-12-12 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/sys/unistd.h: Restored Cygwin _SC
constants and moved new constants appropriately
so Cygwin will build.
2000-12-12 23:41:23 +00:00
Jeff Johnston
8fb3796385
2000-12-11 Joel Sherrill <joel@OARcorp.com>
...
* 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-12 01:24:09 +00:00
Jeff Johnston
2efbc2a7df
2000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
...
* 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-09 01:20:32 +00:00
Jeff Johnston
a08c98bb80
2000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
...
* Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
can be a relative path to $(top_srcdir)/install.sh so ensure the
autoconf detected settings are properly passed recursively.
Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
properly to subdirectories.
* Makefile.in: Regenerated.
2000-12-08 21:31:08 +00:00
Jeff Johnston
b294082c46
2000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
...
* libc/stdio/vfprintf.c: Minor modification to avoid requiring
a floating point register unless really printing a floating
point number.
2000-12-08 00:27:39 +00:00
Jeff Johnston
2005ab6be7
2000-12-07 Jeff Johnston <jjohnstn@redhat.com>
...
* 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-07 23:38:05 +00:00
Jeff Johnston
9f6e8f1b7f
2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
2000-12-07 00:17:20 +00:00
Jeff Johnston
6bdac416e9
2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
...
* 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.
2000-12-06 23:50:11 +00:00
Corinna Vinschen
ec270d3148
* libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
2000-12-06 11:02:28 +00:00
Jeff Johnston
db2d954944
2000-12-04 Joel Sherrill <joel@OARcorp.com>
...
* libc/include/machine/time.h: RTEMS systems can configure clock
tick rate so use sysconf() to ask.
2000-12-04 19:06:37 +00:00
Jeff Johnston
6ba54a1544
2000-12-04 Joel Sherrill <joel@OARcorp.com>
...
* libc/include/sys/times.h: Add reference to POSIX standard.
2000-12-04 18:47:07 +00:00
Jeff Johnston
8677b81966
2000-12-04 Joel Sherrill <joel@OARcorp.com>
...
* libc/include/sys/time.h: Added BSD timer manipulation macros
used by RTEMS code.
2000-12-04 18:40:53 +00:00
Jeff Johnston
1b61a7060f
2000-12-04 Joel Sherrill <joel@OARcorp.com>
...
* 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 18:34:49 +00:00
Jeff Johnston
f5e7c1244b
2000-12-04 Joel Sherrill <joel@OARcorp.com>
...
* libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
2000-12-04 18:29:29 +00:00
Jeff Johnston
768abc9c15
2000-12-04 Joel Sherrill <joel@OARcorp.com>
...
* libc/include/ieeefp.h: Added entries for OpenCores CPUs.
2000-12-04 18:22:10 +00:00
Jeff Johnston
9e5dd5ea3d
2000-12-04 Joel Sherrill <joel@OARcorp.com>
...
* configure.host (or16, or32): New entries for OpenCores
OpenRisc CPUs.
(*-*-rtems*): Add -DNO_EXEC.
2000-12-04 18:15:35 +00:00
Jeff Johnston
7713fb6f1b
2000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
...
* libc/include/sys/errno.h: Added comments on many error numbers.
* libc/string/strerror.c: Added some more strings.
2000-12-04 18:01:50 +00:00
Jeff Johnston
b273323fcd
2000-11-30 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/sys/sh/syscalls.c (_link): New stub.
2000-11-30 20:18:28 +00:00
Nick Clifton
0ffc3b94a0
Add support for Intel's XScale processor
2000-11-30 01:57:27 +00:00
Corinna Vinschen
cbbf0f9645
* libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
...
avoid compiler warnings.
2000-11-25 10:25:51 +00:00
Michael Meissner
73dea7905c
Only reference environ indirectly through a pointer
2000-11-22 18:26:10 +00:00
Christopher Faylor
08eac2aedd
* libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
...
including windows headers.
2000-11-22 01:49:19 +00:00
Jeff Johnston
5478bf376f
2000-11-20 Jeff Johnston <jjohnstn@redhat.com>
...
* 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.
2000-11-21 23:57:25 +00:00
Corinna Vinschen
3a7607289e
* libc/include/sys/types.h: Change type of i to `size_t' in
...
FD_ZERO macro to avoid compiler warnings.
2000-11-06 11:59:53 +00:00
Christopher Faylor
e0997f5a0f
Fix spelling error.
2000-11-05 22:11:37 +00:00
Christopher Faylor
86fff69f62
* libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
...
* libc/include/malloc.h: Ditto. Also remove obsolete declaration.
2000-10-30 01:08:58 +00:00
Corinna Vinschen
ba9e88d24c
* libc/include/sys/unistd.h: Add defines for sysconf values
...
_SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
_SC_AVPHYS_PAGES.
2000-10-24 18:27:54 +00:00
Christopher Faylor
a8018ef336
* libc/include/sys/unistd.h: Add getdtablesize and setdtablesize declarations
...
for __CYGWIN__.
2000-10-10 00:28:49 +00:00
Geoffrey Keating
b944c6f661
* libc/signal/signal.c (__sigtramp_r): ISO C requires
...
case labels to be integral constant expressions, so
use an if/else tree instead.
(_raise_r): Likewise.
2000-09-19 19:39:45 +00:00
Jeff Johnston
7f18fcb4cb
2000-09-13 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/machine/v850/setjmp.S: Fixed tab problems caused by
clipping patch from e-mail reader.
2000-09-13 16:15:41 +00:00
Jeff Johnston
242361df36
2000-09-13 Will Cohen <wcohen@redhat.com>
...
* libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
Added return value 0.
(_longjmp): Allow longjmp to return value of second argument
passed to it.
2000-09-13 16:10:50 +00:00
Jeff Johnston
8a8c59b9c2
2000-09-06 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
inline code to prevent having to include another header file.
2000-09-06 20:55:46 +00:00
Christopher Faylor
a385ae7508
* Makefile.am: Fix space vs. tab problem in install-data-local.
...
* Makefile.in: Regenerate.
* libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
(_EXPARM): New macro for defining a function parameter.
* libc/include/stdlib.h: Use _EXPARM.
* libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
2000-09-06 20:46:27 +00:00
Jeff Johnston
a36cd013b9
2000-08-31 Manfred Hollstein <manfredh@redhat.com>
...
* Makefile.am (install-data-local): Use optional $(DESTDIR) where
required, as documented in the gnu coding standards.
* Makefile.in: Regenerate.
2000-09-05 18:39:58 +00:00
Jeff Johnston
f825dfda78
2000-09-05 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
make O_NDELAY and O_NONBLOCK have the same value.
2000-09-05 18:29:53 +00:00