/* link.solaris.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/User/link.solaris.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:43 $ by: $Author: ruf $ */ OUTPUT_FORMAT("elf32-sparc") /* since topsy sets up a decent context with sp/fp, so we can start at main */ ENTRY(main) /* the following is loaded into kernel address space but relocated for user */ SECTIONS { .text (0x00100000) : { /* fixed user start with mmap (2) */ *(.init) *(.text) *(.fini) } /* force user data to follow user code */ /* careful here: ALIGN tricks do not work on solaris */ .rdata . : { *(.rdata) } .sdata . : { *(.sdata) } .data . : { *(.data) } .sbss . : { *(.sbss) *(.scommon) } .bss . : { *(.dynbss) *(.bss) *(COMMON) } }