+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.
+ * spu/mkstemp.c: New file to add mkstemp support via assist call.
+ * spu/mktemp.c: New file to add mktemp support via assist call.
+ * spu/Makefile.in: Add mkstemp.o and mktemp.o
+
+2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
+
+ * spu/jsre.h: Add new JSRE opcodes.
+ * spu/dup2.c: New file to add dup2 support via assist call.
+ * spu/fdatasync.c: New file to add fdatasync support via assist call.
+ * spu/fsync.c: New file to add fsync support via assist call.
+ * spu/lockf.c: New file to add lockf support via assist call.
+ * spu/sync.c: New file to add sync support via assist call.
+ * spu/truncate.c: New file to add truncate support via assist call.
+ * spu/Makefile.in: Add new files.
+
+2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
+
+ * spu/jsre.h: JSRE_LINK, JSRE_SYMLINK and JSRE_READLINK.
+ * spu/link.c: New file to add link support via an assist call.
+ * spu/readlink.c: New file to add readlink support via an assist call.
+ * spu/symlink.c: New file to add symlink support via an assist call.
+ * spu/Makefile.in: Add new files.
+
+2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
+
+ * spu/jsre.h: Add JSRE_LSTAT.
+ * spu/lstat.c: New file add lstat support via an assist call.
+ * spu/conv_stat.c: New file, add common stat conversion code.
+ * spu/fstat.c: Use __conv_stat.
+ * spu/stat.c: Use __conv_stat.
+ * spu/Makefile.in: Add conv_stat.o and lstat.o.
+
+2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
+
+ * spu/jsre.h: Add JSRE_GETCWD.
+ * spu/getcwd.c: New file, implement getcwd with help from an
+ assist call.
+ * spu/Makefile.in: Add getcwd.
+
+2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
+
+ * spu/jsre.h: Add defines for new assist calls.
+ * spu/chdir.c: New file, support chdir via assist call.
+ * spu/chmod.c: New file, support chmod via assist call.
+ * spu/chown.c: New file, support chown via assist call.
+ * spu/fchdir.c: New file, support fchdir via assist call.
+ * spu/fchmod.c: New file, support fchmod via assist call.
+ * spu/fchown.c: New file, support fchown via assist call.
+ * spu/lchown.c: New file, support lchown via assist call.
+ * spu/mkdir.c: New file, support mkdir via assist call.
+ * spu/mknod.c: New file, support mknod via assist call.
+ * spu/rmdir.c: New file, support rmdir via assist call.
+ * spu/Makefile.in: Add new files.
+
+2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
+
+ * spu/getpagesize.c: New file add getpagesize via an assist call.
+ * spu/jsre.h: Add JSRE_GETPAGESIZE.
+ * spu/Makefile.in: Add getpagesize.
+
+2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
+
+ * spu/Makefile.in: Add nanosleep.c.
+ * spu/jsre.h: Add JSRE_NANOSLEEP.
+ * spu/nanosleep.c: New file, supply nanosleep via an assist call.
+
+2007-06-05 Patrick Mansfield <patman@us.ibm.com>
+
+ * spu/jsre.h: Remove the assist call structs and defines that are
+ specific to one assist call from here.
+ * spu/access.c: Move struct syscall_access_t to here.
+ * spu/fstat.c: Move struct syscall_fstat_t to here.
+ * spu/ftruncate.c: Move struct syscall_ftruncate_t to here.
+ * spu/gettimeofday.c: Move struct syscall_gettimeofday_t to here.
+ * spu/lseek.c: Move struct syscall_lseek_t and JSRE_SEEK defines to
+ here.
+ * spu/open.c: Move struct syscall_open_t and JSRE_O_ defines to here.
+ * spu/read.c: Move struct syscall_read_t to here, and actually use
+ it (it is the same as syscall_write_t).
+ * spu/stat.c: Move struct syscall_stat_t to here.
+ * spu/write.c: Move struct syscall_write_t to here.
+ * spu/close.c: Pass the address of the first and only argument to
+ __send_to_ppe rather than using an automatic variable and a
+ special struct.
+ * spu/dup.c: Ditto.
+ * spu/unlink.c: Ditto.
+
+2007-05-30 Kazu Hirata <kazu@codesourcery.com>
+
+ * m68k/cf-crt1.C, m68k/cf.sc, m68k/fido.sc, m68k/fido-crt0.S:
+ Replace __INIT_SECTION__ and __FINI_SECTION__ with _init and
+ _fini, respectively.
+
+2007-05-23 Patrick Mansfield <patmans@us.ibm.com>
+
+ * spu/syscalls.c: Change __send_to_ppe to return the result stored
+ in stored in slot 0 of the data, rather than have each assisted
+ call retrieve the value.
+ * spu/jsre.h: Remove the now unused syscall_out_t.
+ * spu/access.c: Use the __send_to_ppe result instead of the slot 0
+ value, remove unused syscall_out_t variable.
+ * spu/close.c: Ditto.
+ * spu/dup.c: Ditto.
+ * spu/fstat.c: Ditto.
+ * spu/ftruncate.c: Ditto.
+ * spu/gettimeofday.c: Ditto.
+ * spu/lseek.c: Ditto.
+ * spu/open.c: Ditto.
+ * spu/read.c: Ditto.
+ * spu/stat.c: Ditto.
+ * spu/unlink.c: Ditto.
+ * spu/write.c: Ditto.
+
+2007-05-23 Kazu Hirata <kazu@codesourcery.com>
+
+ * m68k/fido.sc (.data): Move .jcr to .text. Catch .got.plt
+ and .got.
+
+2007-05-07 Patrick Mansfield <patmans@us.ibm.com>
+
+ * spu/open.c: Unconditionally set the "mode" to fix a bug where
+ mode was not properly set.
+
+2007-05-03 Kazu Hirata <kazu@codesourcery.com>
+
+ * m68k/fido-_exit.c (_exit): Use stop #0x700.
+
+2007-04-27 Kazu Hirata <kazu@codesourcery.com>
+
+ * m68k/fido.sc: Catch .text.*, .rodata.*, .data.*, .bss.*,
+ .ctor.*, and .dtor.*. Wrap ctor/dtor-related sections with KEEP.
+
+2007-04-04 Patrick Mansfield <patmans@us.ibm.com>
+
+ * spu/syscalls.c: Rename _send_to_ppe __send_to_ppe, and set errno
+ on return from the offload call.
+ * spu/jsre.h: Include sys/syscall.h for the send_to_ppe prototype.
+ * spu/access.c: Call __send_to_ppe instead of _send_to_ppe, and
+ remove the setting of errno.
+ * spu/close.c: Ditto.
+ * spu/dup.c: Ditto.
+ * spu/fstat.c: Ditto.
+ * spu/ftruncate.c: Ditto.
+ * spu/gettimeofday.c: Ditto.
+ * spu/lseek.c: Ditto.
+ * spu/open.c: Ditto.
+ * spu/read.c: Ditto.
+ * spu/stat.c: Ditto.
+ * spu/unlink.c: Ditto.
+ * spu/write.c: Ditto.
+
+2007-03-01 Ben Elliston <bje@au.ibm.com>
+
+ * spu/sbrk.c (sbrk): Adjust the stack pointer vector correctly so
+ that GCC runtime stack checking works. Handle the backchain, too.
+
+2007-02-21 Patrick Mansfield <patmans@us.ibm.com>
+
+ * spu/gettimeofday.c: New file which adds SPU gettimeofday.
+ * spu/jsre.h: Remove time, add gettimeofday.
+ * spu/Makefile.in: Ditto.
+
+2007-02-21 Hans-Peter Nilsson <hp@axis.com>
+
+ * cris/crt0.S: Use jump, not ba, to skip the interrupt table. Use
+ "setf", not "nop", for common_v10_v32 compatibility.
+ Move out interrupt table to irqtable.S. Include here for non-ELF.
+ * cris/irqtable.S: Extracted from cris/crt0.S. Provide per-entry
+ weak default stub definitions.
+ * cris/crtn.c: Use "setf", not "nop", for common_v10_v32
+ compatibility.
+ * cris/setup.S [__arch_common_v10_v32]: Return.
+ * cris/Makefile.in (BSP_OBJS): Add irqtable.o.
+
+2007-02-15 Nick Clifton <nickc@redhat.com>
+
+ * sparc/cygmon.ld.src: Link .rodata.* input sections into .text
+ output section.
+ * sparc/cygmon-sparc64-ld.src: Likewise.
+
+2007-02-08 Dave Brolley <brolley@redhat.com>
+
+ * mep: New target directory.
+ * README: Add MeP.
+ * configure.in: Add support for MeP.
+ * configure: Regenerated.
+ * mep/configure.in: New file.
+ * mep/configure: Ditto.
+ * mep/Makefile.in: Ditto.
+ * mep/aclocal.m4: Ditto.
+ * mep/crt0.S: Ditto.
+ * mep/crtn.S: Ditto.
+ * mep/sim-crt0.S: Ditto.
+ * mep/sim-crtn.S: Ditto.
+ * mep/fmax.ld: Ditto.
+ * mep/gcov-io.h: Ditto.
+ * mep/gmap_default.ld: Ditto.
+ * mep/handlers.c: Ditto.
+ * mep/h_reset.c: Ditto.
+ * mep/isatty.c: Ditto.
+ * mep/mep-bb.c: Ditto.
+ * mep/mep-gmon.c: Ditto.
+ * mep/min.ld: Ditto.
+ * mep/read.c: Ditto.
+ * mep/sbrk.c: Ditto.
+ * mep/sdram-crt0.S: Ditto.
+ * mep/sdram-crtn.S: Ditto.
+ * mep/simnovec-crt0.S: Ditto.
+ * mep/simple.ld: Ditto.
+ * mep/simsdran-crt0.S: Ditto.
+ * mep/syscalls.S: Ditto.
+ * mep/write.c: Ditto.
+
+2007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>
+
+ * spu/syscalls.c: Replace vector with __vector.
+
+2007-01-09 Ben Elliston <bje@au.ibm.com>
+
+ * spu/exit.c (_exit): Finish with an infinite loop to eliminate a
+ warning about this noreturn function returning.
+
+2007-01-04 Kazu Hirata <kazu@codesourcery.com>
+
+ Merge from newlib-csl-20060320-branch:
+ 2006-12-22 Nathan Sidwell <nathan@codesourcery.com>
+
+ libgloss/
+ * m68k/Makefile.in (CF_ISRS): Remove now shared routines.
+ * m68k/cf-crt0.S (__reset): Define here.
+ * m68k/cf-isrs.c: Share some ISRS. Add aliases for each IRQ slot.
+ * m68k/cf-isv.S: Move to .interrupt_vector section. Make each
+ slot a unique routine.
+ * m68k/cf.sc: Adjust for .interrupt_vector section.
+
+ libgloss/
+ * m68k/Makefile.in (m5273c3): Rename to ...
+ (m5272c3): ... here to fix typo.
+ (m5249c3): New.
+ (CF_BOARDS): Add it.
+
+2006-01-03 Kazu Hirata <kazu@codesourcery.com>
+
+ * arm/Makefile (RDPMON_OBJS): Add _exit.o and _kill.o.
+ (RDIMON_OBJS): Define in terms of RDPMON_OBJS.
+ (rdimon-_exit.o, rdimon-_kill.o): New.
+ * arm/_exit.c, arm/_kill.c: New.
+ * arm/syscalls.c (_exit, _kill): Remove.
+
+2007-01-03 Kazu Hirata <kazu@codesourcery.com>
+
+ Merge from newlib-csl-20060320-branch:
+ 2006-12-22 Nathan Sidwell <nathan@codesourcery.com>
+
+ * m68k/cf-crt0.S (__start): Adjust semihosting.
+
+2007-01-02 Kazu Hirata <kazu@codesourcery.com>
+
+ Merge from newlib-csl-20060320-branch:
+ 2006-12-22 Nathan Sidwell <nathan@codesourcery.com>
+
+ * m68k/cf-hosted.S (__hosted): Adjust semihosting.
+
+2007-01-02 Ben Elliston <bje@au.ibm.com>
+
+ * spu/time.c (time): Cast new sys.time value to unsigned int.
+
+2006-12-25 Kazu Hirata <kazu@codesourcery.com>
+
+ * arm/syscalls.c (_unlink, _system, _rename): Cast arguments
+ to do_AngelSWI to int.
+
+ * arm/licfunc.c (do_AngelSWI): Remove.
+ * arm/syscalls.c (do_AngelSWI): Remove.
+ * arm/swi.h (do_AngelSWI): New.
+
+2006-12-18 Kazu Hirata <kazu@codesourcery.com>
+
+ Merge from newlib-csl-20060320-branch:
+ 2006-12-15 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * m68k/fido-crt0.S (_vector_table): Reference
+ _PrivilegeViolationHandler.
+
+ 2006-12-15 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * m68k/fido-crt0.S (_start): Set %vbr for context 0 in
+ RAM configs.
+ * m68k/fido.sc: Clean up formatting. Add comments. Move
+ stack and heap end to SDRAM for SRAM and SDRAM configurations.
+ Put RedBoot application text in SRAM.
+
+ 2006-12-13 Nathan Sidwell <nathan@codesourcery.com>
+
+ * m68k/Makefile (install_cf): Don't loop over files here. Only
+ install sources for the default multilib.
+ (install_fido): Likewise.
+ (install_io): Install bsps in one go.
+
+ 2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
+ Kazu Hirata <kazu@codesourcery.com>
+
+ * configure.in: Recognize fido-*-*.
+ * configure: Regenerate.
+ * m68k/Makefile.in (CF_ISRS): Use addprefix.
+ (FIDO_CRT0, FIDO_BSP, FIDO_OBJS, FIDO_HANDLERS,
+ FIDO_UNHOSTED_SCRIPTS, FIDO_HOSTED_SCRIPTS, FIDO_SCRIPTS,
+ FIDO_SOURCES, all_fido, fido-%-crt0.o, fido-rom.ld,
+ fido-rom-hosted.ld, fido-sram.ld, fido-sram-hosted.ld,
+ fido-sdram.ld, fido-sdram-hosted.ld, fido-redboot.ld,
+ install_fido): New.
+ * m68k/asm.h (mbb): New.
+ * m68k/configure.in (DO): Check for __mfido__.
+ * m68k/configure: Regenerate.
+ * m68k/fido-_exit.c, m68k/fido-crt0.S, m68k/fido-handler.c,
+ m68k/fido-hosted.S, m68k/fido-sbrk.c, m68k/fido.h,
+ m68k/fido.sc, m68k/fido_profiling.h: New.
+
+2006-12-18 Ben Elliston <bje@au.ibm.com>
+
+ * spu/stat.c (stat): Cast new sys.pathname value to unsigned int.
+
+2006-12-13 Ben Elliston <bje@au.ibm.com>
+
+ * libnosys/_exit.c (_exit): Finish with an infinite loop to
+ eliminate a warning about this noreturn function returning.
+
+2006-12-13 Sa Liu <saliu@de.ibm.com>
+
+ * spu/access.c: New file
+ * spu/dup.c: New file
+ * spu/ftruncate.c: New file
+ * spu/jsre.h: add structures for new functions
+ * spu/time.c: New file
+ * spu/Makefile.in (access.o, dup.o, ftruncate.o, time.o): New targets.
+
+2006-12-12 Ben Elliston <bje@au.ibm.com>
+
+ * configure.in: Remove superfluous semicolons.
+ * configure: Regenerate.
+
+2006-12-11 Kazu Hirata <kazu@codesourcery.com>
+
+ Merge from newlib-csl-20060320-branch:
+ 2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
+ Kazu Hirata <kazu@codesourcery.com>
+
+ * m68k/Makefile.in (CF_ISRS): Use addprefix.
+
+ 2006-11-01 Nathan Sidwell <nathan@codesourcery.com>
+
+ * m68k/Makefile.in (CFLAGS): Do not clear. Add to all compilations.
+ (ARFLAGS): Remove commented out definition.
+
+
+ * m68k/configure.in (DO) Set to list of target cpu families.
+ * m68k/configure: Rebuilt.
+ * m68k/Makefile.in (DO): New.
+ (UNHOSTED_BSP, UNHOSTED_OBJS, HOSTED_BSP, HOSTED_OBJS): Move
+ later.
+ (m5208evb, m5213evb, m52235evb, m5235evb, m5273c3, m5275evb,
+ m5282evb, m5329evb, m5485evb): Move earlier.
+ (all): Add all_$DO dependencies.
+ (all_cf, all_m68k): New targets, depend on cf & m68k bsps as
+ appropriate.
+ (m%-ram.ld, m%-rom.ld, m%-ram-hosted.ld, m%-rom-hosted.ld): Add
+ 'm' prefix.
+ (install): Add install_$DO dependencies.
+ (install_cf, install_m68k): New targets. Perform cf and m68k
+ installs as appropriate.
+ (install_io): New, install the io libraries.
+
+
+ 2006-10-23 Nathan Sidwell <nathan@codesourcery.com>
+
+ * m68k/Makefile.in (CF_CRT0): Rename to CF_CRT0S, separate hosted
+ & unhosted versions.
+ (CF_OBJS): Add cf-isv.o.
+ (CF_SOURCES): Add cf-isv.S.
+ (cf-hosted-crt0.o, cf-unhosted-crt0.o): New targets.
+ * m68k/cf-isv.S: New, broken out of ...
+ * m68k/cf-crt0.S: ... here. Add HOSTED & UNHOSTED differences.
+ * m68k/cf-crt1.c (__start1): Add heap_limit argument.
+ (__heap_limit): Define.
+ * m68k/cf-sbrk.c (__heap_limit): Declare.
+ (sbrk): Adjust for __heap_limit.
+ * m68k/cf.sc: Use different crt0's for hosted & unhosted.
+ Install a separate isv.o file.
+ * m68k/io.h (HOSTED_PUTCHAR): Replace with ...
+ (HOSTED_INIT_SIM): ... this.
+
+
+ 2006-10-20 Nathan Sidwell <nathan@codesourcery.com>
+
+ * m68k/Makefile.in (CF_BOARDS): Add m5275evb.
+ (m5275evb): New board.
+
+
+ 2006-10-20 Vladimir Prus <vladimir@codesourcery.com>
+
+ * m68k/cf.sc: Add linkonce sections and
+ DWARF sections.
+
+
+ 2006-10-07 Nathan Sidwell <nathan@codesourcery.com>
+
+ * m68k/Makefile.in: Adjust Coldfire rules.
+ (BDM_CRT0, BDM_BSP, BDM_OBJS, BDM_ISRS): Rename to ...
+ (CF_CRT0, CF_BSP, CF_OBJS, CF_ISRS): ... here. Adjust.
+ (BDM_OTHER_OBJS): Remove.
+ (BDM_SYSOBJS): Rename to ...
+ (UNHOSTED_OBJS): ... here. Adjust.
+ (UNHOSTED_BSP, HOSTED_OBJS, HOSTED_BSP): New.
+ (CF_HOSTED_SCRIPTS): New.
+ (CF_SCRIPTS, CF_SOURCES): Adjust.
+ * m68k/cf.sc: Add IO library variable.
+ * m68k/bdm-crt0.S, m68k/bdm-crt1.c, m68k/bdm-isrs.c,
+ m68k/bdm-sbrk.c, m68k/bdm-semihost.S: Rename to ...
+ * m68k/cf-crt0.S, m68k/cf-crt1.c, m68k/cf-isrs.c, m68k/cf-sbrk.c,
+ m68k/cf-hosted.S: ... here.
+ * m68k/cf-exit.c: New.
+ * m68k/bdm-gdb.h, m68k/bdm-semihost.h: Merge into ...
+ * m68k/io.h: ... here. Add unhosted support. Adjust conversion
+ function names.
+ * m68k/bdm-gdb.c: Rename to ...
+ * m68k/io-gdb.c: ... here. Adjust names of conversion functions.
+ * m68k/bdm-close.c, m68k/bdm-exit.c, m68k/bdm-fstat.c,
+ m68k/bdm-gettimeofday.c, m68k/bdm-isatty.c, m68k/bdm-lseek.c,
+ m68k/bdm-open.c, m68k/bdm-read.c, m68k/bdm-rename.c,
+ m68k/bdm-stat.c, m68k/bdm-system.c, m68k/bdm-time.c,
+ m68k/bdm-unlink.c, m68k/bdm-write.c: Rename to ...
+ * m68k/io-close.c, m68k/io-exit.c, m68k/io-fstat.c,
+ m68k/io-gettimeofday.c, m68k/io-isatty.c, m68k/io-lseek.c,
+ m68k/io-open.c, m68k/io-read.c, m68k/io-rename.c, m68k/io-stat.c,
+ m68k/io-system.c, m68k/io-time.c, m68k/io-unlink.c,
+ m68k/io-write.c: ... here. Include io.h. Adjust for hosted &
+ unhosted libraries. Adjust names of gdb conversion functions.
+
+
+ 2006-09-29 Nathan Sidwell <nathan@codesourcery.com>
+
+ * m68k/bdm-semihost.S: Add more comments. Make instruction weirder.
+
+ 2006-09-22 Nathan Sidwell <nathan@codesourcery.com>
+
+ * m68k/bdm-crt1.c (hardware_init_hook): Use #defines for CACR bits.
+
+ 2006-09-18 Nathan Sidwell <nathan@codesourcery.com>
+
+ * m68k/Makefile.in: Don't force a frame pointer on the ISRs.
+ * m68k/bdm-crt1.c (__start1): Don't set the VBR here.
+ (hardeare_init_hook): Define weakly. Set VBR here, enable caching
+ if supported.
+
+
+ * m68k/Makefile.in (bdm-semihost.o): Build from bdm-semihost.S.
+ * m68k/bdm-semihost.c: Remove.
+ * m68k/bdm-semihost.S: New.
+ * m68k/bdm-crt0.S: Don't install semihosting trap handler.
+ * m68k/bdm-close.c, bdm-exit.c, bdm-fstat.c, bdm-gettimeofday.c,
+ bdm-isatty.c, bdm-lseek.c, bdm-open.c, bdm-read.c, bdm-rename.c,
+ bdm-stat.c, bdm-system.c, bdm-unlink.c, bdm-write.c): Update.
+ * m68k/bdm-isrs.c: Update comment.
+ * m68k/bdm-semihost.h (BDM_TRAPNUM, BDM_FUNC_REG, BDM_ARG_REG,
+ BDM_TRAP): Remove.
+ (__bdm_semihost): Declare.
+
+
+ 2006-09-15 Nathan Sidwell <nathan@codesourcery.com>
+
+ * m68k/Makefile.in (BDM_OTHER_OBJS): Remove sbrk.o.
+ (BDM_SYSOBJS): Add bdm-sbrk.o.
+ * m68k/bdm-sbrk.c: New.
+
+
+ 2006-09-06 Nathan Sidwell <nathan@codesourcery.com>
+
+ * m68k/Makefile.in (CF_SOURCES): New.
+ (install): Install them.
+
+
+ 2006-09-01 Nathan Sidwell <nathan@codesourcery.com>
+
+ * m68k/cf.sc: Add .jcr section to .text.
+
+2006-12-11 Ben Elliston <bje@au.ibm.com>
+
+ * configure.in: Remove extra whitespace from config_testsuite =
+ VALUE statements to eliminate shell errors.
+ * configure: Regenerate.
+
+2006-12-08 Sa Liu <saliu@de.ibm.com>
+
+ * spu/exit.c (libgloss_exit): Rename from this ..
+ (_exit): .. to this. Overhaul.
+ (exit): Remove.
+ * spu/crt0.S, spu/crti.S, spu/crtn.S: New files.
+ * spu/crt0.C, spu/init.c: Remove.
+ * spu/configure.in (AC_INIT): Check for crt0.S, not crt0.C.
+ * spu/configure: Regenerate.
+ * spu/Makefile.in (crti.o, crtn.o, crt1.o, crt2.o): New targets.
+ (OBJS): Remove init.o.
+ (CRTOBJS): New.
+ (OUTPUTS): Add $(CRTOBJS).
+
+2006-11-27 Jeff Johnston <jjohnstn@redhat.com>
+
+ * mips/crt0.S: Fix preprocessor statements from previous patch
+ to be ANSI.
+
+2006-11-24 Thiemo Seufer <ths@mips.com>
+ Nigel Stephens <nigel@mips.com>
+
+ * mips/crt0.S (_start): Use all available float registers. Don't touch
+ SR_PE on post-mips2 CPUs, it means soft reset there.
+
+2006-11-22 Luca Barbato <lu_zero@gentoo.org>
+
+ * spu/syscalls.c: Include spu_intrinsics.h to provide vector keyword.
+
+2006-11-17 Jeff Johnston <jjohnstn@redhat.com>
+
+ * mn10300/Makefile.in: Add spaces after do in "for" loop.
+
+2006-11-08 Jie Zhang <jie.zhang@analog.com>
+
+ * bfin/configure.in: New.
+ * bfin/crt0.S: New.
+ * bfin/Makefile.in: New.
+ * bfin/syscalls.c: New.
+ * bfin/aclocal.m4: Generate.
+ * bfin/configure: Ditto.
+ * configure.in: Add support for bfin-*-*.
+ * configure: Regenerate.
+ * syscall.h (SYS_argc): Define.
+ (SYS_argnlen): Define.
+ (SYS_argn): Define.
+
+2006-10-10 Thiemo Seufer <ths@mips.com>
+
+ * mips/Makefile.in: Add INCLUDES to local compile rules.
+
+2006-10-06 Jeff Johnston <jjohnstn@redhat.com>
+
+ * Makefile.in: Add CFLAGS_FOR_TARGET and CCASFLAGS to
+ FLAGS_TO_PASS.
+
+2006-10-03 Jeff Johnston <jjohnstn@redhat.com>
+
+ * arm/linux-syscalls0.c: Rewrite bx insn architecture flag check
+ to avoid use of __ARM_ARCH__.
+
+2006-10-02 Nick Clifton <nickc@redhat.com>
+
+ * arm/linux-syscalls0.c: Add arm architecture flag
+ checks around bx insn.
+
+2006-09-07 Masaki Muranaka <monaka@monami-software.com>
+
+ * xstormy16/Makefile.in (clean): Fix a mismatched parenthesis.
+
+2006-09-01 Kazu Hirata <kazu@codesourcery.com>
+
+ Merge from newlib-csl-20060320-branch:
+ 2006-08-31 Nathan Sidwell <nathan@codesourcery.com>
+
+ * m68k/bdm-crt1.c: Call hardware_init_hook before copying
+ initialized data.
+
+ * m68k/Makefile.in (CF_BDM_SCRIPTS): Rename to CF_RAM_SCRIPTS.
+ (CF_SCRIPTS): Update.
+ (%-bdm.ld): Rename to %-ram.ld.
+
+ 2006-08-25 Nathan Sidwell <nathan@codesourcery.com>
+
+ * m68k/Makefile.in (DBUG_BSP, DBUG_OBJS): Remove.
+ (BDM_CRT0): New.
+ (BDM_OBJS): Add bdm-crt1.o.
+ (BDM_OTHER_OBJS): Remove print.o putnum.o
+ (CF_BOARDS): New.
+ (CF_BDM_SCRIPTS): Generated name of ram scripts.
+ (CF_ROM_SCRIPTS): Generated name of rom scripts.
+ (CF_SCRIPTS): Adjust.
+ (all): Add BDM_CRT0.
+ (bdm-crt0.o, bdm-crt1.o): New targets.
+ (bdm-isv.o): Remove.
+ (m5208evb, m5213evb, m52235evb, m5235evb, m5273c3, m5282evb,
+ m5329evb, m5485evb): New.
+ (%-bdm.ld, %-rom.ld): New. Replace individual linker script rules.
+ (install): Remove DBUG installs.
+ * m68k/bdm-crt0.S: New.
+ * m68k/bdm-crt1.c: New.
+ * m68k/bdm-exit.c: Call __reset.
+ * m68k/bdm-isv.c: Remove.
+ * m68k/cf.sc: Adjust to produce either rom or ram images.
+ * m68k/dbug-exit.S, m68k/dbug-inbyte.S, m68k/dbug-outbyte.S: Remove.
+
+ 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
+
+ Bug 844
+ * m68k/cf.sc: Set entry point to _start.
+ * m68k/crt0.X (_start): New name for entrypoint
+ (start): Weak alias for start.
+
+ 2006-06-09 Nathan Sidwell <nathan@codesourcery.com>
+
+ * m68k/bdm-system.c (_system): Support system(NULL).
+
+ 2006-06-08 Nathan Sidwell <nathan@codesourcery.com>
+
+ * m68k/bdm-system.c (_system): Properly encode non failure exit
+ code.
+
+ 2006-06-05 Nathan Sidwell <nathan@codesourcery.com>
+
+ * m68k/Makefile.in (BDM_SYSOBJS): Remove bdm-inbyte.o.
+ Add bdm-time.o.
+ * m68k/bdm-close.c: Add copyright notice.
+ * m68k/bdm-fstat.c: Add copyright notice.
+ * m68k/bdm-gettimeofday.c: Add copyright notice.
+ * m68k/bdm-inbyte.c: Remove.
+ * m68k/bdm-isatty.c: Add copyright notice.
+ * m68k/bdm-lseek.c: Add copyright notice. Fix &/| thinko.
+ * m68k/bdm-open.c: Add copyright notice.
+ * m68k/bdm-read.c: Add copyright notice.
+ * m68k/bdm-rename.c: Add copyright notice.
+ * m68k/bdm-stat.c: Add copyright notice.
+ * m68k/bdm-system.c: Add copyright notice.
+ * m68k/bdm-time.c: New.
+ * m68k/bdm-unlink.c: Add copyright notice.
+ * m68k/bdm-write.c: Add copyright notice.
+
+ 2006-05-25 Nathan Sidwell <nathan@codesourcery.com>
+
+ * m68k/Makefile.in (m52235-dbug.ld, m52235-bdm.ld): New
+ scripts.
+
+ 2006-05-24 Nathan Sidwell <nathan@codesourcery.com>
+
+ * m68k/Makefile.in (BDM_SYSOBJS): Remove bdm-outbyte.o.
+ * m68k/bdm-outbyte.c: Delete.
+ * m68k/bdm-semihost.h (BDM_OUTBYTE): Mark as obsolete.
+
+ 2006-05-22 Sandra Loosemore <sandra@codesourcery.com>
+
+ * m68k/bdm-semihost.h: Add new constants for additional
+ semihosting functions. Add new BDM_TRAP macro to encapsulate
+ inline asm.
+ * m68k/bdm-exit.c (_exit): Use new BDM_TRAP macro.
+ * m68k/bdm-outbyte.c (outbyte): Ditto.
+ * m68k/bdm-isrs.c, m68k/bdm-isv.c: Former BDM_TRAP
+ now called BDM_TRAPNUM.
+ * m68k/bdm-gdb.h, m68k/bdm-gdb.c: New files
+ containing declarations and conversion functions for GDB's fileio
+ protocol.
+ * m68k/bdm-close.c: New file to define corresponding function.
+ * m68k/bdm-fstat.c: Ditto.
+ * m68k/bdm-gettimeofday.c: Ditto.
+ * m68k/bdm-isatty.c: Ditto.
+ * m68k/bdm-lseek.c: Ditto.
+ * m68k/bdm-open.c: Ditto.
+ * m68k/bdm-read.c: Ditto.
+ * m68k/bdm-rename.c: Ditto.
+ * m68k/bdm-stat.c: Ditto.
+ * m68k/bdm-system.c: Ditto.
+ * m68k/bdm-unlink.c: Ditto.
+ * m68k/bdm-write.c Ditto.
+ * m68k/Makefile.in: Add dependencies for new files.
+
+ 2006-03-29 Nathan Sidwell <nathan@codesourcery.com>
+
+ * m68k/bdm-isv.c (software_init_hook): Fix trap numbering.
+
+ * m68k/Makefile.in (CF_SCRIPTS): Add m5329 board.
+ Reorder.
+ (*-dbug.ld, *-bdm.ld): Add appropriate IO definition.
+ (m5329evb-dbug.ld, m5329evb-bdm.ld): New.
+ * cf.sc (GROUP): Revert previous change. Add IO library.
+
+ * m68k/Makefile.in (BDM_BSP, BDM_OBJS, BDM_ISRS): New.
+ (CF_SCRIPTS): Rename dbug scripts. Add bdm scripts. Add m5485
+ scripts.
+ (all): Add new targets.
+ (BDM_BSP): New target.
+ (bdm-isv.o, bdm-exit.o, bdm-outbyte.o, bdm-semihost.o): New
+ targets.
+ (BDM_ISRS): New targets.
+ (m5208evb.ld, m5213evb.ld, m5235evb.ld, m5272c3.ld, m5282evb.ld):
+ Rename and adjust.
+ (m5485evb-dbug): New.
+ (m5208evb-bdm.ld, m5213evb-bdm.ld, m5235evb-bdm.ld,
+ m5272c3-bdm.ld, m5282evb-bdm.ld, m5485evb-bdm.ld): New.
+ (install): Add BDM_BSP.
+ * m68k/bdm-exit.c: New
+ * m68k/bdm-inbyte.c: New
+ * m68k/bdm-outbyte.c: New
+ * m68k/bdm-semihost.c: New
+ * m68k/bdm-semihost.h: New
+ * m68k/bdm-isrs.c: New.
+ * m68k/bdm-isv.c: New.
+ * dbug-cf.sc: Renamed to ...
+ * cf.sc: ... here. Add bdm flexibility. Remove GROUP
+
+ 2006-05-22 Sandra Loosemore <sandra@codesourcery.com>
+
+ * m68k/bdm-semihost.h: Add new constants for additional
+ semihosting functions. Add new BDM_TRAP macro to encapsulate
+ inline asm.
+ * m68k/bdm-exit.c (_exit): Use new BDM_TRAP macro.
+ * m68k/bdm-outbyte.c (outbyte): Ditto.
+ * m68k/bdm-isrs.c, m68k/bdm-isv.c: Former BDM_TRAP
+ now called BDM_TRAPNUM.
+ * m68k/bdm-gdb.h, m68k/bdm-gdb.c: New files
+ containing declarations and conversion functions for GDB's fileio
+ protocol.
+ * m68k/bdm-close.c: New file to define corresponding function.
+ * m68k/bdm-fstat.c: Ditto.
+ * m68k/bdm-gettimeofday.c: Ditto.
+ * m68k/bdm-isatty.c: Ditto.
+ * m68k/bdm-lseek.c: Ditto.
+ * m68k/bdm-open.c: Ditto.
+ * m68k/bdm-read.c: Ditto.
+ * m68k/bdm-rename.c: Ditto.
+ * m68k/bdm-stat.c: Ditto.
+ * m68k/bdm-system.c: Ditto.
+ * m68k/bdm-unlink.c: Ditto.
+ * m68k/bdm-write.c Ditto.
+ * m68k/Makefile.in: Add dependencies for new files.
+
+2006-08-30 Kazunori Asayama <asayama@sm.sony.co.jp>
+
+ * spu/syscalls.c: Add a new argument to _send_to_ppe() to
+ specify signal code.
+ * spu/jsre.h: Update declaration of _send_to_ppe().
+ * spu/close.c: Replace _send_to_ppe_0x2101() by _send_to_ppe().
+ * spu/fstat.c: Ditto.
+ * spu/lseek.c: Ditto.
+ * spu/open.c: Ditto.
+ * spu/read.c: Ditto.
+ * spu/stat.c: Ditto.
+ * spu/unlink.c: Ditto.
+ * spu/write.c: Ditto.
+
+2006-08-30 Kazunori Asayama <asayama@sm.sony.co.jp>
+
+ * spu/Makefile.in: Add dependency.
+
+2006-08-24 Paul Brook <paul@codesourcery.com>
+
+ * arm/linux-crt0.c: Disable Arm stub for Thumb-2.
+
+2006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
+
+ * spu/Makefile.in: Add new object files.
+ * spu/syscalls.c: Move each system call to individual file.
+ * spu/jsre.h: Add declaration of _send_to_ppe_0x2101().
+ * spu/close.c: New file. Moved from spu/syscalls.c.
+ * spu/fstat.c: Likewise.
+ * spu/getpid.c: Likewise.
+ * spu/isatty.c: Likewise.
+ * spu/kill.c: Likewise.
+ * spu/lseek.c: Likewise.
+ * spu/open.c: Likewise.
+ * spu/read.c: Likewise.
+ * spu/stat.c: Likewise.
+ * spu/unlink.c: Likewise.
+ * spu/write.c: Likewise.
+
+2006-08-21 David Ung <davidu@mips.com>
+
+ * mips/Makefile.in: Add rule for cygmon.o and pass the -mno-mips16
+ option since it uses the syscall instruction.
+
+2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
+
+ * spu/Makefile.in: Add special compiler
+ options to reduce size.
+
+2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
+
+ * spu/jsre.h(JSRE_STAT): New define.
+ (syscall_stat_t): New type.
+ * spu/syscalls.c(stat): New syscall.
+
+2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
+
+ * configure.in: Add spu support.
+ * configure: Regenerated.
+ * spu/Makefile.in: New file.
+ * spu/aclocal.m4: Ditto.
+ * spu/configure: Ditto.
+ * spu/configure.in: Ditto.
+ * spu/crt0.c: Ditto.
+ * spu/exit.c: Ditto.
+ * spu/init.c: Ditto.
+ * spu/jsre.h: Ditto.
+ * spu/sbrk.c: Ditto.
+ * spu/syscalls.c: Ditto.
+
+2006-07-05 Shaun Jackman <sjackman@gmail.com>
+
+ * arm/linux-crt0.S: Remove file.
+ * arm/linux-crt0.c: New file. Supports PIC code.
+
+2006-07-04 Shaun Jackman <sjackman@gmail.com>
+
+ * arm/linux-syscalls0.S (ftruncate, getegid, geteuid, getgid,
+ getgroups, getpgid, getpgrp, getuid, lchown, pause, pipe,
+ setpgid, setgid, setsid, setuid, sigprocmask, sync, uname): New
+ system call.
+
+2006-06-30 DJ Delorie <dj@redhat.com>
+
+ * m32c/crt0.S (done_inilist): Fix dwarf2 address sizes.
+
+2006-06-23 Shaun Jackman <sjackman@gmail.com>
+
+ * arm/elf-linux.specs: New file.
+
+2006-06-13 Sandra Loosemore <sandra@codesourcery.com>
+
+ * arm/syscalls.c (_unlink, isatty, _system, _rename):
+ Make them do something useful in the ARM_RDI_MONITOR case.
+
+2006-06-08 Fred Fish <fnf@specifix.com>
+
+ * mips/idt.ld, mips/idt32.ld, mips/idt64.ld, mips/nullmon.ld,
+ mips/pmon.ld: Keep special sections generated by mips gcc.
+
+2006-06-05 Shaun Jackman <sjackman@gmail.com>
+
+ * arm/linux-syscalls0.S (reboot): Remove.
+ * arm/linux-syscalls1.c (reboot): New function.
+
2006-06-05 Shaun Jackman <sjackman@gmail.com>
* arm/syscalls.c (kill) [ARM_RDI_MONITOR]: Use the signal
2006-05-30 Shaun Jackman <sjackman@gmail.com>
- * arm/Makefile.in: Add Linux syscall interface.
- * arm/linux-crt0.S: New file.
- * arm/linux-syscall.h: New file.
- * arm/linux-syscalls0.S: New file.
- * arm/linux-syscalls1.c: New file.
+ * arm/Makefile.in: Add Linux syscall interface.
+ * arm/linux-crt0.S: New file.
+ * arm/linux-syscall.h: New file.
+ * arm/linux-syscalls0.S: New file.
+ * arm/linux-syscalls1.c: New file.
2006-05-23 Fred Fish <fnf@specifix.com>