Commit Graph

610 Commits

Author SHA1 Message Date
Jeff Johnston f9fa511d46 2006-02-07 Paul Brook <paul@codesourcery.com>
* arm/crt0.S: Add Thumb-2 startup code.
        * arm/redboot-crt0.S: Ditto.
        * arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
        * arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
        * arm/trap.S: Disable for Thumb-2.
2006-02-07 18:46:23 +00:00
Nathan Sidwell b985a434a0 * mt/ms2.ld (.sram): Correct typo in section names. 2006-01-18 10:57:19 +00:00
Jeff Johnston 6c54812ca3 2006-01-16 Nathan Sidwell <nathan@codesourcery.com>
* mt/Makefile.in (SCRIPTS, CRT0): Add ms2 files.
        (crt0-ms2.o): New target.
        * mt/crt0-ms2.S, mt/exit-ms2.c, mt/ms2.ld, mt/startup-ms2.S: New.
2006-01-16 23:23:30 +00:00
Jeff Johnston ab7eaf6971 2006-01-04 Paul Brook <paul@codesourcery.com>
* m68k/bcc.ld: Add .got.plt and .got
        * m68k/idp.ld: Ditto.
        * m68k/idpgdb: Ditto.
        * m68k/mvme135.ld: Ditto.
        * m68k/sbc5204.ld: Ditto.
        * m68k/sbc5206.ld: Ditto.
        * m68k/sim.ld: Ditto.
2006-01-04 21:30:52 +00:00
DJ Delorie fbe7cb7681 * m32c/crt0.S: Add support for preinit, init, and fini arrays, and
.init and .fini processing.
* m32c/crtn.S: Likewise.
* m32c/exit.S: Likewise.
2005-12-14 03:38:27 +00:00
Jeff Johnston b24dda0b9d 2005-12-13 Nathan Sidwell <nathan@codesourcery.com>
* mt/16-002.ld: Change architecture to 'mt'.  Remove
        SEARCH_DIR.
        * mt/16-003.ld: Likewise.
        * mt/64-001.ld: Likewise.
        * mt/Makefile.in: Change comment to reference 'mt' rather than 'ms1'.
        * mt/crt0.S: Likewise.
2005-12-13 22:59:26 +00:00
Nathan Sidwell 74ecef0dea Rename ms1 to mt, part 1
* config.sub: Replace ms1 arch with mt.  Allow ms1 as alias.
	* configure.in: Replace ms1 arch with mt.
	* configure: Rebuilt.

	* bfd/Makefile.am (ALL_MACHINES, ALL_MACHINES_CFILES,
	BFD32_BACKENDS, BFD32_BACKENDS_CFILES): Replace ms1 with mt.
	(cpu_mt.lo, elf32-mt.lo): Update target and dependency names.
	* bfd/Makefile.in: Rebuilt.
	* bfd/config.bfd: Replace ms1 arch with mt.
	* bfd/configure.in: Replace ms1 files with mt files.
	* bfd/configure: Rebuilt.
	* bfd/elf32-mt.c: Renamed from elf32-ms1.c.  Update include files.
	* bfd/cpu-mt.c: Renamed from cpu-ms1.c.

	* cpu/mt.cpu: Rename from ms1.cpu.
	* cpu/mt.opc: Rename from ms1.opc.

	* binutils/Makefile.am: Replace ms1 files with mt files.
	* binutils/Makefile.in: Rebuilt.
	* binutils/readelf.c (elf/mt.h): Adjust #include.

	* gas/configure.in: Replace ms1 arch with mt arch.
	* gas/configure: Rebuilt.
	* gas/configure.tgt: Replace ms1 arch with mt arch.
	* gas/config/tc-mt.c: Renamed from tc-ms1.c: Update include files.

	* gas/doc/Makefile.am (CPU_DOCS): Replace ms1 files with mt files.
	* gas/doc/Makefile.in: Rebuilt.

	* gas/testsuite/gas/mt: Renamed from ms1 dir.  Update file names as
	needed.
	* gas/testsuite/gas/mt/errors.exp: Replace ms1 arch with mt arch.
	* gas/testsuite/gas/mt/mt.exp: Replace ms1 arch with mt arch.
	* gas/testsuite/gas/mt/relocs.exp: Replace ms1 arch with mt arch.

	* gdb/configure.tgt: Replace ms1 arch with mt arch.
	* gdb/config/mt: Renamed from ms1 dir.  Update file names as needed.
	* gdb/config/mt/mt.mt (TDEPFILES): Replace ms1 file with mt file.

	* include/elf/mt.h: Renamed from ms1.h

	* ld/Makefile.am (ALL_EMULATIONS): Replace ms1 files with mt files.
	(eelf32mt.c): Update target name and dependencies.
	* ld/Makefile.in: Rebuilt.
	* ld/configure.tgt: Replace ms1 arch with mt arch.
	* ld/emulparams/elf32mt.sh: Renamed from elf32ms1.sh. Update
	comment.

	* libgloss/configure.in: Replace ms1 arch with mt arch.
	* libgloss/configure: Rebuilt.
	* libgloss/mt: Renamed from ms1 dir.

	* newlib/configure.host: Replace ms1 arch with mt arch.
	* newlib/libc/machine/mt: Renamed from ms1 dir.

	* opcodes/Makefile.am (CLEANFILES, CGEN_CPUS, MT_DEPS): Replace ms1
	with mt.
	* opcodes/Makefile.in: Rebuilt.
	* opcodes/configure.in: Replace ms1 files with mt files.
	* opcodes/configure: Rebuilt.

	* sid/component/cgen-cpu/mt: Renamed from ms1 dir.  Update file
	names as appropriate.
	* sid/component/cgen-cpu/mt/Makefile.am: Replace ms1 files with mt
	files.
	* sid/component/cgen-cpu/mt/Makefile.in: Rebuilt.
