Commit Graph

199 Commits

Author SHA1 Message Date
Mark Mitchell d76895a142 * doc/porting.texi: Document libgloss build conventions. 2006-04-18 16:14:57 +00:00
Nathan Sidwell b40d2db7b0 * mt/startup-16-002.S (.internal_io): Make @nobits.
* mt/startup-16-003.S (.internal_io): Make @nobits.
	* mt/startup-ms2.S (.internal_io): Make @nobits.
2006-03-22 12:47:59 +00:00
DJ Delorie dff8cd7700 * m32c/exit.S: Preserve r1. 2006-03-03 03:20:58 +00:00
Jeff Johnston ff20d12a66 2006-02-24 Paul Brook <paul@codesourcery.com>
* arm/redboot-crt0.S: Use cps in Thumb-2 mode.
2006-02-24 20:43:19 +00:00
Jeff Johnston 7db9cdd24e 2006-02-22 Nathan Sidwell <nathan@codesourcery.com>
* m68k/Makefile.in (CF_SCRIPTS): New.
        (all): Add CF_SCRIPTS.
        (m5208evb.ld, m5213evb.ld, m5235evb.ld, m5272c3.ld,
        m5282evb.ld): New targets
        (install): Iterate over CF_SCRIPTS.
        * m68k/crt0.S: Don't use dbra on any cf chips.
        * m68k/dbug-cf.sc: New.
2006-02-22 18:02:54 +00:00
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
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 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 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
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