2
* Open Hack'Ware BIOS main.
4
* Copyright (C) 2004-2005 Jocelyn Mayer (l_indien@magic.fr)
6
* This program is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU General Public License V2
8
* as published by the Free Software Foundation
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
15
* You should have received a copy of the GNU General Public License
16
* along with this program; if not, write to the Free Software
17
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20
OUTPUT_ARCH(powerpc:common)
24
start (rwx) : ORIGIN = 0x05800000, LENGTH = 0x00000400
25
bios (rwx) : ORIGIN = 0x05800400, LENGTH = 0x0007FC00
26
ram (rw) : ORIGIN = 0x06000000, LENGTH = 0x00200000
31
.start : { *(.start) } > start
33
.text : { *(.text*) } > bios
35
.OpenFirmware : { *(.OpenFirmware) } > bios
38
.data : { *(.data) } > bios
42
.OpenFirmware_vars : { *(.OpenFirmware_vars) } > bios
46
.sdata : { *(.sdata) } > bios
48
.sdata2 : { *(.sdata2) } > bios
52
.rodata : { *(.rodata*) } > bios
56
.RTAS : { *(.RTAS) } > bios
60
.RTAS_vars : { *(.RTAS_vars) } > bios
68
.bss : { *(.bss) *(COMMON) } > bios
75
/DISCARD/ : { *(.stab) }
76
/DISCARD/ : { *(.stabstr) }
77
/DISCARD/ : { *(.comment) }
78
/DISCARD/ : { *(.note) }