OSDN Git Service

2007-10-01 Markus Deuling <deuling@de.ibm.com>
[pf3gnuchains/pf3gnuchains3x.git] / libgloss / ChangeLog
index b8cf335..4f4d32c 100644 (file)
@@ -1,3 +1,114 @@
+2007-10-01  Markus Deuling  <deuling@de.ibm.com>
+
+       * spu/Makefile.in: add dependencies for crt files.
+
+2007-10-01  Patrick Mansfield  <patmans@us.ibm.com>
+
+       * spu/sbrk.c: Use the current stack pointer value rather than the
+       maximum available memory to determine the amount of heap space
+       left. Without this change calling sbrk() can allocate space that
+       is currently in use on the stack.
+
+2007-09-26  Patrick Mansfield  <patmans@us.ibm.com>
+
+       * spu/sched_yield.c: New file (missed on 2007-09-21).
+
+2007-09-21  Patrick Mansfield  <patmans@us.ibm.com>
+
+       * spu/Makefile.in: Add new files.
+       * spu/jsre.h: Add JSRE_PREAD, JSRE_PWRITE, JSRE_READV, and
+       JSRE_WRITEV opcodes.
+       * spu/pread.c: New file to add pread via assist call.
+       * spu/pwrite.c: New file to add pwrite via assist call.
+       * spu/readv.c: New file to add readv via assist call.
+       * spu/writev.c: New file to add writev via assist call.
+
+2007-09-21  Patrick Mansfield  <patmans@us.ibm.com>
+
+       * spu/jsre.h: Add JSRE_SCHED_YIELD, JSRE_UMASK, JSRE_UTIME, and
+       JSRE_UTIMES.
+       * spu/sched_yield.c: New file add sched_yield via assist call.
+       * spu/umask.c: New file add umask via assist call.
+       * spu/utime.c: New file add utime via assist call.
+       * spu/utimes.c: New file add utimes via assist call.
+       * spu/Makefile.in: Add new files.
+                                                       
+2007-09-21  Patrick Mansfield  <patmans@us.ibm.com>
+
+       * spu/jsre.h: Add JSRE_SHM_OPEN and JSRE_SHM_UNLINK opcodes.
+       * spu/shm_open.c: New file to add shm_open via assist call.
+       * spu/shm_unlink.c: New file to add shm_unlink via assist call.
+       * spu/Makefile.in: Add shm_open.o and shm_unlink.o
+
+2007-09-21  Patrick Mansfield  <patmans@us.ibm.com>
+
+       * spu/dirfuncs.c: New file, holds the opendir, closedir, readdir,
+       rewinddir, seekdir and telldir implementations. These are
+       grouped in one file so that we do not need a separate file for
+       the struct dirent and DIR allocation code.
+       * spu/jsre.h: Add JSRE_OPENDIR and other dir opcodes.
+       * spu/Makefile.in: Add dirfuncs.o.
+
+2007-08-13  Carlos O'Donell  <carlos@codesourcery.com>
+
+       * arm/crt0.S: Remove '.set' for __stack, hardware_init_hook,
+       and software_init_hook.
+
+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-07-13  Kevin Buettner  <kevinb@redhat.com> 
+
+       * mep/fmax.ld, mep/gmap_default.ld, mep/min.ld, mep/simple.ld (.gcc_except_table): Add pattern 
+       for .gcc_except_table.*.  
+                                       
+2007-07-06  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * arm/syscalls.c (gettimeofday): Change to POSIX signature
+       where second argument is passed as void *.
+       * bfin/syscalls.c (gettimeofday): Ditto.
+       * cris/gensyscalls (gettimeofday): Ditto.
+       * cris/linunistd.h (gettimeofday): Ditto.
+       * crx/time.c (gettimeofday): Ditto.
+       * frv/sim-time.c (gettimeofday): Ditto.
+       * i386/cygmon-salib.c (gettimeofday): Ditto.
+       * libnosys/gettod.c (gettimeofday): Ditto.
+       * m68k/io-gettimeofday.c (gettimeofday): Ditto.
+       * sparc/cygmon-salib.c (gettimeofday): Ditto.
+       * spu/gettimeofday.c (gettimeofday): Ditto.
+
 2007-06-20  Patrick Mansfield  <patmans@us.ibm.com>
 
        * spu/jsre.h: Add JSRE_MKSTEMP and JSRE_MKTEMP values.