Commit Graph

73 Commits

Author SHA1 Message Date
Jeff Johnston eae4b2b0bc Regenerated using different version of autoconf. 2003-04-28 17:19:05 +00:00
Nick Clifton 71853f09cc Add support for h8300hn and h8300sn 2003-04-24 12:36:08 +00:00
Nick Clifton 5ee5024076 Handle the simulation of programs that load with data in ROM which needs to be
copied into RAM before execution starts.
2003-04-23 17:54:00 +00:00
Jeff Johnston 62b0142655 2003-04-17 Inaoka Kazuhiro <inaoka.kazuhiro@renesas.com>
* m32r/Makefile.in: Add multilib support.
        * m32r/configure.in: Ditto.
        * m32r/configure: Regenerated.
2003-04-17 19:41:54 +00:00
Nick Clifton 08c76ba660 Add .jcr section mapping. 2003-04-16 11:53:46 +00:00
Jeff Johnston a028e70029 2003-04-09 Chris Demetriou <cgd@broadcom.com>
* mips/cfe.c (_flush_cache): New function.
2003-04-10 20:07:57 +00:00
Richard Sandiford f4dd8875de * mips/nullmon.c (_ftext, _end): Adjust declaration.
(get_mem_info): Rework.
2003-02-18 19:37:04 +00:00
Richard Sandiford 325d68a204 * mips/crt0.S (zerobss): Reload __memsize after call. 2003-02-18 19:32:24 +00:00
Jeff Johnston f8054a3854 2003-02-17 Chris Demetriou <cgd@broadcom.com>
* mips/cfe.c (__cfe_handle, __cfe_entrypt): Fix types.
2003-02-17 23:45:26 +00:00
Jeff Johnston 110363c8a2 2003-02-05 Chris Demetriou <cgd@broadcom.com>
* mips/configure.in (mipsisa32el-*-*): Handle in the same way
	as mipsisa32-*-*.
	(mipsisa32r2-*-*, mipsisa32r2el-*-*): New, handled in the same
	way as mipsisa32-*-*.
	* mips/configure: Regenerate.
2003-02-05 17:10:43 +00:00
Jeff Johnston 3a357eadba 2003-02-05 Chris Demetriou <cgd@broadcom.com>
* mips/cfe.c (hardware_hazard_hook): Move...
	* mips/cfe_prestart.S (hardware_hazard_hook): To here,
	and translate into assembly.
2003-02-05 17:01:33 +00:00
Richard Sandiford afa53b05b0 * mips/crt0.S (_start): Allocate 64 bytes of stack instead of 32.
Pass an empty argv and envp to main().
2003-01-08 12:54:29 +00:00
Richard Sandiford c4c533c962 * mips/configure.in (mips64vr-elf, mips64vrel-elf): New config.
* mips/configure: Regenerate.
2003-01-08 12:52:49 +00:00
Jeff Johnston 0978efa066 2002-01-07 Chris Demetriou <cgd@broadcom.com>
* crt0.S: Check for definition of __mips64 rather than
	checking (__mips < 3).
	* pmon.S: Likewise.
	* cygmon.c (sysCall): Avoid multi-line string literals.
2003-01-07 21:10:54 +00:00
Jeff Johnston 2d210c7fd1 2002-11-12 Jeff Johnston <jjohnstn@redhat.com>
*  mips/Makefile.in: Add cygmon support.
        *  mips/configure.in: Ditto.
        *  mips/configure: Regenerated.
        *  mips/crt0_cygmon.S: New file.
        *  mips/cygmon.c: Ditto.
        *  mips/pmon.S: Minor formatting and copyright changes.
        *  mips/crt0.S: Ditto.
2002-11-12 23:14:24 +00:00
Jeff Johnston 5b30331167 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
* arm/Makefile.in: Add support for new pid specs.
        * arm/coff-iq80310.specs: Change to allow future support.
        * arm/elf-iq80310.specs: Ditto.
        * arm/elf-redboot.specs: Ditto.
        * arm/coff-redboot.ld: Add EH frame support.
        * arm/redboot-crt0.S: Add optional code to clear bss without
        memset.
        * arm/coff-pid.specs: New file.
        * arm/elf-pid.specs: New file.
