Commit Graph

393 Commits

Author SHA1 Message Date
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
Mark Salter 19612220a3 Provide interrupt routine symbols which forward interrupts to user application vectors. 2002-01-15 14:19:49 +00:00
Mark Salter f062174ba5 *** empty log message *** 2002-01-15 13:37:33 +00:00
Mark Salter f2314e38c2 Rename stub app to eva_stub.elf and add it to install list. 2002-01-15 13:36:54 +00:00
Mark Salter 62a25ce17c Add ARM support 2002-01-07 18:12:32 +00:00
Geoffrey Keating f6eff1c046 In newlib/:
2001-12-22  Geoffrey Keating  <geoffk@redhat.com>
	    Catherine Moore  <clm@redhat.com>
	    Richard Henderson  <rth@redhat.com>
	    Corinna Vinschen  <vinschen@redhat.com>

	* configure.host: Add support for xstormy16.
	* libc/include/machine/ieeefp.h: Add support for xstormy16.
	* libc/include/machine/setjmp.h: Add support for xstormy16.
	* libc/include/sys/config.h: Add support for xstormy16.
	* libc/machine/xstormy16/Makefile.am: New file.
	* libc/machine/xstormy16/Makefile.in: New file.
	* libc/machine/xstormy16/aclocal.m4: New file.
	* libc/machine/xstormy16/configure: New file.
	* libc/machine/xstormy16/configure.in: New file.
	* libc/machine/xstormy16/setjmp.S: New file.

In libgloss/:
2001-12-22  Geoffrey Keating  <geoffk@redhat.com>
	    Mark Salter  <msalter@redhat.com>
	    Catherine Moore  <clm@redhat.com>
	    Richard Henderson  <rth@redhat.com>

	* configure.in: Add xstormy16.
	* libnosys/configure.in: Add xstormy16.
	* configure: Regenerated.
	* libnosys/configure: Regenerated.
	* xstormy16/Makefile.in: New file.
	* xstormy16/close.c: New file.
	* xstormy16/configure: New file.
	* xstormy16/configure.in: New file.
	* xstormy16/crt0.s: New file.
	* xstormy16/crt0_stub.s: New file.
	* xstormy16/crti.s: New file.
	* xstormy16/crtn.s: New file.
	* xstormy16/eva_app.c: New file.
	* xstormy16/eva_app.ld: New file.
	* xstormy16/eva_stub.ld: New file.
	* xstormy16/fstat.c: New file.
	* xstormy16/getpid.c: New file.
	* xstormy16/kill.c: New file.
	* xstormy16/lseek.c: New file.
	* xstormy16/open.c: New file.
	* xstormy16/sbrk.c: New file.
	* xstormy16/sim_high.ld: New file.
	* xstormy16/stat.c: New file.
	* xstormy16/syscalls.S: New file.
	* xstormy16/syscalls.m4: New file.
	* xstormy16/unlink.c: New file.
	* xstormy16/xstormy16_stub.c: New file.
2001-12-22 22:47:58 +00:00
Jeff Johnston 775f23011b 2001-10-31 Jeff Johnston <jjohnstn@redhat.com>
* m32r/Makefile.in: Use gdb stub set by configure.
        * m32r/configure.in: Add a special macro for testing
        c compiler without building executable.  Add setting of
        GDBSTUB.
        * m32r/configure: Regenerated.
2001-10-31 19:26:13 +00:00
Jeff Johnston 75241b15db 2001-10-31 David Howells <dhowells@redhat.com>
* syscall.h: Added SYS_times, SYS_gettimeofday, SYS_link values.
        * mn10300/times.c: Renamed "times" to "_times" so that it can be
        referenced by newlib.
        * mn10300/cygmon.c: New file.
        * mn10300/crt0_redboot.S: Ditto.
        * mn10300/crt0_cygmon.S: Ditto.
        * mn10300/Makefile.in: Added RedBoot and Cygmon support.
        * mn10300/configure.in: Changed to allow for future
        evaluation boards to be added.
        * mn10300/configure: Regenerated.
2001-10-31 19:19:08 +00:00
Michael Meissner b5b5b0d4de Add ddb-kseg0.ld and switch to kseg1 if sizing memory from kseg0 2001-10-18 02:24:30 +00:00
Eric Christopher 542097acd0 Fix typo. 2001-09-15 07:47:52 +00:00
Eric Christopher bf0338856a 2001-09-14 Eric Christopher <echristo@redhat.com>
* mips/configure.in: Add mipsisa32 support.
        * mips/configure: Regenerate.
        * mips/idt32.ld: New file.
        * mips/idt64.ld: New file.