2005-12-12 11:25:07 +00:00
Nathan Sidwell ad83f0cc13 Rename ms1 files to mt files (part 1 -- renames only) 2005-12-12 11:16:41 +00:00
Jeff Johnston e01c5cce75 2005-12-06 Paul Brook <paul@codesourcery.com>
* m68k/bcc.ld: Add .text.*, .rodata.*, .data.* and .bss.*.
        * m68k/idp.ld: Ditto.
        * m68k/idpgdb: Ditto.
        * m68k/mvme135.ld: Ditto.
        * m68k/sbc5204.ld: Ditto.
        * m68k/sbc5206.ld: Ditto.
        * m68k/sim.ld: Ditto.
2005-12-06 22:04:29 +00:00
Jeff Johnston 32e616339a 2005-11-30 Shaun Jackman <sjackman@gmail.com>
* libnosys/Makefile.in (OBJS): Add chown, readlink, and symlink.
        * libnosys/chown.c: New file.
        * libnosys/readlink.c: New file.
        * libnosys/symlink.c: New file.
2005-11-30 23:43:57 +00:00
Jeff Johnston 7c15164f17 2005-11-30 Shaun Jackman <sjackman@gmail.com>
* arm/libcfunc.c (clock, sleep, usleep): New functions.
        * arm/syscalls.c (_clock): New function.
        (_times): Call _clock.
2005-11-30 23:37:14 +00:00
Jeff Johnston b92f9343b3 2005-11-17 Shaun Jackman <sjackman@gmail.com>
* libgloss/arm/libcfunc.c (isatty): Call _isatty. GDB now supports
	the IsTTY SWI that _isatty calls.
2005-11-17 18:56:41 +00:00
Hans-Peter Nilsson d55950ba3a * cris/linunistd.h: Don't redefine errno as extern int. 2005-11-17 12:01:44 +00:00
Jeff Johnston 34da20b26f 2005-10-20 Jeff Johnston <jjohnstn@redhat.com>
* arm/configure.in: Add AC_SUBST for BUILD_CRT0_TRUE and
        BUILD_CRT0_FALSE.
        * arm/configure: Regenerate.
2005-10-20 20:17:50 +00:00
Jeff Johnston 9276ec15a7 2005-10-17 Jeff Johnston <jjohnstn@redhat.com>
* arm/configure.in: Support building crt0.o when syscalls
        are disabled in newlib.
        * arm/configure: Regenerated.
2005-10-17 21:17:17 +00:00
Jeff Johnston dd8ed8c6f2 2005-10-03 James E Wilson <wilson@specifix.com>
* mips/array.ld, mips/cfe.ld, mips/ddb-kseg0.ld, mips/ddb.ld,
        mips/dve.ld, mips/idt.ld, mips/idt32.ld, mips/idt64.ld,
        mips/idtecoff.ld, mips/jmr3904app-java.ld, mips/jmr3904app.ld,
        jmr3904dram-java.ld, mips/jmr3904dram.ld, mips/lsi.ld, mips/nullmon.ld,
        mips/pmon.ld: Add support for .bss.* sections.
2005-10-03 17:29:47 +00:00
Jeff Johnston 3924c5c780 2005-09-23 James E Wilson <wilson@specifix.com>
* mips/array.ld, mips/cfe.ld, mips/ddb-kseg0.ld, mips/ddb.ld,
        mips/dve.ld, mips/idt.ld, mips/idt32.ld, mips/idt64.ld,
        mips/idtecoff.ld, mips/jmr3904app-java.ld, mips/jmr3904app.ld,
        jmr3904dram-java.ld, mips/jmr3904dram.ld, mips/lsi.ld, mips/nullmon.ld,
        mips/pmon.ld: Change x* to x.* in existing linkonce lines.  Add
        support for .gnu.linkonce.b.*.
