summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld_script.txt24
1 files changed, 12 insertions, 12 deletions
diff --git a/ld_script.txt b/ld_script.txt
index 4a5c4e3a..33584719 100644
--- a/ld_script.txt
+++ b/ld_script.txt
@@ -8,7 +8,7 @@
#define END_SEG(name) \
_##name##SegmentEnd = ADDR(.name) + SIZEOF(.name); \
_##name##SegmentRomEnd = __romPos + SIZEOF(.name); \
- _##name##SegmentSize = SIZEOF(.name); \
+ _##name##SegmentSize = SIZEOF(.name); \
__romPos += SIZEOF(.name);
SECTIONS {
@@ -17,23 +17,23 @@ SECTIONS {
{
build/asm/rom_header.o(.text);
}
- END_SEG(header)
-
- __romPos += 0x3E00;
+ END_SEG(header)
+
+ __romPos += 0x3E00;
BEGIN_SEG(arm9, 0x2000000)
{
- build/asm/secure.o(.text);
+ build/asm/secure.o(.text);
build/asm/main.o(.text);
build/asm/rom.o(.text);
build/src/sub_02000DF4.o(.text);
build/asm/rom2.o(.text);
}
- END_SEG(arm9)
-
- BEGIN_SEG(rom3, 0x2000000 + SIZEOF(arm9))
- {
- build/asm/rom3.o(.text);
- }
- END_SEG(rom3)
+ END_SEG(arm9)
+
+ BEGIN_SEG(rom3, 0x2000000 + SIZEOF(arm9))
+ {
+ build/asm/rom3.o(.text);
+ }
+ END_SEG(rom3)
}