libc/libgloss
Jeff Johnston 847e89f8e1 2007-08-10 Carlos O'Donell <carlos@codesourcery.com>
2007-07-12  Daniel Jacobowitz  <dan@codesourcery.com>

        * arm/syscalls.c (_stat): Use _close

        * arm/syscalls.c (struct poslog): Rename to...
        (struct fdent): ... this.
        (FILE_HANDLE_OFFSET): Remove.
        (findslot): Return a struct fdent* if fd is valid, otherwise return NULL.
        (newslot): New function.
        (remap_handle): Remove.
        (initialise_monitor_handles): Use stdout as fallback for stderr.
        (wrap): Rename to...
        (checkerror): ...  this.
        (_swiread): Use checkerror() for the return of SWI calls.  Correct the use of r0.
        (_read): Use findslot().  Return EBADF on bad handle.
        (_swilseek): Call findslot().  Check for valid whence.  Check for negative offset when using
        SEEK_CUR, and check for overflow.  Use checkerror().  Check *_Flen calls for errors.
        (_swiwrite): Correct the use of r0.
        (_write): Call findslot().
        (_swiopen): Call findslot().  Check for valid flags.  Use checkerror().  Call newslot().
        Handle O_TRUNC, and O_WRONLY.  Return index into openfiles[] for fd.
        (_swiclose): Correct the use of r0.
        (_close): Handle stderr == stdout case.  Only reclaim handle if _swiclose succeeded.
        (_getpid): Use __attribute__((unused)).
        (_sbrk): Fix formatting.
        (_swistat): New function.
        (_stat): Call _swistat().
        (_fstat): Call _swistat().
        (_unlink): Correct the use of r0.
        (isatty): Call finslot().  Correct the use of r0.
        (_system): Call checkerror().  Correct the use of r0.
        (_rename): Correct the use of r0.
