mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-07-02 00:13:46 -05:00
add specs for DSi arm9
This commit is contained in:
parent
e0a3ed6473
commit
6c9cc1f9e1
|
|
@ -2,15 +2,6 @@ OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm", "elf32-littlearm")
|
|||
OUTPUT_ARCH(arm)
|
||||
ENTRY(_start)
|
||||
|
||||
MEMORY {
|
||||
|
||||
rom : ORIGIN = 0x08000000, LENGTH = 32M
|
||||
ewram : ORIGIN = 0x02000000, LENGTH = 4M - 4k
|
||||
dtcm : ORIGIN = 0x0b000000, LENGTH = 16K
|
||||
vectors : ORIGIN = 0x01000000, LENGTH = 256
|
||||
itcm : ORIGIN = 0x01000100, LENGTH = 32K - 256
|
||||
}
|
||||
|
||||
__vectors_start = ORIGIN(vectors);
|
||||
__itcm_start = ORIGIN(itcm);
|
||||
__ewram_end = ORIGIN(ewram) + LENGTH(ewram);
|
||||
|
|
|
|||
8
dkarm-eabi/crtls/ds_arm9.mem
Normal file
8
dkarm-eabi/crtls/ds_arm9.mem
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
MEMORY {
|
||||
|
||||
rom : ORIGIN = 0x08000000, LENGTH = 32M
|
||||
ewram : ORIGIN = 0x02000000, LENGTH = 4M - 4k
|
||||
dtcm : ORIGIN = 0x0b000000, LENGTH = 16K
|
||||
vectors : ORIGIN = 0x01000000, LENGTH = 256
|
||||
itcm : ORIGIN = 0x01000100, LENGTH = 32K - 256
|
||||
}
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
%rename link old_link
|
||||
|
||||
*link:
|
||||
%(old_link) -T ds_arm9.ld%s
|
||||
%(old_link) -T ds_arm9.mem%s -T ds_arm9.ld%s
|
||||
|
||||
*startfile:
|
||||
ds_arm9_crt0%O%s crti%O%s crtbegin%O%s
|
||||
|
|
|
|||
8
dkarm-eabi/crtls/dsi_arm9.mem
Normal file
8
dkarm-eabi/crtls/dsi_arm9.mem
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
MEMORY {
|
||||
|
||||
rom : ORIGIN = 0x08000000, LENGTH = 32M
|
||||
ewram : ORIGIN = 0x02000000, LENGTH = 16M - 4k
|
||||
dtcm : ORIGIN = 0x0b000000, LENGTH = 16K
|
||||
vectors : ORIGIN = 0x01000000, LENGTH = 256
|
||||
itcm : ORIGIN = 0x01000100, LENGTH = 32K - 256
|
||||
}
|
||||
8
dkarm-eabi/crtls/dsi_arm9.specs
Normal file
8
dkarm-eabi/crtls/dsi_arm9.specs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
%rename link old_link
|
||||
|
||||
*link:
|
||||
%(old_link) -T dsi_arm9.mem%s -T ds_arm9.ld%s
|
||||
|
||||
*startfile:
|
||||
ds_arm9_crt0%O%s crti%O%s crtbegin%O%s
|
||||
|
||||
Loading…
Reference in New Issue
Block a user