2005-09-23 15:51:10 +00:00
Jeff Johnston 53fabb7b24 2005-08-30 Jeff Johnston <jjohnstn@redhat.com>
* rs6000/Makefile.in (VPATH): Use colon as separator.
2005-08-30 16:11:27 +00:00
Jeff Johnston b9adb4af26 Fix date stamp. 2005-08-30 16:05:47 +00:00
Aldy Hernandez b12e178425 * ms1/access.c: Change copyright notice. 2005-08-25 22:36:48 +00:00
DJ Delorie 82ef66c933 * m32c/Makefile.in (m16cmon.ld, m32cmon.ld): Fix output names.
(*.o): Add dependencies.
* m32c/m32csys.h: Move syscall location to 0x400 as per Renesas
recommendations.
2005-08-19 16:18:04 +00:00
DJ Delorie 91888cc07b * m32c/Makefile.in: Block out memory regions reserved for monitors
and simulators.  Add monitor link scripts.
2005-08-18 18:43:45 +00:00
Jeff Johnston e448b01f6b 2005-08-16 Shaun Jackman <sjackman@gmail.com>
* arm/syscalls.c (initialise_monitor_handles): Set
        monitor_stderr to the result of SWI_open(":tt", "a")
        instead of simply duplicating stdout.
2005-08-16 18:05:35 +00:00
Jeff Johnston 250996a91b Add * qualifier for file list. 2005-08-10 20:29:55 +00:00
Jeff Johnston a663cd89a7 2005-08-10 DJ Delorie <dj@redhat.com>
* configure.in: Add m32c support.
        * configure: Regenerated
        * m32c: New directory, Renesas R8C/M16C/M32C support.
        * m32c/abort.S m32c/argvlen.S m32c/argv.S m32c/chdir.S,
        m32c/chmod.S m32c/close.S m32c/configure m32c/configure.in,
        m32c/crt0.S, m32c/crtn.S, m32c/exit.S, m32c/fstat.S,
        m32c/genscript, m32c/getpid.S, m32c/gettimeofday.S,
        m32c/heaptop.S, m32c/isatty.S, m32c/kill.S, m32c/link.S,
        m32c/lseek.S, m32c/m32csys.h, m32c/m32c.tmpl, m32c/Makefile.in,
        m32c/open.S, m32c/read.S, m32c/sbrk.c, m32c/stat.S, m32c/time.S,
        m32c/times.S, m32c/unlink.S, m32c/utime.S, m32c/write.S: New files
2005-08-10 20:29:33 +00:00
Jeff Johnston 3d8098c0f3 Fixed comment spacing. 2005-08-02 19:32:06 +00:00
Jeff Johnston 98bfe22095 2005-08-02 Shaun Jackman <sjackman@gmail.com>
* libgloss/arm/libcfunc.c (isatty): New function.
2005-08-02 19:28:31 +00:00
Jeff Johnston 0e77a3817f 2005-08-02 Shaun Jackman <sjackman@gmail.com>
* libgloss/arm/syscalls.c (_exit): Call _kill with the second
        argument set to -1, which is an invalid signal number.
        (_kill): Comment and coding style changes only.
        (_raise): Remove function.
2005-08-02 19:17:21 +00:00
Jeff Johnston fd745b00ed 2005-07-19 Paul Brook <paul@codesourcery.com>
* arm/crt0.S: Ensure doubleword stack alignment.
2005-07-19 15:15:25 +00:00
Jeff Johnston 650c30276a 2005-07-18 Richard Sandiford <richard@codesourcery.com>
* mips/array.ld (.sdata): Include .gnu.linkonce.s.*, not
        .gnu.linkonce.s*.
        (.sbss): Include .sbss.* and .gnu.linkonce.sb.*.
        * mips/cfe.ld, mips/ddb-kseg0.ld, mips/ddb.ld, mips/dve.ld,
        * mips/idt32.ld, mips/idt64.ld, mips/idtecoff.ld, mips/idt.ld,
        * mips/jmr3904app-java.ld, mips/jmr3904app.ld,
        * mips/jmr3904dram-java.ld, mips/jmr3904dram.ld,
        * mips/lsi.ld, mips/nullmon.ld, mips/pmon.ld: As for mips/array.ld.
