Commit Graph

13 Commits

Author SHA1 Message Date
Corinna Vinschen b3281dd194 * mips/crt0.S: Configure processor based on .MIPS.abiflags.
Remove FPU availability check, just use the pre-processor flags
	to indicicate what the user wanted.
	* mips/abiflags.S: New file.
	* mips/regs.S (SR_MSA): Define macro.
	* mips/mti32.ld: Place .MIPS.abiflags and wrap in marker symbols.
	* mips/mti64.ld: Likewise.
	* mips/mti64_64.ld: Likewise.
	* mips/mti64_n32.ld: Likewise.
2014-11-28 08:51:03 +00:00
Jeff Johnston 84b2a020da 2014-11-26 Matthew Fortune <Matthew.Fortune@imgtec.com>
* mips/crt0.S: Remove .set noreorder throughout.
        (zerobss): Open code the bltu macro instruction so that the
        zero-loop does not have a NOP in the branch delay slot.
2014-11-27 00:28:09 +00:00
Jeff Johnston e2edec23e5 2006-11-27 Jeff Johnston <jjohnstn@redhat.com>
* mips/crt0.S: Fix preprocessor statements from previous patch
        to be ANSI.
2006-11-27 16:12:51 +00:00
Jeff Johnston 406a0e047c 2006-11-24 Thiemo Seufer <ths@mips.com>
Nigel Stephens  <nigel@mips.com>

        * mips/crt0.S (_start): Use all available float registers. Don't touch
        SR_PE on post-mips2 CPUs, it means soft reset there.
2006-11-24 18:19:18 +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
Richard Sandiford 325d68a204 * mips/crt0.S (zerobss): Reload __memsize after call. 2003-02-18 19:32:24 +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
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 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
Michael Meissner 24b1ccc647 If -mfp32, do not enable 64-bit FPR registers on mips3 2001-09-11 14:24:35 +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
Ranjith Kumaran 03261851a1 20000317 sourceware import 2000-03-17 22:48:54 +00:00