Jeff Johnston
10d0021609
2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/time.h (tzset, _tzset_r): Added prototypes.
(strptime): Moved prototype to be within !__STRICT_ANSI__.
(_tzname, _daylight, _timezone): No long __CYGWIN__ only.
(tzname): Defined for all platforms.
(daylight, timezone): Defined only for CYGWIN.
* libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
environment set up.
* libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
environment variable is set.
* libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
tzset_r.c.
* libc/time/Makefile.in: Regenerated.
* libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
* libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
* libc/time/lcltime_r.c (lcltime_r): Ditto.
* libc/time/local.h: New local header file.
* libc/time/mktime.c (mktime): Add timezone support.
* libc/time/mktm_r.c: New file which is the common engine
for gmtime_r and lcltime_r. This code has timezone support.
* libc/time/strftime.c (strftime): Add %Z timezone support.
* libc/time/tzlock.c: New file containing timezone lock stubs.
* libc/time/tzset.c: New file containing tzset() routine.
* libc/time/tzset_r.c: New file containing _tzset_r and
internal routine for calculating timezone changes for specified year.
2002-04-17 21:23:31 +00:00
Jeff Johnston
c5ef1e95be
2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
siglongjmp prototype, and sigsetjmp macro definition.
* libc/sys/linux/siglongjmp.c: New file.
* libc/sys/linux/Makefile.am: Add support for siglongjmp.
* libc/sys/linux/Makefile.in: Regenerated.
2002-04-08 20:33:46 +00:00
Jeff Johnston
6e6cd5bde6
2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
...
* Makefile.am: Add support for installing crt1.o if one exists.
* configure.host: Specify crt1.o for linux.
* configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
* Makefile.in: Regenerated.
* configure: Ditto.
* libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
Added for non-Cygwin, non-RTEMS configurations.
* libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
* libc/sys/linux/Makefile.in: Regenerated.
* libc/sys/linux/crt1.c: New empty file to override one defaulted
by gcc. This fixes problem with reconfiguring linux newlib build.
* libc/sys/linux/sysconf.c: New file.
2002-04-04 22:41:11 +00:00
Jeff Johnston
fa4a16a17a
2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
...
* configure.host: Add support for machine subdirectory of
sys subdirectory.
* configure.in: Add check for sys machine subdirectory.
* Makefile.am: Ditto.
* configure: Regenerated.
* Makefile.in: Ditto.
* libc/sys/linux/crt0.c: Moved to machine/i386 directory.
* libc/sys/linux/sys/syscall.h: Ditto.
* libc/sys/linux/sleep.c: New file.
* libc/sys/linux/socket.c: Ditto.
* libc/sys/linux/sockops.h: Ditto.
* libc/sys/linux/stack.c: Ditto.
* libc/sys/linux/usleep.c: Ditto.
* libc/sys/linux/machine/Makefile.am: Ditto.
* libc/sys/linux/machine/Makefile.in: Ditto.
* libc/sys/linux/machine/aclocal.m4: Ditto.
* libc/sys/linux/machine/configure: Ditto.
* libc/sys/linux/machine/configure.in: Ditto.
* libc/sys/linux/machine/i386/Makefile.am: Ditto.
* libc/sys/linux/machine/i386/Makefile.in: Ditto.
* libc/sys/linux/machine/i386/aclocal.m4: Ditto.
* libc/sys/linux/machine/i386/configure: Ditto.
* libc/sys/linux/machine/i386/configure.in: Ditto.
* libc/sys/linux/machine/i386/crt0.c: Ditto.
* libc/sys/linux/machine/i386/sigset.c: Ditto.
* libc/sys/linux/machine/i386/sigstack.h: Ditto.
* libc/sys/linux/machine/i386/socketcall.h: Ditto.
* libc/sys/linux/machine/i386/syscall.h: Ditto.
* libc/sys/linux/sys/select.h: Ditto.
* libc/sys/linux/configure.in: Add support for machine directory.
* libc/sys/linux/Makefile.am: Ditto plus add new files above.
* libc/sys/linux/Makefile.in: Regenerated.
* libc/sys/linux/configure: Ditto.
* libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
* libc/sys/linux/inode.c: Ditto.
* libc/sys/linux/linux.c: Ditto.
* libc/sys/linux/process.c: Ditto.
* libc/sys/linux/systat.c: Ditto.
* libc/sys/linux/time.c: Ditto.
* libc/sys/linux/wait.c: Ditto.
* libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
* libc/sys/linux/io.c: Change header plus add readv/writev.
* libc/sys/linux/signal.c: Change header plus change sigsuspend to
use __sigsuspend syscall.
* libc/sys/linux/select.c: Change header plus change select to
use _newselect syscall.
* libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
used by glibc header files.
* libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
types.
2002-04-03 22:46:21 +00:00
Jeff Johnston
afecf2faee
2002-02-27 Jeff Johnston <jjohnstn@redhat.com>
...
* configure.host: Add check for --disable-newlib-io-float
configuration option and add -DNO_FLOATING_POINT to newlib cflags
if appropriate.
* acinclude.m4: Added --disable-newlib-io-float option.
* aclocal.m4: Regenerated.
* configure: Ditto.
* doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
* libc/*/aclocal.m4 libc/*/configure
* libm/*/aclocal.m4 libm/*/configure: Ditto.
* libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
if NO_FLOATING_POINT flag is not defined.
2002-02-27 23:56:24 +00:00
Thomas Fitzsimmons
2e1a71756e
* Makefile.shared: New file.
...
* libc/sys/linux/shared.ld: New file.
* libm/machine/*: New files.
* libm/machine/i386/*: New files.
* Makefile.am: Add libtool support. Change math and mathfp
references to variables.
* configure.host: Add variables for libtool support. Add
libm_machine_dir variable.
* configure.in: Add objectlist variables, for libtool
support. Add CC_FOR_BUILD tests.
* libc/Makefile.am: Add libtool support. Change crt0.o
reference to be a variable reference.
* libc/configure.in: Add libtool support. Change sublib
names to be lib${subdir}.la when using libtool.
* libc/ctype/Makefile.am: Add libtool support.
* libc/errno/Makefile.am: Likewise.
* libc/locale/Makefile.am: Likewise.
* libc/machine/Makefile.am: Likewise.
* libc/machine/configure.in: Likewise.
* libc/machine/i386/Makefile.am: Likewise.
* libc/machine/i386/configure.in: Likewise.
* libc/misc/Makefile.am: Likewise.
* libc/posix/Makefile.am: Likewise.
* libc/reent/Makefile.am: Likewise.
* libc/signal/Makefile.am: Likewise.
* libc/stdio/Makefile.am: Likewise.
* libc/stdlib/Makefile.am: Likewise.
* libc/string/Makefile.am: Likewise.
* libc/sys/Makefile.am: Likewise.
* libc/sys/configure.in: Likewise.
* libc/sys/linux/Makefile.am: Add libtool support. Change
awk reference to a variable reference. Change signal.h
reference to a variable reference.
* libc/sys/linux/configure.in: Add libtool support.
* libc/syscalls/Makefile.am: Likewise.
* libc/time/Makefile.am: Likewise.
* libc/unix/Makefile.am: Likewise.
* libm/Makefile.am: Add libtool support. Change math and
mathfp references to variables.
* libm/configure.in: Add libtool support. Add
LIBM_MACHINE_LIB variable.
* libm/common/Makefile.am: Add libtool support.
* libm/math/Makefile.am: Likewise.
* libm/mathfp/Makefile.am: Likewise.
Regenerate all Makefile.in, aclocal.m4, and configure.
2001-12-13 23:50:11 +00:00
Corinna Vinschen
d7ca37e413
* libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
...
to here. Rearrange for general inclusion by stdlib.h.
* libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
isn't defined.
* libc/sys/linux/include/alloca.h: Move to libc/include.
2001-11-14 10:25:35 +00:00
Jeff Johnston
3ac6f3a748
2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
...
* 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-21 01:17:33 +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
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