summaryrefslogtreecommitdiff
path: root/ld_script.ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld_script.ld')
-rwxr-xr-xld_script.ld21
1 files changed, 9 insertions, 12 deletions
diff --git a/ld_script.ld b/ld_script.ld
index 892b921..f582252 100755
--- a/ld_script.ld
+++ b/ld_script.ld
@@ -2,29 +2,26 @@ SECTIONS
{
/* start of ewram */
. = 0x02000000;
-
- /*ewram (NOLOAD) :
+ ewram (NOLOAD) :
ALIGN(4)
{
- ewram.o(ewram);
+ asm/ewram.o(ewram);
. = 0x40000;
- }*/
-
+ }
/* start of iwram */
- /*. = 0x03000000;
+ . = 0x03000000;
iwram (NOLOAD) :
ALIGN(4)
{
- iwram.o(iwram);
+ asm/iwram.o(iwram);
. = 0x8000;
- }*/
+ }
/* start of ROM */
-
. = 0x08000000;
- /*.text :
+ .text :
{
- rom.o(.text);
- }=0xff*/
+ asm/rom.o(.text);
+ }=0xFF
}