2005-07-18 18:19:40 +00:00
Jeff Johnston ce4654708c 2005-07-18 Shaun Jackman <sjackman@gmail.com>
* libgloss/arm/libcfunc.c (abort): Call _exit instead of the RDI swi.
        (alarm): Add the weak attribute.
        (pause): New function. Return ENOSYS.
        * libgloss/arm/syscalls.c (_getpid): Add the weak attribute.
        (_fstat): Ditto.
        (_stat): Ditto.
        (_link): Ditto. Return ENOSYS.
        (_unlink): Call the swi instead of returning -1.
        (_raise): Add the weak attribute. Return ENOSYS.
        (isatty): Rename to _isatty. Call the swi instead of returning 1.
        (_system): Call the swi instead of returning ENOSYS.
        (_rename): Ditto.
2005-07-18 16:18:17 +00:00
Aldy Hernandez f24fd73b0a Fix date in ChangeLog entry 2005-07-06 12:59:51 +00:00
Aldy Hernandez 3f4df6211e * configure.in: Add ms1 case.
* configure: Regenerate.
	* ms1/16-002.ld: New.
	* ms1/16-003.ld: New.
	* ms1/64-001.ld: New.
	* ms1/access.c: New.
	* ms1/chmod.c: New.
	* ms1/close.c: New.
	* ms1/configure: New.
	* ms1/configure.in: New.
	* ms1/crt0-16-002.S: New.
	* ms1/crt0-16-003.S: New.
	* ms1/crt0-64-001.S: New.
	* ms1/crt0.S: New.
	* ms1/exit-16-002.c: New.
	* ms1/exit-16-003.c: New.
	* ms1/exit-64-001.c: New.
	* ms1/exit.c: New.
	* ms1/fstat.c: New.
	* ms1/getpid.c: New.
	* ms1/gettime.c: New.
	* ms1/isatty.c: New.
	* ms1/kill.c: New.
	* ms1/lseek.c: New.
	* ms1/Makefile.in: New.
	* ms1/open.c: New.
	* ms1/read.c: New.
	* ms1/sbrk.c: New.
	* ms1/startup-16-002.S: New.
	* ms1/startup-16-003.S: New.
	* ms1/startup-64-001.S: New.
	* ms1/stat.c: New.
	* ms1/time.c: New.
	* ms1/times.c: New.
	* ms1/trap.h: New.
	* ms1/trap.S: New.
	* ms1/unlink.c: New.
	* ms1/utime.c: New.
	* ms1/write.c: New.
2005-07-06 12:58:12 +00:00
Corinna Vinschen fece73ae83 * arm/elf-redboot.ld, iq2000/sim.ld, m68hc11/sim-valid-m68hc11.ld,
* m68hc11/sim-valid-m68hc12.ld, mcore/elf-cmb.ld, mips/cfe.ld,
	* mips/ddb-kseg0.ld, mips/ddb.ld, mips/dve.ld, mips/idt.ld,
	* mips/idt32.ld, mips/idt64.ld, mips/jmr3904app-java.ld,
	* mips/jmr3904app.ld, mips/jmr3904dram-java.ld, mips/jmr3904dram.ld,
	* mips/nullmon.ld, mips/pmon.ld, mn10200/eval.ld, mn10200/sim.ld,
	* mn10300/asb2303.ld, mn10300/asb2305.ld, mn10300/eval.ld,
	* mn10300/sim.ld, rs6000/ads.ld, rs6000/mbx.ld, rs6000/yellowknife.ld,
	* sh/sh1lcevb.ld, sh/sh2lcevb.ld, sh/sh3bb.ld, sh/sh3lcevb.ld,
	* sparc/elfsim.ld, sparc/ex930.ld, sparc/ex931.ld, sparc/ex934.ld,
	* sparc/sparc86x.ld, xstormy16/eva_app.ld, xstormy16/eva_stub.ld,
	* xstormy16/sim_high.ld, xstormy16/sim_rom.ld: Add .debug_ranges
	section.
2005-05-20 15:45:45 +00:00
Jeff Johnston 9cc53904f6 2005-05-05 Tobias Anderberg <tobias.anderberg@axis.com>
* arm/syscalls.c (get_errno): Fix output register constraint.
2005-05-05 23:15:53 +00:00
Jeff Johnston 320be0a149 2005-05-05 J"orn Rennecke <joern.rennecke@st.com>
* rs6000/sim-getrusage.S: New file, broken out of:
        (simulator.S).
        * rs6000/Makefile.in (SIM_OBJS): Add sim-getrusage.o.
        (sim-getrusage.o): New rule.
2005-05-05 23:07:08 +00:00
Jeff Johnston e525f6d51a 2005-04-28 Shaun Jackman <sjackman@gmail.com>
* libgloss/syscalls.c (get_errno): Add an output register constraint.
2005-04-28 18:40:39 +00:00
Eric Christopher 39511478d0 2005-04-19 Eric Christopher <echristo@redhat.com>
* mips/regs.S: Sign extend constants for mips64 and unify
        address handling.
