mirror of
https://git.planet-casio.com/Lephenixnoir/gint.git
synced 2025-01-01 06:23:35 +01:00
32 lines
777 B
Text
32 lines
777 B
Text
|
OUTPUT_ARCH(sh3)
|
||
|
ENTRY(initialize)
|
||
|
MEMORY
|
||
|
{
|
||
|
rom : o = 0x00300200, l = 512k
|
||
|
ram : o = 0x08100000, l = 64k /* pretty safe guess */
|
||
|
}
|
||
|
SECTIONS
|
||
|
{
|
||
|
.text : {
|
||
|
*(.pretext) /* init stuff */
|
||
|
*(.text)
|
||
|
} > rom
|
||
|
.rodata : {
|
||
|
*(.rodata)
|
||
|
*(.rodata.str1.4)
|
||
|
_romdata = . ; /* symbol for initialization data */
|
||
|
} > rom
|
||
|
.bss : {
|
||
|
_bbss = . ;
|
||
|
_bssdatasize = . ;
|
||
|
LONG(0); /* bssdatasize */
|
||
|
*(.bss) *(COMMON);
|
||
|
_ebss = . ;
|
||
|
} > ram
|
||
|
.data : AT(_romdata) {
|
||
|
_bdata = . ;
|
||
|
*(.data);
|
||
|
_edata = . ;
|
||
|
} > ram
|
||
|
}
|