2007-08-10 19:36:46 +00:00
..
arm 2007-08-10 Carlos O'Donell <carlos@codesourcery.com> 2007-08-10 19:36:46 +00:00
bfin 2007-07-06 Jeff Johnston <jjohnstn@redhat.com> 2007-07-06 17:00:13 +00:00
config 20000317 sourceware import 2000-03-17 22:48:54 +00:00
cris 2007-07-06 Jeff Johnston <jjohnstn@redhat.com> 2007-07-06 17:00:13 +00:00
crx 2007-07-06 Jeff Johnston <jjohnstn@redhat.com> 2007-07-06 17:00:13 +00:00
d30v 2006-05-10 Jeff Johnston <jjohnstn@redhat.com> 2006-05-10 20:51:41 +00:00
doc 2006-04-19 Jeff Johnston <jjohnstn@redhat.com> 2006-04-19 19:44:05 +00:00
fr30 2006-04-19 Jeff Johnston <jjohnstn@redhat.com> 2006-04-19 19:44:05 +00:00
frv 2007-07-06 Jeff Johnston <jjohnstn@redhat.com> 2007-07-06 17:00:13 +00:00
hp74x 2006-04-19 Jeff Johnston <jjohnstn@redhat.com> 2006-04-19 19:44:05 +00:00
i386 2007-07-06 Jeff Johnston <jjohnstn@redhat.com> 2007-07-06 17:00:13 +00:00
i960 2006-04-19 Jeff Johnston <jjohnstn@redhat.com> 2006-04-19 19:44:05 +00:00
iq2000 2006-05-10 Jeff Johnston <jjohnstn@redhat.com> 2006-05-10 20:51:41 +00:00
libnosys 2007-07-06 Jeff Johnston <jjohnstn@redhat.com> 2007-07-06 17:00:13 +00:00
m32c * m32c/crt0.S (done_inilist): Fix dwarf2 address sizes. 2006-06-30 21:55:23 +00:00
m32r 2006-05-10 Jeff Johnston <jjohnstn@redhat.com> 2006-05-10 20:51:41 +00:00
m68hc11 2006-05-10 Jeff Johnston <jjohnstn@redhat.com> 2006-05-10 20:51:41 +00:00
m68k 2007-07-06 Jeff Johnston <jjohnstn@redhat.com> 2007-07-06 17:00:13 +00:00
mcore 2006-05-10 Jeff Johnston <jjohnstn@redhat.com> 2006-05-10 20:51:41 +00:00
mep * mep/fmax.ld, mep/gmap_default.ld, mep/min.ld, mep/simple.ld 2007-07-13 17:32:21 +00:00
mips 2006-11-27 Jeff Johnston <jjohnstn@redhat.com> 2006-11-27 16:12:51 +00:00
mn10200 2006-05-10 Jeff Johnston <jjohnstn@redhat.com> 2006-05-10 20:51:41 +00:00
mn10300 2006-11-17 Jeff Johnston <jjohnstn@redhat.com> 2006-11-17 19:18:02 +00:00
mt 2006-05-10 Jeff Johnston <jjohnstn@redhat.com> 2006-05-10 20:51:41 +00:00
pa 2006-05-10 Jeff Johnston <jjohnstn@redhat.com> 2006-05-10 20:51:41 +00:00
rs6000 2006-05-10 Jeff Johnston <jjohnstn@redhat.com> 2006-05-10 20:51:41 +00:00
sh * arm/elf-redboot.ld, iq2000/sim.ld, m68hc11/sim-valid-m68hc11.ld, 2005-05-20 15:45:45 +00:00
sparc 2007-07-06 Jeff Johnston <jjohnstn@redhat.com> 2007-07-06 17:00:13 +00:00
spu 2007-07-06 Jeff Johnston <jjohnstn@redhat.com> 2007-07-06 17:00:13 +00:00
testsuite 20000317 sourceware import 2000-03-17 22:48:54 +00:00
v850/sys 20000317 sourceware import 2000-03-17 22:48:54 +00:00
wince 2006-04-19 Jeff Johnston <jjohnstn@redhat.com> 2006-04-19 19:44:05 +00:00
xstormy16 2006-09-07 Masaki Muranaka <monaka@monami-software.com> 2006-09-07 17:28:09 +00:00
ChangeLog 2007-08-10 Carlos O'Donell <carlos@codesourcery.com> 2007-08-10 19:36:46 +00:00
Makefile.in 2006-10-06 Jeff Johnston <jjohnstn@redhat.com> 2006-10-06 20:34:49 +00:00
README 2007-02-08 Dave Brolley <brolley@redhat.com> 2007-02-08 21:22:05 +00:00
acinclude.m4 2006-04-19 Jeff Johnston <jjohnstn@redhat.com> 2006-04-19 19:44:05 +00:00
aclocal.m4 2006-04-19 Jeff Johnston <jjohnstn@redhat.com> 2006-04-19 19:44:05 +00:00
close.c 20000317 sourceware import 2000-03-17 22:48:54 +00:00
configure 2007-02-08 Dave Brolley <brolley@redhat.com> 2007-02-08 21:22:05 +00:00
configure.in 2007-02-08 Dave Brolley <brolley@redhat.com> 2007-02-08 21:22:05 +00:00
debug.c 20000317 sourceware import 2000-03-17 22:48:54 +00:00
debug.h 2002-04-17 Joel Sherrill <joel@OARcorp.com> 2002-04-17 19:10:37 +00:00
fstat.c 20000317 sourceware import 2000-03-17 22:48:54 +00:00
getpid.c 20000317 sourceware import 2000-03-17 22:48:54 +00:00
glue.h 20000317 sourceware import 2000-03-17 22:48:54 +00:00
isatty.c 20000317 sourceware import 2000-03-17 22:48:54 +00:00
kill.c 20000317 sourceware import 2000-03-17 22:48:54 +00:00
lseek.c 20000317 sourceware import 2000-03-17 22:48:54 +00:00
open.c 20000317 sourceware import 2000-03-17 22:48:54 +00:00
print.c 20000317 sourceware import 2000-03-17 22:48:54 +00:00
putnum.c 20000317 sourceware import 2000-03-17 22:48:54 +00:00
read.c 2002-07-18 Chris Demetriou <cgd@broadcom.com> 2002-07-18 20:04:59 +00:00
sbrk.c 20000317 sourceware import 2000-03-17 22:48:54 +00:00
stat.c 20000317 sourceware import 2000-03-17 22:48:54 +00:00
syscall.h 2006-11-08 Jie Zhang <jzhang918@gmail.com> 2006-11-08 19:36:56 +00:00
unlink.c 20000317 sourceware import 2000-03-17 22:48:54 +00:00
write.c 20000317 sourceware import 2000-03-17 22:48:54 +00:00

README

sparc	- Fujitsu Sparclite board. Works on the ex930, ex931, ex933
hp74x	- Hewlett Packard HP742 board. Also some support for the hp743.
m68hc11 - Motorola 68HC11 or 68HC12 support.
m68k	- Motorola MVME135 and IDP board. For CPU32 systems.
mep	- Toshiba Media Processor.
pa	- WinBond and Oki boards with a PA.
mips	- R3000 support. Array Tech LSI33k based RAID disk controller.