2005-04-19 18:03:18 +00:00
Jeff Johnston 353d0a275c 2005-04-12 Shaun Jackman <sjackman@gmail.com>
* libgloss/arm/Makefile.in (RDPMON_BSP): librdpmon.a was empty due
        to a typo. Fixed.
        (RDIMON_BSP): Ditto.
2005-04-13 00:01:40 +00:00
Richard Sandiford 576d455f5f * mips/array.ld, mips/cfe.ld, mips/dve.ld, mips/idt32.ld,
* mips/idt64.ld, mips/idtecoff.ld, mips/idt.ld,
	* mips/jmr3904app-java.ld, mips/jmr3904app.ld,
	* mips/jmr3904dram-java.ld, mips/jmr3904dram.ld, mips/lsi.ld,
	* mips/nullmon.ld, mips/pmon.ld: Keep .init and .fini.
2005-04-12 08:06:40 +00:00
Jeff Johnston 1d7dd82d69 2005-02-08 Antony King <antony.king@st.com>
* arm/syscalls.c: Change CHECK_INIT to pass reentrant struct
        instead of file pointer.
2005-02-08 19:38:47 +00:00
Hans-Peter Nilsson a79f7ee058 * cris/Makefile.in (ALL_INSTALL_FILES): New macro.
(ALL_INSTALL_FILES_NEWLIB_COPY): New macro.
	(all): Use ALL_INSTALL_FILES instead of its contents.  Add
	ALL_INSTALL_FILES_NEWLIB_COPY.
	($(objroot)/newlib/%, $(objroot)/newlib/libnosys.a): New rules
2005-02-01 21:22:33 +00:00
Jeff Johnston 3a26703803 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
* configure.in: Support cris-*-* and crisv32-*-*.
        * libnosys/configure.in: Ditto.
        * configure, libnosys/configure: Regenerate.
        * cris: New directory.
        * cris/crt0.S, cris/crtn.c, cris/gensyscalls, cris/linunistd.h,
        cris/outbyte.c, cris/configure.in, cris/crti.c, cris/lcrt0.c,
        cris/Makefile.in, cris/setup.S, cris/configure: New files.
2005-01-27 22:57:32 +00:00
Jeff Johnston b87d70463e 2005-01-21 Hans-Peter Nilsson <hp@axis.com>
* libnosys/warning.h (stub_warning): Remove "warning: " prefix.
2005-01-21 21:55:07 +00:00
Jeff Johnston 3f38ba78c8 2005-01-18 Hans-Peter Nilsson <hp@axis.com>
* libnosys/warning.h (link_warning) [HAVE_GNU_LD and HAVE_ELF]:
        Prefix symbol in section name with __SYMBOL_PREFIX.  Do not use
        __make_section_unallocated.  Mark magic variable as used.
2005-01-18 19:27:44 +00:00
Jeff Johnston c377f1e3fe 2005-01-18 Hans-Peter Nilsson <hp@axis.com>
* libnosys/configure.in (libc_cv_asm_previous_directive): Set
        cache-id variable.
        (libc_cv_asm_popsection_directive): Ditto.
        (libc_cv_section_attributes): Ditto.
        (libc_symbol_prefix): Rename from libc_dollar_prefix.  Check for
        "_" as well, and set __SYMBOL_PREFIX accordingly.
        * libnosys/configure: Regenerate.
2005-01-18 19:23:36 +00:00
Jeff Johnston 7a01d046d4 2005-01-18 Hans-Peter Nilsson <hp@axis.com>
* libnosys/Makefile.in (LD, AS): Correct obsoleted suffix: Say
        as-new and ld-new, not as.new and ld.new.
2005-01-18 19:00:26 +00:00
Jeff Johnston bbb86f974e 2005-01-14 Hans-Peter Nilsson <hp@axis.com>
* libnosys/warning.h (__make_section_unallocated)
        [HAVE_ASM_PREVIOUS_DIRECTIVE, HAVE_ASM_POPSECTION_DIRECTIVE]: Use "\n"
        instead of ";" to delimit assembly lines.
2005-01-15 00:17:51 +00:00
Jeff Johnston fcab88fec6 Fix typo. 2005-01-07 18:09:07 +00:00
Jeff Johnston 35310094a1 2005-01-07 Paul Brook <paul@codesourcery.com>
* arm/crt0.S: Call __libc_{init,fini}_array instead of
        _init/_fini if they exist.
