/* link.mips.scr, Copyright (c) by George Fankhauser, Swiss Federal Institute of Technology, Computer Engineering and Networks Laboratory. TOPSY -- A Teachable Operating System. Implementation of a tiny and simple micro kernel for teaching purposes. For further information, please visit http://www.tik.ee.ethz.ch/~topsy This software is provided under the terms of the GNU General Public Licence. A full copy of the GNU GPL is provided in the file COPYING found in the development root of Topsy. */ /* File: $Source: /usr/drwho/vault/cvs/topsy/Topsy/Boot/mips/link.mips.scr,v $ Author(s): George Fankhauser Affiliation: ETH Zuerich, TIK Version: $Revision: 1.2 $ Creation Date: Last Date of Change: $Date: 1999/12/13 21:48:25 $ by: $Author: ruf $ $Log: link.mips.scr,v $ Revision 1.2 1999/12/13 21:48:25 ruf GNU General Public Licence Update Revision 1.1 1999/06/10 15:10:53 jeker cleaning up Revision 1.1 1999/06/06 20:54:43 jeker putting everything together for Topsy 2.0 Revision 1.6 1998/03/31 17:56:54 gfa changed kernel load area to 80020000 to avoid trouble with the monitor which as active during load and located below 80016000 Revision 1.5 1998/03/26 19:13:12 gfa rearranged kernel load address to 0x80020000 (2GB + 128k) Revision 1.4 1997/05/16 15:05:54 conrad changing .test to 80030000 instead of 80001000 (gfa) # Revision 1.3 1997/03/16 12:42:15 gfa # *** empty log message *** # # Revision 1.2 1997/03/16 12:40:36 gfa # *** empty log message *** # */ OUTPUT_FORMAT("ecoff-bigmips") ENTRY(__start) SECTIONS { /* kernel code is relocated to start at 0x80020000 which leaves * room for the boot stack (starting at the same address but grows * downwards on most processors) and the exception vectors of the mips */ .text 0x80020000 : { *(.init) *(.text) *(.fini) } /* start at a fresh page for the data */ . = ALIGN(0x1000); .rdata . : { *(.rdata) } .data . : { *(.data) } .sbss . : { *(.sbss) *(.scommon) } .bss . : { *(.bss) *(COMMON) } }