Thomas Fitzsimmons
7fc85bd1b9
* newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
...
* newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
* newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
* newlib/libs/sys/h8300hms/sys/syscall.h: New file.
2002-05-17 20:13:38 +00:00
Thomas Fitzsimmons
0c048a9a90
* acinclude.m4: Add support for --enable-newlib-multithread.
...
* configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
--enable-newlib-multithread=no.
2002-05-08 20:35:16 +00:00
Thomas Fitzsimmons
e71372faea
* libc/include/sys/stdio.h: New file.
...
* libc/sys/linux/sys/stdio.h: New file.
* libc/include/stdio.h: Add declarations for flockfile,
ftrylockfile, and funlockfile. Include <sys/stdio.h>.
* libc/stdio/clearerr.c: Add file locking.
* libc/stdio/fclose.c: Likewise.
* libc/stdio/feof.c: Likewise.
* libc/stdio/ferror.c: Likewise.
* libc/stdio/fflush.c: Likewise.
* libc/stdio/fgetc.c: Likewise.
* libc/stdio/fgetpos.c: Likewise.
* libc/stdio/fgets.c: Likewise.
* libc/stdio/fileno.c: Likewise.
* libc/stdio/fputc.c: Likewise.
* libc/stdio/fputs.c: Likewise.
* libc/stdio/fread.c: Likewise.
* libc/stdio/freopen.c: Likewise.
* libc/stdio/fseek.c: Likewise.
* libc/stdio/ftell.c: Likewise.
* libc/stdio/fwrite.c: Likewise.
* libc/stdio/getc.c: Likewise.
* libc/stdio/putc.c: Likewise.
* libc/stdio/setvbuf.c: Likewise.
* libc/stdio/ungetc.c: Likewise.
* libc/stdio/vfprintf.c: Likewise.
2002-05-08 00:12:49 +00:00
Thomas Fitzsimmons
9c7d6a9d7e
* libc/sys/arm/syscalls.c (_rename): Add parameter names.
...
(_sbrk): Add cast of return value.
2002-05-06 20:46:37 +00:00
Jeff Johnston
f78e59a8f9
2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/unix/pread.c: Fix typo for _pread_r.
* libc/unix/pwrite.c: Fix type for _pwrite_r.
* libc/sys/linux/pread64.c: Fix typo for read syscall.
* libc/sys/linux/pwrite64.c: Fix typo for write syscall.
2002-05-06 20:29:29 +00:00
Christopher Faylor
0d0fdc8d62
* utmp.h: Define more UNIX constants.
2002-05-02 00:59:39 +00:00
Thomas Fitzsimmons
bfc27bae1a
* Various formatting and whitespace changes.
2002-04-30 18:23:40 +00:00
Jeff Johnston
83096ae833
2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
2002-04-29 22:33:10 +00:00
Jonathan Larmour
588f16bb29
Fix trivial typo in last change
2002-04-29 21:52:36 +00:00
Jonathan Larmour
822afa537a
* libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
...
(_system): New function. Ditto.
* libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
* configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
targets.
2002-04-29 21:49:56 +00:00
Jeff Johnston
29798f0d57
2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
* libc/unix/Makefile.am: Add pread.c and pwrite.c.
* libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
* libc/sys/linux/Makefile.in: Regenerated.
* libc/unix/Makefile.in: Ditto.
* libc/sys/linux/pread64.c: New file.
* libc/sys/linux/pwrite64.c: Ditto.
* libc/unix/pread.c: Ditto.
* libc/unix/pwrite.c: Ditto.
2002-04-29 19:31:23 +00:00
Jeff Johnston
557856bdd9
2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/sys/linux/Makefile.am: Add io64.c.
* libc/sys/linux/Makefile.in: Regenerated.
* libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
* libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
* libc/sys/linux/io64.c: New file.
2002-04-26 23:21:29 +00:00
Jeff Johnston
c62adaccc7
2002-04-25 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/sys/linux/Makefile.am: Add support for sched.c.
* libc/sys/linux/Makefile.in: Regenerated.
* libc/sys/linux/sched.c: New file.
* libc/sys/linux/sys/types.h: Add struct timespec.
2002-04-25 22:12:10 +00:00
Thomas Fitzsimmons
eaa75b70e3
* Makefile.am (check-DEJAGNU): New target.
...
(site.exp): Likewise.
* acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
* libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
* libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
* libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
* testsuite: New directory.
* testsuite/config: Likewise.
* testsuite/lib: Likewise.
* testsuite/newlib.locale: Likewise.
* testsuite/newlib.string: Likewise.
* testsuite/config/default.exp: New file.
* testsuite/lib/checkoutput.exp: New file.
* testsuite/lib/newlib.exp: New file.
* testsuite/lib/passfail.exp: New file.
* testsuite/newlib.locale/UTF-8.c: New file.
* testsuite/newlib.locale/UTF-8.exp: New file.
* testsuite/newlib.locale/locale.exp: New file.
* testsuite/newlib.string/string.exp: New file.
* testsuite/newlib.string/tstring.c: New file.
2002-04-24 20:53:30 +00:00
Jeff Johnston
b9f9f69937
2002-04-23 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
* libc/sys/linux/Makefile.am: Add support for mmap.c.
* libc/sys/linux/Makefile.in: Regenerated.
* libc/sys/linux/mmap.c: New file.
* libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
* libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
2002-04-23 21:33:41 +00:00
Thomas Fitzsimmons
7394edbb2e
* acinclude.m4 (newlib_cflags): Remove include directories that
...
are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
2002-04-22 18:34:39 +00:00
Joel Sherrill
d413aadcaf
2002-04-19 Joel Sherrill <joel@OARcorp.com>
...
* libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
while autoconf is trying to link main(){}.
2002-04-19 18:53:40 +00:00
Jeff Johnston
271938959c
2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
* libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
2002-04-17 21:38:47 +00:00
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
26116455c4
2002-04-12 Eric Norum <eric.norum@usask.com>
...
* libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
routine to allow autoconf to determine that building executables
for rtems works.
(rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
(rtems_gxx_mutex_once): Ditto.
2002-04-12 21:12:19 +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
c53d845331
2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/sys/go32/access.c: Change license to relaxed license
used in identical file throughout newlib/libgloss.
2002-03-12 21:31:56 +00:00
Jeff Johnston
d2a246ad72
2002-03-12 Richard Earnshaw <rearnsha@arm.com>
...
* libc/sys/arm/access.c: New file.
* libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
* libc/sys/arm/Makefile.in: Regenerate.
* libc/sys/arm/syscalls.c (_stat): New function.
2002-03-12 21:25:12 +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
Corinna Vinschen
59ee2e2013
* libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
...
of off_t.
2002-02-23 14:37:29 +00:00
Jeff Johnston
7b61d0c500
2002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
...
* libc/sys/mmixware/link.c: New.
* libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
volatile.
* libc/sys/mmixware/times.c (_times): Renamed from times.
* libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
properly by reading previous contents, not through BinaryReadWrite.
* libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
* libc/sys/mmixware/Makefile.in: Regenerate.
2002-02-13 00:01:27 +00:00
Alexandre Oliva
9f25eed9c9
Contribute sh64-elf.
...
2001-03-13 Alexandre Oliva <aoliva@redhat.com>
* configure.host (newlib_cflags) [sh*-*-*]: Enable long long
support in printf.
2001-01-29 Alexandre Oliva <aoliva@redhat.com>
* libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
any labels.
2001-01-24 Alexandre Oliva <aoliva@redhat.com>
* libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
2000-12-16 Alexandre Oliva <aoliva@redhat.com>
* libc/machine/sh/configure.in: Rework conditionals.
* libc/machine/sh/Makefile.am: Likewise.
* libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
2000-12-01 Alexandre Oliva <aoliva@redhat.com>
* configure.host: Match `sh*'.
* libc/include/machine/setjmp.h: Define for SH5.
* libc/machine/sh/configure.in: Detect SH5.
* libc/machine/sh/configure: Rebuilt.
* libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
* libc/machine/sh/Makefile.in: Rebuilt.
* libc/machine/sh/asm.h: Adjust for SH5.
* libc/machine/sh/setjmp.S: Implement in SHmedia.
* libc/sys/sh/crt0.S: Likewise.
* libc/sys/sh/trap.S: Likewise.
2002-02-08 07:11:13 +00:00
Nick Clifton
b2db0ebcfe
_sbrk(): Return -1 rather than aborting if too much memory is requested.
2002-01-17 16:39:53 +00:00
Corinna Vinschen
423d5064f2
* libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
2001-12-28 15:43:24 +00:00
Corinna Vinschen
efeae9a317
* libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
...
conditionalized including of getopt stuff.
2001-12-17 21:32:25 +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
Jeff Johnston
b92591a1fc
2001-12-13 Anita Kulkarni <anitak@kpit.com>
...
* libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
2001-12-13 20:10:16 +00:00
Nick Clifton
e9853806c7
For __USES_INITFINI__ preserve the argument vector before calling the
...
initialisation functions.
2001-12-05 11:51:43 +00:00
Christopher Faylor
d37e401ef3
* libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
2001-11-21 06:57:44 +00:00
Hans-Peter Nilsson
8ac90051e6
* libc/sys/mmixware/*: Tweak license header in all source files.
2001-11-18 23:47:59 +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
Anthony Green
28f8744e02
Add __stack_base__
2001-11-13 03:31:14 +00:00
Hans-Peter Nilsson
4cede8c4ce
* libc/sys/mmixware/*: Correct spacing in all source files.
...
* libc/sys/mmixware/syscall.h: Move misplaced file...
* libc/sys/mmixware/sys/syscall.h: ...here.
2001-11-13 02:49:12 +00:00
Jeff Johnston
8be9b48be6
2001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
...
* libc/include/machine/ieeefp.h: Add support for mmix target.
* libc/include/machine/setjmp.h: Ditto.
* configure.host: Ditto.
* libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
* libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
libc/sys/mmixware/aclocal.m4: Generate.
2001-11-12 21:04:41 +00:00
Corinna Vinschen
c7dd4f9511
* libc/include/sys/unistd.h: Add prototypes for endusershell(),
...
getusershell(), iruserok(), revoke(), ruserok() and setusershell()
when __CYGWIN__ is defined.
* libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
logwtmp().
2001-11-05 18:06:24 +00:00
Nick Clifton
b244a68909
oops omitted in previous delta
2001-09-18 15:42:41 +00:00
Jeff Johnston
b2d319cb3e
2001-09-07 Jeff Law <law@redhat.com>
...
* libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
__fini with "mov.l" instead of "mov.w".
2001-09-07 18:21:33 +00:00
Corinna Vinschen
233823ba36
* libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
...
and getopt.h.
2001-09-05 15:56:01 +00:00
Jeff Johnston
63c17b5426
2001-09-04 Jason Merrill <jason_merrill@redhat.com>
...
* libc/sys/h8300hms/crt0.S: Support ELF initialization.
2001-09-04 19:05:44 +00:00
Corinna Vinschen
a3e67ddfe6
* libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
...
field.
(__DIRENT_VERSION): New define.
2001-09-03 19:04:05 +00:00
Corinna Vinschen
6d47f33adb
* libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
2001-09-03 16:33:53 +00:00
Joern Rennecke
1ae900d62f
* configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
...
* 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-29 13:26:32 +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
0694d8d310
2001-03-29 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
prolog to by-pass possible assembler error.
2001-03-30 00:51:51 +00:00
Corinna Vinschen
63dc5d80f6
* libc/sys/cygwin/crt0.c: Add copyright hint.
...
* 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.
2001-03-14 08:36:33 +00:00
Jeff Johnston
ee37ede1d3
2001-02-22 Jeff Johnston <jjohnstn@redhat.com>
...
* 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-22 22:12:43 +00:00
Jeff Johnston
93ac448707
2001-02-07 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/sys/rtems/sys/types.h: Removed.
2001-02-07 18:11:09 +00:00
Alexandre Oliva
b5139f598b
* libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
...
SYS_get_argN):
* libc/sys/sh/syscalls.c (__setup_argv_for_main,
__setup_argv_and_call_main): New.
2001-02-01 21:25:56 +00:00
Alexandre Oliva
b0913397ba
* libc/sys/sh/syscalls.c (_times): New.
2001-01-26 02:03:58 +00:00
Alexandre Oliva
610b895aa1
* configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
...
* libc/sys/sh/syscalls.c (_gettimeofday): New.
2001-01-25 21:40:28 +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
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
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
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
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
4ba9aab779
2000-08-30 Kazu Hirata <kazu@hxi.com>
...
* libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
2000-08-30 22:17:17 +00:00
Jeff Johnston
db7acc382f
2000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
...
* libc/posix/execve.c: included unistd.h for "_execve" prototype.
* libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
"#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
everywhere else.
2000-08-30 18:34:53 +00:00
Nick Clifton
38a6bf987b
Recode to clean up function prologues and epilogue and to allow the functions
...
to be used in a Thumb based toolchain.
2000-08-09 21:55:54 +00:00
Jeff Johnston
ba2048d3ca
Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
...
* libc/sys/arm/crt0.S (.LC30): Added missing length parameter
to argument list for AngelSWI_Reason_GetCmdLine.
2000-06-28 18:14:14 +00:00
Ranjith Kumaran
75362a768b
Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
...
* libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
structures.
2000-05-15 18:30:03 +00:00
Jeff Johnston
b489803aee
Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
...
* acinclude.m4: Changed release to 1.8.2.
* 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/z8k/aclocal.m4
libc/machine/z8k/configure libc/sys/aclocal.m4
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/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-03-24 20:42:18 +00:00
Nick Clifton
79908d67bc
Fix compile time warning messages.
...
Add "cc" to list of registers clobbered bu do_AgelSWI
2000-03-24 18:17:17 +00:00
Fernando Nasser
7684ddaf52
Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
...
* libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
information to be clobbered by an Angel C library support syscall.
2000-03-23 20:19:13 +00:00
Christopher Faylor
8a0efa53e4
import newlib-2000-02-17 snapshot
2000-02-17 19:39:52 +00:00