2005-01-07 18:01:26 +00:00
Jeff Johnston 60e4d52a55 2004-11-26 Paul Brook <paul@codesourcery.com>
* arm/crt0.S (_start): Add .cantunwind annotation.
2004-11-26 16:43:35 +00:00
Nick Clifton 7be5e72f3d Enable the iq2000 support 2004-10-28 08:18:18 +00:00
Richard Earnshaw 88cd939278 Fix date and paste errors. 2004-10-12 16:13:00 +00:00
Jeff Johnston 49a8b8f05c 2004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
* configure.in: Support crx-*-*.
        * configure: regenerate.
        * crx/_exit.c: New file.
        * crx/_getenv.c: Ditto.
        * crx/_rename: Ditto.
        * crx/close.c: Ditto.
        * crx/configure.in: Ditto.
        * crx/crti.S: Ditto.
        * crx/crtn.S: Ditto.
        * crx/crt0.S: Ditto.
        * crx/dvz_hndl.c: Ditto.
        * crx/flg_hndl.c: Ditto.
        * crx/fstat.c: Ditto.
        * crx/getpid.c: Ditto.
        * crx/iad_hndl.c: Ditto.
        * crx/intable.c: Ditto.
        * crx/isatty.c: Ditto.
        * crx/kill.c: Ditto.
        * crx/lseek.c: Ditto.
        * crx/Makefile.in: Ditto.
        * crx/open.c: Ditto.
        * crx/putnum.c: Ditto.
        * crx/read.c: Ditto.
        * crx/sbrk.c: Ditto.
        * crx/sim.ld: Ditto.
        * crx/stat.c: Ditto.
        * crx/svc_hndl.c: Ditto.
        * crx/time.c: Ditto.
        * crx/und_hndl.c: Ditto.
        * crx/unlink.c: Ditto.
        * crx/write.c: Ditto.
2004-10-05 20:00:53 +00:00
Paul Brook 5bc90268ce 2004-01-01 Paul Brook <paul@codesourcery.com>
* arm/configure.in: Add *-*-aebi target.
	* arm/configure: Regenerate.
2004-10-01 11:37:17 +00:00
Corinna Vinschen 5796021e86 * i386/cygmon.ld (.text): Fix alignment.
(.rodata): Handle .rodata.* sections.
2004-08-25 16:30:16 +00:00
Jeff Johnston 051f21ca83 2004-06-27 Hideki Iwamoto <h-iwamoto@kit.hi-ho.ne.jp>
* Makefile.in: Support $(DESTDIR).
        * arm/Makefile.in: Ditto.
        * d30v/Makefile.in: Ditto.
        * doc/Makefile.in: Ditto.
        * fr30/Makefile.in: Ditto.
        * frv/Makefile.in: Ditto.
        * hp74x/Makefile.in: Ditto.
        * i386/Makefile.in: Ditto.
        * i960/Makefile.in: Ditto.
        * iq2000/Makefile.in: Ditto.
        * libnosys/Makefile.in: Ditto.
        * m32r/Makefile.in: Ditto.
        * m68hc11/Makefile.in: Ditto.
        * m68k/Makefile.in: Ditto.
        * mcore/Makefile.in: Ditto.
        * mips/Makefile.in: Ditto.
        * mn10200/Makefile.in: Ditto.
        * mn10300/Makefile.in: Ditto.
        * pa/Makefile.in: Ditto.
        * rs6000/Makefile.in: Ditto.
        * sparc/Makefile.in: Ditto.
        * sparc/libsys/Makefile.in: Ditto.
        * xstormy16/Makefile.in: Ditto.
2004-06-28 22:42:21 +00:00
Jeff Johnston dce592cd8c 2004-06-25 Jeff Johnston <jjohnstn@redhat.com>
* libnosys/_exit.c: New file.
        * libnosys/Makefile.in: Add _exit.o.
2004-06-25 22:17:04 +00:00
Jeff Johnston a8992cbaca 2004-06-17 Jeff Johnston <jjohnstn@redhat.com>
* arm/configure.in: Check the value of newlib-may-supply-syscalls
        enablement variable to determine if crt0 should or should not be
        built.
        * arm/configure: Regenerated.
        * arm/Makefile.in: Changed to look at @BUILD_CRT0_TRUE@ and
        @BUILD_CRT0_FALSE@ variables set in configure to determine
        if crt0.o should be built and installed.
2004-06-17 19:33:27 +00:00
Jeff Johnston a7364adeb9 2004-06-09 Toralf Lund <toralf@procaptura.com>
* arm/crt0.S: Copied from newlib and it now also sets up stacks for
        FIQ and IRQ mode, plus calls hardware_init_hook() and
        software_init_hook() if present.
        * arm/libcfunc.c, arm/swi.h, arm/syscalls.c: Copied
        from newlib.
        * arm/Makefile.in: Build crt0.o, rdpmon-crt0.o, rdimon-crt0.o,
        librdpmon.a, librdimon.a - support file for "bare" setup, as well
        as "RDP" and "RDI" monitors.
        * arm/coff-rdpmon.specs, arm/elf-rdpmon.specs,
        arm/coff-rdimon.specs, arm/elf-rdimon.specs: gcc specs files to go
        with above mentioned support libs and startfiles.
