get rid of SUBALIGN

This commit is contained in:
sceptillion
2017-12-20 22:00:41 -08:00
parent 9f9e3529f8
commit 38f3f5cc55
2 changed files with 10 additions and 9 deletions
+1
View File
@@ -1,5 +1,6 @@
.section .rodata
.align 2
gUnknown_8231EC4:: @ 8231EC4
.incbin "baserom.gba", 0x231EC4, 0x20
+9 -9
View File
@@ -7,7 +7,7 @@ SECTIONS {
. = 0x2000000;
ewram (NOLOAD) :
SUBALIGN(4)
ALIGN(4)
{
gHeap = .;
@@ -59,7 +59,7 @@ SECTIONS {
. = 0x3000000;
iwram (NOLOAD) :
SUBALIGN(4)
ALIGN(4)
{
/* .bss starts at 0x3000000 */
<BSS>
@@ -79,7 +79,7 @@ SECTIONS {
. = 0x8000000;
.text :
SUBALIGN(4)
ALIGN(4)
{
asm/crt0.o(.text);
src/main.o(.text);
@@ -311,7 +311,7 @@ SECTIONS {
} =0
script_data :
SUBALIGN(4)
ALIGN(4)
{
data/event_scripts.o(script_data);
data/battle_anim_scripts.o(script_data);
@@ -323,7 +323,7 @@ SECTIONS {
} =0
lib_text :
SUBALIGN(4)
ALIGN(4)
{
asm/libgcnmultiboot.o(.text);
asm/m4a_1.o(.text);
@@ -391,7 +391,7 @@ SECTIONS {
} =0
.rodata :
SUBALIGN(4)
ALIGN(4)
{
src/main.o(.rodata);
src/bg.o(.rodata);
@@ -409,7 +409,7 @@ SECTIONS {
} =0
lib_rodata :
SUBALIGN(4)
ALIGN(4)
{
src/agb_flash.o(.rodata);
src/agb_flash_1m.o(.rodata);
@@ -461,7 +461,7 @@ SECTIONS {
} =0
other_data :
SUBALIGN(4)
ALIGN(4)
{
data/unknown_serial_data.o(.rodata);
data/multiboot_berry_glitch_fix.o(.rodata);
@@ -471,7 +471,7 @@ SECTIONS {
. = 0x8D00000;
gfx_data :
SUBALIGN(4)
ALIGN(4)
{
data/graphics.o(gfx_data);
} =0