lsw: JPN fix
[savezelda.git] / loader / loader.lds
1 /* Copyright 2008-2009  Segher Boessenkool  <segher@kernel.crashing.org>
2    This code is licensed to you under the terms of the GNU GPL, version 2;
3    see file COPYING or http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt  */
4
5 OUTPUT_FORMAT("elf32-powerpc")
6 OUTPUT_ARCH(powerpc:common)
7
8 ENTRY(_start)
9
10 SECTIONS {
11         . = 0x90000020;
12
13         .start : { crt0.o(*) }
14         .text : { *(.text) }
15         .rodata : { *(.rodata .rodata.*)}
16         .data : { *(.data) }
17
18         __bss_start = .;
19         .bss : { *(.bss) }
20         __bss_end = .;
21
22         . = ALIGN(0x40);
23         .stack : {
24                 . += 0x8000;
25                 _stack_top = .;
26         }
27 }