2004-06-09 19:06:50 +00:00
Jeff Johnston 3ec8da655c 2004-06-03 Alexandre Oliva <aoliva@redhat.com>
* mn10300/sim.ld: Start at address 4, to avoid ambiguity with NULL
        pointers.
2004-06-03 22:23:10 +00:00
Jeff Johnston 6d70519a4b 2004-05-26 Jeff Johnston <jjohnstn@redhat.com>
* libnosys/sbrk.c: Add include of <_syslist.h> and "config.h".
2004-05-26 20:38:51 +00:00
Jeff Johnston 2b2ced103e 2004-05-26 Jeff Johnston <jjohnstn@redhat.com>
* libnosys/sbrk.c: Add include of <_syslist.h>.
2004-05-26 20:32:58 +00:00
Richard Sandiford 8c91dd0a29 * mips/array.ld, mips/cfe.ld, mips/ddb-kseg0.ld, mips/ddb.ld,
* mips/dve.ld, mips/idt32.ld, mips/idt64.ld, mips/idt.ld
	* mips/jmr3904app.ld, mips/lsi.ld, mips/nullmon.ld, mips/pmon.ld
	(.eh_frame_hdr, .eh_frame, .gcc_except_table, .jcr): New sections.
2004-05-05 12:16:31 +00:00
Jeff Johnston 81961a5001 2004-04-02 Chris Demetriou <cgd@broadcom.com>
* mips/regs.S (C0_COUNT): Fix comment that kept this from being
        defined.
        * mips/vr4300.S: Use C0_COUNT as appropriate instead of hardcoding $9.
        * mips/vr5xxx.S: Likewise.
2004-04-03 01:02:51 +00:00
Eric Christopher deb7bf284a Fix ChangeLog entry. 2004-03-27 00:07:10 +00:00
Eric Christopher abd0287a38 2004-03-23 Eric Christopher <echristo@redhat.com>
* mips/configure.in: Add mipsisa64-*-* to target support.
	* mips/configure: Regenerate.
	* frv/crt0.S: Fix comment.
2004-03-24 01:11:24 +00:00
Jeff Johnston 13a47bd66a 2004-03-03 Stephane Carrez <stcarrez@nerim.fr>
* m68hc11/sci-inout.S: Supports -mlong-calls.
        * m68hc11/sim-valid-m68hc11.ld (.tramp): New section for trampolines.
        (.text): Mark the .installN and .finiN section with KEEP.
        (.vectors): Likewise for .vectors.
        (.gcc_except_table): New section.
        * m68hc11/sim-valid-m68hc12.ld (.tramp): New section for trampolines.
        (.text): Mark the .installN and .finiN section with KEEP.
        (.vectors): Likewise for .vectors.
        (.gcc_except_table): New section.
2004-03-04 00:35:03 +00:00
Jeff Johnston f892e76346 2004-01-23 G�bor L�ki <loki@inf.u-szeged.hu>
* m68k/leds.c: remove led_putnum(), zylons() forward
        function declarations.
        * m68k/leds.h: add zylons() forward function declaration.
2004-01-23 22:10:48 +00:00
Alexandre Oliva db040b1759 2003-12-02 Richard Sandiford <rsandifo@redhat.com>
* frv/crt0.S (_start): Fix use of FDPIC conditionals.  Move the set of
gr11 outside the FDPIC conditional.  Avoid clobbering gr4 too early.
2003-11-14  Richard Sandiford  <rsandifo@redhat.com>
* frv/crt0.S: Fix fdpic sp calculation.
2003-11-05  Alexandre Oliva  <aoliva@redhat.com>
* frv/crt0.S: Use __stacksize, not __stack, to initialize sp on
FDPIC.  Update comments on computing _GLOBAL_OFFSET_TABLE_.  Don't
fixup ctors nor dtors on FDPIC.
2003-09-19  Alexandre Oliva  <aoliva@redhat.com>
* frv/crt0.S (_start): Set up gr15 only for FDPIC.
* frv/crt0.S (_start): Save _GLOBAL_OFFSET_TABLE_ in gr17, and set
gr15 before function calls.
2003-09-19  DJ Delorie  <dj@redhat.com>, Alexandre Oliva  <aoliva@redhat.com>
* frv/crt0.S (_start): Set up gr15 with _GLOBAL_OFFSET_TABLE_'s
value.
2004-01-06 19:21:35 +00:00
Jeff Johnston bfe5ae413f 2003-10-27 Bernardo Innocenti <bernie@develer.com>
* m68k/asm.h: Add macros for -fPIC, -msep-data and
        -mid-shared-library support.
        * m68k/crt0.S: Use macros for -fPIC, -msep-data and
        -mid-shared-library support.
        * m68k/sim-crt0.S: Likewise.
