diff options
author | PikalaxALT <PikalaxALT@users.noreply.github.com> | 2019-09-03 15:33:11 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-03 15:33:11 -0400 |
commit | 1f4c88c95243e8d75f25d5b7868c837c47aa578d (patch) | |
tree | 0ce1dd280b64c7b3677f22a457952746bb1196e9 /berry_fix/ld_script.txt | |
parent | 5d30304f4e9ce26d4061cc3697439588126d6bdc (diff) |
Copy Berry Fix MB dism from FR (#777)
* Copy Berry Fix MB dism from FR
Diffstat (limited to 'berry_fix/ld_script.txt')
-rw-r--r-- | berry_fix/ld_script.txt | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/berry_fix/ld_script.txt b/berry_fix/ld_script.txt new file mode 100644 index 000000000..2edeaef7c --- /dev/null +++ b/berry_fix/ld_script.txt @@ -0,0 +1,31 @@ +ENTRY(_start) + +SECTIONS { + . = 0x2000000; + + .text : + ALIGN(4) + { + asm/loader.o(.text); + } =0 + + . += 0x100; + .rodata : + ALIGN(4) + { + data/data.o(.rodata); + } =0 + + . = 0x2010000; + + ewram (NOLOAD) : + ALIGN(4) + { + gCode = .; + } + + /DISCARD/ : + { + *(*); + } +} |