LEGO Indiana Jones
[savezelda.git] / twilight / twilight.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 SECTIONS {
9         gecko_print = 0x802facf0;
10
11         nand_open_E0 = 0x80371f50;
12         nand_read_E0 = 0x80371710;
13         audio_stop_E0 = 0x8034607c;
14         graphics_stop_E0 = 0x8035c930;
15
16         nand_open_E2 = 0x8035c988;
17         nand_read_E2 = 0x8035c148;
18         audio_stop_E2 = 0x80330a4c;
19         graphics_stop_E2 = 0x80347368;
20
21         nand_open_P0 = 0x8035cdb8;
22         nand_read_P0 = 0x8035c578;
23         audio_stop_P0 = 0x80330e7c;
24         graphics_stop_P0 = 0x80347798;
25
26         nand_open_J0 = 0x8035e440;
27         nand_read_J0 = 0x8035dc00;
28         audio_stop_J0 = 0x8033256c;
29         graphics_stop_J0 = 0x80348e20;
30
31         .twilight baddr :
32         {
33                 rzd*.o(.start)
34                 *(.text)
35                 *(.rodata .rodata.*)
36                 *(.data)
37                 *(.bss)
38                 . = 0x0a94;
39         }
40 }