summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorProjectRevoTPP <projectrevotpp@hotmail.com>2020-04-12 17:26:49 -0400
committerProjectRevoTPP <projectrevotpp@hotmail.com>2020-04-12 17:26:49 -0400
commit09d4bbd57a8d810e2765f77ac7431848ca4328b2 (patch)
treece6a9e5ba17172d7aab87d494f95cbf41846fc9e
parent09fa95f0e27e9a835f5535a776f6a22861c7c4a0 (diff)
ld script formatting
-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)
}