2002-11-07 00:25:57 +00:00
Jeff Johnston c27382bdbe 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
Catherine Moore  <clm@redhat.com>

        * m32r/configure.in:  Do not require gcc to be able to link an
        executable.
        * m32r/configure: Regenerate.
        * m32r/Makefile.in: Directly reference gdbstub.
2002-11-06 22:54:52 +00:00
Jeff Johnston 664252b754 2002-10-25 Bernd Schmidt <bernds@redhat.com>
* i386/cygmon.ld: Add entry for .gcc_except_table.

2000-10-25  Mark Salter  <msalter@redhat.com>

        * i386/cygmon-crt0.S: Use __USER_LABEL_PREFIX__ for symbols. Always
        use __start for start symbol.
        * i386/cygmon-salib.c: Don't build __do_global_[cd]tors for AOUT.
        Disable file I/O extensions to make Plum Hall happy.
        * i386/cygmon.ld: Set __start as entry point.
        * i386/Makefile.in: Support IS_AOUT.
        * i386/configure.in: Support IS_AOUT.
        * i386/configure: Regenerated.
        * i386/cygmon-salib.c:
        * i386/cygmon-gmon.c (_mcount): It's _etext.
2002-10-25 19:18:46 +00:00
Jeff Johnston 8dec3c152c Regenerated with latest autoconf. 2002-10-25 19:05:34 +00:00
Jeff Johnston 218ef1c0ab Regenerate to use latest autoconf tools. 2002-10-25 19:00:54 +00:00
Jeff Johnston 9e60b9a99c 2002-10-25 Jeff Johnston <jjohnstn@redhat.com>
* configure.in: Clarify some of the triplets so unsupported
        configurations don't pass through.
        * configure: Regenerated.
2002-10-25 18:35:21 +00:00
Jeff Johnston f545964009 2002-10-04 Michael Snyder <msnyder@redhat.com>
* m32r/m32r-lib.c (exceptionHandler): Fix computation of
        exception vector address, as suggested by Mitsubishi.
        (getExceptionVector): Ditto.
2002-10-18 21:09:02 +00:00
Jeff Johnston 2ed0e93ccc 2002-10-18 Stephane Carrez <stcarrez@nerim.fr>
* m68hc11/syscalls.c (sbrk): Use ptrdiff_t for increment parameter.
2002-10-18 20:54:37 +00:00
Richard Sandiford c50e457724 * mips/ddb.ld: KEEP .init and .fini.
* mips/ddb-kseg0.ld: Likewise.
2002-10-07 16:24:00 +00:00
Thomas Fitzsimmons 710c0fc4b7 * mips/cfe.ld (STARTUP): New definition.
* mips/ddb-kseg0.ld (STARTUP): Likewise.
        * mips/ddb.ld (STARTUP): Likewise.
        * mips/dve.ld (STARTUP): Likewise.
        * mips/idt.ld (STARTUP): Likewise.
        * mips/jmr3904app-java.ld (STARTUP): Likewise.
        * mips/jmr3904app.ld (STARTUP): Likewise.
        * mips/jmr3904dram-java.ld (STARTUP): Likewise.
        * mips/jmr3904dram.ld (STARTUP): Likewise.
        * mips/lsi.ld (STARTUP): Likewise.
        * mips/nullmon.ld (STARTUP): Likewise.
        * mips/pmon.ld (STARTUP): Likewise.
2002-08-01 20:21:23 +00:00
Jeff Johnston 63a93e9dd6 2002-07-23 Stephane Carrez <stcarrez@nerim.fr>
* README: Mention 68HC11/68HC12 support.
        * configure.in: Recognize m6811-elf and m6812-elf.
        * configure: Regenerated.
        * m68hc11/Makefile.in: New file.
        * m68hc11/configure.in: New file.
        * m68hc11/configure: New file.
        * m68hc11/crt0.S: New file.
        * m68hc11/sci-inout.S: New file for 68hc11/68hc12 sio.
        * m68hc11/sim-valid-m68hc11.ld: New file.
        * m68hc11/sim-valid-m68hc12.ld: New file.
        * m68hc11/syscalls.c: New file.