2001-09-14 18:40:47 +00:00
Michael Meissner 24b1ccc647 If -mfp32, do not enable 64-bit FPR registers on mips3 2001-09-11 14:24:35 +00:00
Jim Blandy c4b7e16dd9 Add support for GDB monitor-style I/O.
* m68k/idp-outbyte.c (raw_outbyte): Renamed from outbyte; made
static.
(outbyte): Call raw_outbyte; if GDB_MONITOR_OUTPUT is #defined,
precede the byte with a ^O character.
* m68k/idpgdb.ld: New linker script.
* m68k/Makefile.in (IDPGDB_LDFLAGS, IDPGDB_BSP, IDPGDB_OBJS): New
variables.
(all): Add ${IDPGDB_BSP} to the list of things to build.
(${IDPGDB_BSP}, idp-gdb-outbyte.o, idpgdb-test.x,
idpgdb-test.srec, idpgdb-test.dis, idpgdb-test): New rules.
(install): Install the IDPGDB stuff, too.
2001-09-10 23:47:42 +00:00
Eric Christopher 0a7908a68e 2001-03-30 Richard Henderson <rth@redhat.com>
Eric Christopher  <echristo@redhat.com>

	* mips/crt0.S: Fix for .init/.fini sections.
2001-08-31 20:18:49 +00:00
Eric Christopher d9204f54e1 2001-08-30 Richard Henderson <rth@redhat.com>
Eric Christopher  <echristo@redhat.com>

	* mips/idt.ld: Rewrite for .init/.fini sections.
2001-08-31 19:22:51 +00:00
Jonathan Larmour 7ca4612da3 * mips/Makefile.in (jmr3904-io.o): Remove bogus use of `-mips3.' 2001-08-22 00:22:58 +00:00
Jeff Johnston 07eb702fec 2001-07-18 Jeff Johnston <jjohnstn@redhat.com>
* hp74x/configure: Regenerated with current autoconf.
        * m32r/configure: Ditto.
        * m68k/configure: Ditto.
        * pa/configure: Ditto.
        * sparc/configure: Ditto.
2001-07-18 21:26:59 +00:00
Geoffrey Keating d775a1ab08 * rs6000/simulator.S (dup): New syscall. 2001-03-09 07:31:34 +00:00
Jeff Johnston 09ccfcee50 2001-02-28 Will Cohen <wcohen@redhat.com>
* src/libgloss/m68k/Makefile.in: Updated copyright and
         added rules to build simulator related libraries.
        (SIM_SCRIPTS): New variable.
        (SIM_LDFLAGS): New variable.
        (SIM_BSP): New variable.
        (SIM_CRT0): New variable.
        (SIM_OBJS): New variable.
        (SIM_TEST): New variable.
        (SIM_INSTALL): new variable.
        * src/libgloss/m68k/sim-abort.c: New file.
        * src/libgloss/m68k/sim-crt0.S: New file.
        * src/libgloss/m68k/sim-errno.c: New file.
        * src/libgloss/m68k/sim-funcs.c: New file.
        * src/libgloss/m68k/sim-inbyte.c: New file.
        * src/libgloss/m68k/sim-print.c: New file.
        * src/libgloss/m68k/sim-sbrk.c: New file.
        * src/libgloss/m68k/sim.ld: New file.
        * src/libgloss/m68k/simulator.S: New file.
2001-02-28 18:41:57 +00:00
Jeff Johnston 13204a94fa 2001-02-22 Jeff Johnston <jjohnstn@redhat.com>
* mn10200/access.c: With DJ Delorie's permission, this code is
        now freely modifiable with no reference to "copying.dj".
        * mn10300/access.c: Ditto.
2001-02-22 22:23:23 +00:00
Jeff Johnston ea8a3d42ab 2001-02-06 Will Cohen <wcohen@redhat.com>
* rs6000/sim-errno.c (__errno): Removed.
        (_cerror): Use re-entrant version of errno.
2001-02-06 19:17:20 +00:00
Geoffrey Keating f589a77e00 * rs6000/simulator.S: Use conditional returns for documentation
purposes.
(access): Add new syscall.
2000-09-05 18:25:02 +00:00
Alexandre Oliva e6dfde6f82 * mn10300/time.c (time): Set *tloc, since the sim doesn't. 2000-05-24 19:49:44 +00:00
Ranjith Kumaran 03261851a1 20000317 sourceware import 2000-03-17 22:48:54 +00:00