diff options
author | Marcus Huderle <huderlem@gmail.com> | 2018-10-10 12:43:13 -0500 |
---|---|---|
committer | Marcus Huderle <huderlem@gmail.com> | 2018-10-10 12:43:13 -0500 |
commit | baab3ad562001c8d33b2a6d93c476324687a0613 (patch) | |
tree | eefd73b69928bc77681d6fccde3fbde5f133a0e3 /ld_script.ld | |
parent | 69484fa8da6d4c1917375a1e3ce5bbe49565408b (diff) |
Add ewram and iwram sections
Diffstat (limited to 'ld_script.ld')
-rwxr-xr-x | ld_script.ld | 21 |
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 } |