2002-07-23 21:56:27 +00:00
Jeff Johnston e1f9c8e824 2002-07-22 Aldy Hernandez <aldyh@redhat.com>
* rs6000/simulator.S (gettimeofday): New.
        (getrusage): New.
2002-07-22 19:26:25 +00:00
Jeff Johnston 3b0f85c0f1 2002-07-18 Chris Demetriou <cgd@broadcom.com>
* read.c (read): Don't assign past end of buffer, fix return value.
2002-07-18 20:04:59 +00:00
Jeff Johnston ce823baba0 2002-07-12 Chris Demetriou <cgd@broadcom.com>
* mips/Makefile.in (GENOBJS2): New variable to name other
        commonly used objects.
        (DVEOBJS, JMR3904OBJS): Reference GENOBJS2.

        * mips/Makefile.in: Add support for Broadcom CFE firmware.
        * mips/configure.in: (mipsisa32*-*-*, *): Likewise.
        * mips/configure: Regenerate.
        * mips/cfe.c: New file.
        * mips/cfe.ld: New file.
        * mips/cfe_api.c: New file.
        * mips/cfe_api.h: New file.
        * mips/cfe_api_int.h: New file.
        * mips/cfe_error.h: New file.
        * mips/cfe_prestart.S: New file.
2002-07-12 17:55:04 +00:00
Jeff Johnston 451e452847 2002-07-12 Chris Demetriou <cgd@broadcom.com>
* mips/array.ld (hardware_exit_hook, hardware_hazard_hook): New
        symbols for optionally-provided functions.
        * mips/ddb-kseg0.ld: Likewise.
        * mips/ddb.ld: Likewise.
        * mips/dve.ld: Likewise.
        * mips/idt.ld: Likewise.
        * mips/idt32.ld: Likewise.
        * mips/idt64.ld: Likewise.
        * mips/idtecoff.ld: Likewise.
        * mips/jmr3904app-java.ld: Likewise.
        * mips/jmr3904app.ld: Likewise.
        * mips/jmr3904dram-java.ld: Likewise.
        * mips/jmr3904dram.ld: Likewise.
        * mips/lsi.ld: Likewise.
        * mips/nullmon.ld: Likewise.
        * mips/pmon.ld: Likewise.
        * mips/crt0.S: Invoke hardware_exit_hook and hardware_hazard_hook
        functions if they are provided.
        (_exit): Handle __embedded_pic properly.
2002-07-12 15:37:04 +00:00
Dave Brolley fb92103141 Fix formatting of ;; for frv. 2002-06-18 21:41:22 +00:00
Dave Brolley c2b0dec2dc 2002-06-18 Dave Brolley <brolley@redhat.com>
From Catherine Moore, Michael Meissner, Richard Sandiford:
	* configure.in: Support frv*-*-*.
	* frv/Makefile.in: New file.
	* frv/configure: New file.
	* frv/configure.in: New file.
	* frv/crt0.S: New file.
	* frv/fstat.c: New file.
	* frv/getpid.c: New file.
	* frv/isatty.c: New file.
	* frv/kill.c: New file.
	* frv/print.c: New file.
	* frv/putnum.c: New file.
	* frv/sbrk.c: New file.
	* frv/sim-close.S: New file.
	* frv/sim-exit.S: New file.
	* frv/sim-inbyte.c: New file.
	* frv/sim-lseek.S: New file.
	* frv/sim-open.S: New file.
	* frv/sim-read.S: New file.
	* frv/sim-time.c: New file.
	* frv/sim-unlink.S: New file.
	* frv/sim-write.S: New file.
	* frv/stat.c: New file.
2002-06-18 21:19:17 +00:00
Thomas Fitzsimmons 558ab81ed1 * libnosys/acconfig.h (HAVE_SECTION_ATTRIBUTES): New macro.
* libnosys/configure.in: Check gcc's support for section attributes.
	* libnosys/warning.h: Have link_warning expand to nothing if gcc
	does not support section attributes.
