mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-26 03:34:15 +01:00
eliminate libgcc.s
This commit is contained in:
parent
c9b1c40b86
commit
13a00040d7
4
Makefile
4
Makefile
@ -61,11 +61,11 @@ asm/libagbbackup.o \
|
||||
asm/librtc.o \
|
||||
asm/librfu.o \
|
||||
asm/libagbsyscall.o \
|
||||
asm/libgcc.o \
|
||||
asm/libc.o
|
||||
|
||||
DATA_ASM_OBJS := data/data1.o data/data2.o data/anim_mon_front_pics.o \
|
||||
data/graphics.o
|
||||
data/graphics.o data/unknown_serial_data.o data/multiboot_berry_glitch_fix.o \
|
||||
data/multiboot_pokemon_colosseum.o
|
||||
|
||||
OBJS := $(C_OBJS) $(ASM_OBJS) $(DATA_ASM_OBJS)
|
||||
|
||||
|
5033
asm/libgcc.s
5033
asm/libgcc.s
File diff suppressed because it is too large
Load Diff
20
data/data2.s
20
data/data2.s
@ -12333,23 +12333,3 @@ gUnknown_089A324C:: @ 89A324C
|
||||
|
||||
gUnknown_089A3258:: @ 89A3258
|
||||
.incbin "base_emerald.gba", 0x9a3258, 0x18
|
||||
|
||||
gUnknown_089A3270:: @ 89A3270
|
||||
.incbin "base_emerald.gba", 0x9a3270, 0x100
|
||||
|
||||
gUnknown_089A3370:: @ 89A3370
|
||||
.incbin "base_emerald.gba", 0x9a3370, 0x100
|
||||
|
||||
gUnknown_089A3470:: @ 89A3470
|
||||
.incbin "base_emerald.gba", 0x9a3470, 0x30e0
|
||||
|
||||
gUnknown_089A6550:: @ 89A6550
|
||||
.incbin "base_emerald.gba", 0x9a6550, 0xc0
|
||||
|
||||
gMultiBootProgram_BerryGlitchFix_Start:: @ 89A6610
|
||||
.incbin "base_emerald.gba", 0x9a6610, 0x3b34
|
||||
gMultiBootProgram_BerryGlitchFix_End::
|
||||
|
||||
gMultiBootProgram_PokemonColosseum_Start:: @ 89AA144
|
||||
.incbin "base_emerald.gba", 0x9aa144, 0x28000
|
||||
gMultiBootProgram_PokemonColosseum_End::
|
||||
|
8
data/multiboot_berry_glitch_fix.s
Normal file
8
data/multiboot_berry_glitch_fix.s
Normal file
@ -0,0 +1,8 @@
|
||||
.section .rodata
|
||||
|
||||
gUnknown_089A6550:: @ 89A6550
|
||||
.incbin "base_emerald.gba", 0x9a6550, 0xc0
|
||||
|
||||
gMultiBootProgram_BerryGlitchFix_Start:: @ 89A6610
|
||||
.incbin "base_emerald.gba", 0x9a6610, 0x3b34
|
||||
gMultiBootProgram_BerryGlitchFix_End::
|
5
data/multiboot_pokemon_colosseum.s
Normal file
5
data/multiboot_pokemon_colosseum.s
Normal file
@ -0,0 +1,5 @@
|
||||
.section .rodata
|
||||
|
||||
gMultiBootProgram_PokemonColosseum_Start:: @ 89AA144
|
||||
.incbin "base_emerald.gba", 0x9aa144, 0x28000
|
||||
gMultiBootProgram_PokemonColosseum_End::
|
4
data/unknown_serial_data.s
Normal file
4
data/unknown_serial_data.s
Normal file
@ -0,0 +1,4 @@
|
||||
.section .rodata
|
||||
|
||||
gUnknown_089A3470:: @ 89A3470
|
||||
.incbin "base_emerald.gba", 0x9a3470, 0x30e0
|
@ -16,6 +16,9 @@ SECTIONS {
|
||||
iwram (NOLOAD) :
|
||||
ALIGN(4)
|
||||
{
|
||||
. = 0x1A80;
|
||||
tools/agbcc/lib/libgcc.a:dp-bit.o(.bss);
|
||||
tools/agbcc/lib/libgcc.a:fp-bit.o(.bss);
|
||||
}
|
||||
|
||||
. = 0x8000000;
|
||||
@ -61,7 +64,21 @@ SECTIONS {
|
||||
asm/librtc.o(.text);
|
||||
asm/librfu.o(.text);
|
||||
asm/libagbsyscall.o(.text);
|
||||
asm/libgcc.o(.text);
|
||||
tools/agbcc/lib/libgcc.a:_call_via_rX.o(.text);
|
||||
tools/agbcc/lib/libgcc.a:_divdi3.o(.text);
|
||||
tools/agbcc/lib/libgcc.a:_divsi3.o(.text);
|
||||
tools/agbcc/lib/libgcc.a:_dvmd_tls.o(.text);
|
||||
tools/agbcc/lib/libgcc.a:_fixunsdfsi.o(.text);
|
||||
tools/agbcc/lib/libgcc.a:_fixunssfsi.o(.text);
|
||||
tools/agbcc/lib/libgcc.a:_modsi3.o(.text);
|
||||
tools/agbcc/lib/libgcc.a:_muldi3.o(.text);
|
||||
tools/agbcc/lib/libgcc.a:_udivdi3.o(.text);
|
||||
tools/agbcc/lib/libgcc.a:_udivsi3.o(.text);
|
||||
tools/agbcc/lib/libgcc.a:_umodsi3.o(.text);
|
||||
tools/agbcc/lib/libgcc.a:dp-bit.o(.text);
|
||||
tools/agbcc/lib/libgcc.a:fp-bit.o(.text);
|
||||
tools/agbcc/lib/libgcc.a:_lshrdi3.o(.text);
|
||||
tools/agbcc/lib/libgcc.a:_negdi2.o(.text);
|
||||
asm/libc.o(.text);
|
||||
} =0
|
||||
|
||||
@ -71,6 +88,21 @@ SECTIONS {
|
||||
data/data2.o(.rodata);
|
||||
} =0
|
||||
|
||||
lib_rodata :
|
||||
ALIGN(4)
|
||||
{
|
||||
tools/agbcc/lib/libgcc.a:_divdi3.o(.rodata);
|
||||
tools/agbcc/lib/libgcc.a:_udivdi3.o(.rodata);
|
||||
} =0
|
||||
|
||||
other_data :
|
||||
ALIGN(4)
|
||||
{
|
||||
data/unknown_serial_data.o(.rodata);
|
||||
data/multiboot_berry_glitch_fix.o(.rodata);
|
||||
data/multiboot_pokemon_colosseum.o(.rodata);
|
||||
} =0
|
||||
|
||||
gap1 :
|
||||
{
|
||||
gap1_start = ABSOLUTE(.);
|
||||
|
Loading…
Reference in New Issue
Block a user