summaryrefslogtreecommitdiff
path: root/berry_fix/payload/ld_script.txt
diff options
context:
space:
mode:
Diffstat (limited to 'berry_fix/payload/ld_script.txt')
-rw-r--r--berry_fix/payload/ld_script.txt35
1 files changed, 10 insertions, 25 deletions
diff --git a/berry_fix/payload/ld_script.txt b/berry_fix/payload/ld_script.txt
index a70ecac09..d0a0af9ed 100644
--- a/berry_fix/payload/ld_script.txt
+++ b/berry_fix/payload/ld_script.txt
@@ -15,26 +15,11 @@ SECTIONS {
lib_text :
ALIGN(4)
{
- *libagb_flash.a:agb_flash.o(.text);
- *libagb_flash.a:agb_flash_1m.o(.text);
- *libagb_flash.a:agb_flash_mx.o(.text);
- *libagbsyscall.a:ArcTan2.o(.text);
- *libagbsyscall.a:BgAffineSet.o(.text);
- *libagbsyscall.a:CpuFastSet.o(.text);
- *libagbsyscall.a:CpuSet.o(.text);
- *libagbsyscall.a:Div.o(.text);
- *libagbsyscall.a:Mod.o(.text);
- *libagbsyscall.a:LZ77UnCompVram.o(.text);
- *libagbsyscall.a:LZ77UnCompWram.o(.text);
- *libagbsyscall.a:MultiBoot.o(.text);
- *libagbsyscall.a:ObjAffineSet.o(.text);
- *libagbsyscall.a:RLUnCompVram.o(.text);
- *libagbsyscall.a:RLUnCompWram.o(.text);
- *libagbsyscall.a:RegisterRamReset.o(.text);
- *libagbsyscall.a:SoftReset.o(.text);
- *libagbsyscall.a:Sqrt.o(.text);
- *libagbsyscall.a:VBlankIntrWait.o(.text);
- *libsiirtc.a:siirtc.o(.text);
+ src/agb_flash.o(.text);
+ src/agb_flash_1m.o(.text);
+ src/agb_flash_mx.o(.text);
+ asm/libagbsyscall.o(.text);
+ src/siirtc.o(.text);
*libgcc.a:_call_via_rX.o(.text);
*libgcc.a:_modsi3.o(.text);
*libgcc.a:_umodsi3.o(.text);
@@ -52,11 +37,11 @@ SECTIONS {
lib_rodata :
ALIGN(4)
{
- *libagb_flash.a:agb_flash.o(.rodata);
- *libagb_flash.a:agb_flash_1m.o(.rodata);
- *libagb_flash.a:agb_flash_mx.o(.rodata);
- *libagb_flash.a:agb_flash_le.o(.rodata);
- *libsiirtc.a:siirtc.o(.rodata);
+ src/agb_flash.o(.rodata);
+ src/agb_flash_1m.o(.rodata);
+ src/agb_flash_mx.o(.rodata);
+ src/agb_flash_le.o(.rodata);
+ src/siirtc.o(.rodata);
}
. = 0x2020000;