diff --git a/Makefile b/Makefile index 312dd48473..4123e4ddcf 100644 --- a/Makefile +++ b/Makefile @@ -65,7 +65,7 @@ asm/libc.o DATA_ASM_OBJS := data/data1.o data/data2.o data/anim_mon_front_pics.o \ data/graphics.o data/unknown_serial_data.o data/multiboot_berry_glitch_fix.o \ -data/multiboot_pokemon_colosseum.o +data/multiboot_pokemon_colosseum.o data/librfu_rodata.o OBJS := $(C_OBJS) $(ASM_OBJS) $(DATA_ASM_OBJS) diff --git a/data/data2.s b/data/data2.s index a5fbb36c59..fc9fba203a 100644 --- a/data/data2.s +++ b/data/data2.s @@ -12324,12 +12324,3 @@ gUnknown_086B49F0:: @ 86B49F0 gUnknown_089A30D0:: @ 89A30D0 .incbin "base_emerald.gba", 0x9a30d0, 0x150 - -gUnknown_089A3220:: @ 89A3220 - .incbin "base_emerald.gba", 0x9a3220, 0x2c - -gUnknown_089A324C:: @ 89A324C - .incbin "base_emerald.gba", 0x9a324c, 0xc - -gUnknown_089A3258:: @ 89A3258 - .incbin "base_emerald.gba", 0x9a3258, 0x18 diff --git a/data/librfu_rodata.s b/data/librfu_rodata.s new file mode 100644 index 0000000000..551576e08e --- /dev/null +++ b/data/librfu_rodata.s @@ -0,0 +1,14 @@ + .section .rodata + +gUnknown_089A3220:: @ 89A3220 + .incbin "base_emerald.gba", 0x9a3220, 0x20 + + .asciz "RFU_V1026" + + .align 2 +gUnknown_089A324C:: @ 89A324C + .asciz "RFU-MBOOT" + + .align 2 +gUnknown_089A3258:: @ 89A3258 + .asciz "NINTENDOSio32ID_030820" diff --git a/ld_script.txt b/ld_script.txt index 96f67bf3d4..2de99e05a3 100644 --- a/ld_script.txt +++ b/ld_script.txt @@ -91,6 +91,7 @@ SECTIONS { lib_rodata : ALIGN(4) { + data/librfu_rodata.o(.rodata); tools/agbcc/lib/libgcc.a:_divdi3.o(.rodata); tools/agbcc/lib/libgcc.a:_udivdi3.o(.rodata); } =0