Commit Graph

91 Commits

Author SHA1 Message Date
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
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 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