2002-05-11 20:48:04 +00:00
Jonathan Larmour 6990dc5f3b * arm/syscall.h: New file. To define extra syscall values for RedBoot.
* arm/redboot-syscalls.c (_close): Fix setting of errno value.
	(_lseek): Ditto.
	(_open): Ditto.
	(_write): Ditto.
	(_read): Ditto.
	(_rename): New function.
	(_system): Ditto.
	(_stat): Ditto.
	(_unlink): Call a syscall for this now.
	(isatty): Ditto.
	(_fstat): Ditto.
	(_gettimeofday): Ditto.
2002-04-29 21:51:25 +00:00
Jeff Johnston 84462018f3 2002-04-17 Joel Sherrill <joel@OARcorp.com>
* debug.h: Change mem_err to volatile to match definition in
        debug.c.
2002-04-17 19:10:37 +00:00
Joel Sherrill 99ad0c63ae 2002-04-17 Joel Sherrill <joel@OARcorp.com>
* sparc/cygmon-salib.c, sparc/erc32-stub.c: Don't use multi-line
	strings.
2002-04-17 17:29:02 +00:00
Jeff Johnston dad32754b9 2002-04-16 Jeff Johnston <jjohnstn@redhat.com>
* m68k/configure.in: Change to use LIB_AC_PROG_CC instead
        of AC_PROG_CC to avoid building an executable in configuration.
        * m68k/configure: Regenerated.
2002-04-16 19:10:48 +00:00
Jeff Johnston 99db4d7356 2002-04-15 Hans-Peter Nilsson <hp@bitrange.com>
* d30v/syscalls.c: #include <time.h>.  Don't use multi-line
        strings.
2002-04-15 20:45:59 +00:00
Jeff Johnston bc1fcb7798 2002-04-15 Hans-Peter Nilsson <hp@bitrange.com>
* m32r/trapmon0.c (__trap0): Don't use multi-line strings.
2002-04-15 19:53:34 +00:00
Mark Salter fb3b3429a4 *** empty log message *** 2002-02-05 18:13:21 +00:00
Mark Salter 2dc2c168c5 Add eh stuff and .jcr. 2002-02-05 18:12:23 +00:00
Mark Salter 61bc57ac89 Add crti to startfile. 2002-02-05 18:11:13 +00:00
Mark Salter 4fa60ba901 Add init/fini support. 2002-02-05 18:09:18 +00:00
Geoffrey Keating 9c2e764253 In ld/ChangeLog:
* scripttempl/xstormy16.sc: Don't allocate extra space for the
	stack.
In libgloss/ChangeLog:
	* xstormy16/Makefile.in (SIM_OBJS): Remove sbrk.o, add
	sim_malloc_start.o.
	* xstormy16/eva_app.ld: Add __malloc_start.
	* xstormy16/sbrk.c: Remove.
	* xstormy16/sim_malloc_start.s: New file.
	* xstormy16/sim_high.ld: Make the stack start immediately at the
	end of the program.
In newlib/ChangeLog:
	* configure.host (xstormy16): Don't use the generic malloc.
	* libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
	* libc/machine/xstormy16/Makefile.in: Regenerate.
	* libc/machine/xstormy16/mallocr.c: New file.
	* libc/machine/xstormy16/tiny-malloc.c: New file.
2002-02-01 18:00:41 +00:00
Michael Meissner 2c8d73598c Allow mips user to override memory size 2002-02-01 17:22:59 +00:00
Mark Salter 3aad7c8a62 *** empty log message *** 2002-01-24 13:34:47 +00:00
Mark Salter 2fed14293b Use __get_memtop to put stack in high memory. 2002-01-24 13:33:55 +00:00
Mark Salter 54542d8a29 (_times): Unconditionally use SYS_times.
(__get_memtop): New funtion to return top of memory.
2002-01-24 13:32:46 +00:00
Mark Salter a240c5e773 *** empty log message *** 2002-01-15 14:21:10 +00:00
Mark Salter f5312760f3 Remove default interrupt routines. 2002-01-15 14:20:37 +00:00