X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=savezelda.git;a=blobdiff_plain;f=lsw%2Flego.lds;fp=lsw%2Flego.lds;h=1718044356eb6b3614e20db47d6628f08dad3570;hp=0000000000000000000000000000000000000000;hb=c58aa93d1e9265ff6be3a64d05cd01697ed0a656;hpb=da886e2a723e5990d209d8fc141dc9bab7bf0424 diff --git a/lsw/lego.lds b/lsw/lego.lds new file mode 100644 index 0000000..1718044 --- /dev/null +++ b/lsw/lego.lds @@ -0,0 +1,26 @@ +/* Copyright 2008-2009 Segher Boessenkool + This code is licensed to you under the terms of the GNU GPL, version 2; + see file COPYING or http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt */ + +OUTPUT_FORMAT("elf32-powerpc") +OUTPUT_ARCH(powerpc:common) + +SECTIONS { + audio_stop = 0x8038ce90; + video_stop = 0x80399708; + + save = 0x91168ea0; + bptr = 0x91178ea0; + + main = 0x90000020; + + .twilight save : + { + rli*.o(.start) + *(.text) + *(.rodata .rodata.*) + *(.data) + *(.bss) + /* . = 0x0a94; */ + } +}