2003-10-27 20:03:10 +00:00
Jeff Johnston b4d51d01c8 2003-10-15 Bernardo Innocenti <bernie@develer.com>
* m68k/sim-funcs.c (_XOPEN_SOURCE): Define to get the pid_t
        typedef from <unistd.h>.
2003-10-15 19:57:18 +00:00
Jason Merrill c01c82c07c * sparc/elfsim.ld: Fix __EH_FRAME_BEGIN__ definition.
* sparc/sparc86x.ld: Likewise.
2003-08-26 05:21:56 +00:00
Jeff Johnston 49703eb3f5 2003-08-20 Chris Demetriou <cgd@broadcom.com>
* mips/crt0_cfe.S: New file.
        * mips/cfe_mem.c: New file.
        * mips/cfe_prestart.S: Remove.
        * mips/cfe.ld: Adjust to use crt0_cfe.o as the startup file, and
        and use _start as the entry point.  Align BSS to 32-byte boundary.
        * mips/cfe.c: Reimplement to fit on top of a crt0_cfe.o file.
        * mips/cfe_api.h (__libcfe_stack_size, __libcfe_mem_limit)
        (__libcfe_meminit, __libcfe_stack_top): New prototypes.
        * mips/Makefile.in (CFEOBJS): Replace cfe_prestart.o with cfe_mem.o.
        (cfe.o, cfe_api.o, cfe_mem.o, crt0_cfe.o): New targets.
        * mips/configure.in: Build and install crt0_cfe.o when CFE support
        is built.
        * mips/configure: Regenerate.
2003-08-20 19:32:52 +00:00
Jeff Johnston 2c34141c56 2003-08-12 Jeff Johnston <jjohnstn@redhat.com>
* i386/cygmon-salib.c (unlink): New stub.
2003-08-12 18:06:01 +00:00
Jeff Johnston 61bbf8b2b7 2003-08-08 Mark Salter <msalter@redhat.com>
* i386/cygmon.ld: Add 4 byte alignment to __CTOR_LIST__

        Bernd Schmidt  <bernds@redhat.com>

        * i386/cygmon.ld: Add entry for .rodata.
2003-08-08 16:00:13 +00:00
Thomas Fitzsimmons 9ff631a70c 2003-07-14 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
* m32r/configure.in: fixed bug to delete ../config-ml.in.
2003-07-14 15:27:04 +00:00
Alexandre Oliva 1e6a9a8cce 2001-10-30 Jeff Johnston <jjohnstn@redhat.com>
* mn10300/asb2305.ld: Added ASB2305 support.
* mn10300/configure: Ditto.
* mn10300/configure.in: Ditto.
2001-09-12  Stan Cox  <scox@redhat.com>
* mn10300/asb2303.ld: New file.  Linker script for the ASB2303
AM33/2.00 board.
* mn10300/configure.in: Add support for asb2303 board script.
2003-07-10 19:04:33 +00:00
Jeff Johnston a42408549f Refer to full name in latest ChangeLog entry. 2003-07-08 17:46:10 +00:00
Jeff Johnston 3a67f1e92a 2003-07-08 Jeff Johnston <jjohnstn@redhat.com>
* configure.in: Reapply Inaoko's multilib patch from
        04-17-03.
        * configure: Regenerated.
2003-07-08 16:06:09 +00:00
Jeff Johnston 6ae5c86b5a 2003-06-23 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
* m32r/crt0.S (_start): Allow _stack to be placed anywhere
        in memory.
2003-06-23 19:06:12 +00:00
Anthony Green 045e4d2e08 iq2000 port. 2003-06-06 16:07:57 +00:00
Jeff Johnston 71c7884720 2003-05-27 Jeff Johnston <jjohnstn@redhat.com>
* libnosys/Makefile.in: Add errno.o.
        * libnosys/errno.c: New file to supply errno definition if
        one not provided yet.
2003-05-27 19:57:58 +00:00
Jeff Johnston 3010b05f37 2003-05-26 Eric Christopher <echristo@redhat.com>
* mips/crt0.S: Remove stackbase variable set.
2003-05-26 20:22:16 +00:00
Jeff Johnston ff524f6ce8 Check in proper version of Eric's patch. 2003-05-02 20:06:52 +00:00
Jeff Johnston c2ec76163e 2003-05-02 Eric Christopher <echristo@redhat.com>
* mips/cma101.c (__sizemem): Make sure that end is not in .sdata.
2003-05-02 19:30:45 +00:00
Nick Clifton 078df11cf2 Add entry for change to libnosys/sbrk.c 2003-04-29 08:00:22 +00:00
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
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