📄 dvdl.ld
字号:
INPUT(-lir_8202)
INPUT(-lnav_8202)
INPUT(-latapi_8202)
INPUT(-ltask_8202)
INPUT(-lenc_8202)
INPUT(-lsys_8202)
INPUT(srv-elf\libsrv_sa4tz0_alc_8202.a)
INPUT(-lsrvdp_8202)
INPUT(-lfs_8202)
INPUT(-lfs_mp4_8202)
INPUT(-lfs_krnl_8202)
INPUT(-lfs_8202)
INPUT(-ldrm_8202)
INPUT(-lfont_8202)
INPUT(-ljpeg_8202)
INPUT(-lsys_8202)
INPUT(-lauth_8202)
INPUT(-lpe_8202)
INPUT(-lcss)
INPUT(-lkern_8202)
INPUT(-lmp4_8202)
INPUT(-lpe_8202)
INPUT(-lgame_8202)
INPUT(-lvcd_8202)
INPUT(-lboot_8202)
INPUT(-lhigui)
INPUT(-lauddrv)
INPUT(-ldsp3)
INPUT(-lstd)
INPUT(-lm)
INPUT(-lgcc)
SECTIONS
{
.drv_iop :
{
_text_drv_iop = .;
. = ALIGN(16);
*iop.o (.rodata)
} > sdram_drv_iop
.drv_iop_rst :
{
. = ALIGN(16);
*ioprom.o (.rodata)
} > sdram_iop_rst
.ramdrv1 :
{
_text_drv = .;
. = ALIGN(16);
*rwdk.o (.text*)
*mpegsys*.o (.text*)
*supdrv*.o (.text*)
*setup_ui1.o (.text*)
} > sdram_drv1
.ramdrv2 :
{
. = ALIGN(16);
*jpegtest.o (.rodata)
*jpegtest.o (.text*)
} > sdram_drv2
.drv_dvd :
{
_text_drv_dvd = .;
*nav.o (.text*)
*pgc.o (.text*)
*user_if.o (.text*)
*ncmd.o (.text*)
*ncmd_exe.o (.text*)
*vts.o (.text*)
*vmg.o (.text*)
*psd.o (.rodata)
*psd.o (.text*)
*v11.o (.rodata)
*v11.o (.text*)
*svcd.o (.rodata)
*svcd.o (.text*)
*cdg.o (.rodata)
*cdg.o (.text*)
*gf2m_c.o (.text*)
*rs2420.o (.text*)
*rs42.o (.rodata)
*rs42.o (.text*)
*navif.o (.text*)
*book.o (.text*)
*srv0.o (.text*)
*srv1.o (.text*)
*prvdrv.o (.text*)
*int_decerr.o (.text*)
*supdec*.o (.text*)
*slowback.o (.text*)
*cdfunc.o (.text*)
*mainproc.o (.text*)
*sysmain2.o (.text*)
*dvdpe.o (.text*)
*repeat.o (.text*)
*css-des.o (.text*)
*css-auth.o (.rodata)
*css-auth.o (.text*)
*dvdauth.o (.text*)
*dvdioctl.o (.text*)
*viddec.o (.rodata)
*int_fld.o (.text*)
*int_pend.o (.text*)
. = ALIGN(16);
} > sdram_dvd
.boot_flash :
{
*boot_flashs.o (.text*)
*boot_flashs.o (.rodata)
*boot_flash.o (.text*)
*boot_flash.o (.rodata)
*boot_emuio.o (.text*)
*boot_emuio.o (.rodata)
*boot_uart.o (.text*)
*boot_uart.o (.rodata)
*boot_sio.o (.text*)
*boot_sio.o (.rodata)
. = ALIGN(16);
_text_rombin_start = .;
} > sdram_flash
.drv_cdrom :
{
_text_drv_cdrom = .;
*flash.o (.text*)
*flash.o (.rodata)
*ThumbNav.o (.rodata)
*ThumbNav.o (.text*)
*fsNAV.o (.rodata)
*fsGUI.o (.text*)
*fsGUI.o (.rodata)
*udf.o (.text*)
*udf.o (.rodata)
*fs9660.o (.text*)
*fs9660.o (.rodata)
*fsCDDA.o (.rodata)
*fsCDDA.o (.text*)
*NESInit.o (.text*)
*fsFile.o (.rodata)
*fsFile.o (.text*)
*fsGUIX.o (.text*)
*cderr.o (.text*)
. = ALIGN(16);
} > sdram_cdrom
.drv_ap1 :
{
_text_drv_ap = .;
*ircmd.o (.rodata)
*ircmd.o (.text*)
*ir_parser.o (.rodata)
*ir_parser.o (.text*)
*ir_drv.o (.text*)
*disp.o (.rodata)
*disp.o (.text*)
*polling.o (.text*)
*sound_if.o (.text*)
*osd1.o (.text*)
*vfd.o (.rodata)
*vfd.o (.text*)
*setup.o (.rodata)
*fs_message_show.o (.rodata)
*fs_message_show.o (.text)
*safe.o (.rodata)
*safe.o (.text*)
*prog.o (.rodata)
*Servo.o (.text*)
*Servo.o (.rodata)
*DecUtil.o (.text*)
*DecUtil.o (.rodata)
*IdeMain.o (.text*)
*IdeMain.o (.rodata)
*DecInit.o (.text*)
*DecISR.o (.text*)
*DecISR.o (.rodata*)
*Atapicmd.o (.text*)
*Atapicmd.o (.rodata)
*DecUpdt.o (.text*)
*DecUpdt.o (.rodata)
*DSPCode.o (.text*)
*SUtil.o (.text*)
*Servoset.o (.text*)
*TimerISR.o (.text*)
*DecExUtil.o (.text*)
*DecExUtil.o (.rodata)
*ServoSet.o (.text*)
*ServoSet.o (.rodata*)
*SrvCom.o (.text*)
*avd.o (.text*)
*timer.o (.text*)
*ircode.o (.rodata)
*osdutil.o (.rodata)
*font_offset.o (.rodata)
*sound.o (.rodata)
*sysmain2.o (.rodata)
*estd.o (.text)
*supset.o (.text)
*cvdogt.o (.text)
*sup.o (.text)
*memcfg.o (.text)
*util.o (.text)
*nav_util.o (.text)
*read.o (.text)
*score.o (.text)
*kernel.o (.text)
*ninf.o (.text)
*_Xdivdi3.o (.text)
*setvideo.o (.text)
*cd.o (.text*)
. = ALIGN(16);
} > sdram_ap1
.drv_ap2 :
{
_text_drv_ap2 = .;
*setup.o (.text*)
*intdrv.o (.text*)
*prog.o (.text*)
. = ALIGN(16);
} > sdram_ap2
.drv_ap3 :
{
. = ALIGN(16);
} > sdram_ap3
.drv_srvdp :
{
_text_drv_srvdp = .;
*DSPCode.o (.rodata)
} > sdram_srvdp
.drv_free :
{
_text_drv_free = .;
*osd1.o (.rodata)
*search.o (.text*)
*search.o (.rodata)
*macro.o (.text*)
*macro.o (.rodata)
*image.o (.text*)
*iop.o (.text*)
*cderr.o (.text*)
*cderr.o (.rodata)
*hostx.o (.text*)
*hostx.o (.rodata)
*dsp3_if.o (.text*)
*dsp3_if.o (.rodata)
*fs9660_util.o (.text*)
*fsNav_util.o (.text*)
*fsGUI_util.o (.text*)
*fsGUIShowFont.c (.text*)
*framebuf*.o (.text*)
*sound.o (.text*)
*fs.o (.text*)
*fs.o (.rodata)
*vpp_728.o (.text*)
*jpegeffect.o (.rodata)
*jpegeffect.o (.text*)
*lbaif.o (.rodata)
*lbaif.o (.text*)
*supintr.o (.text*)
*viddec.o (.text*)
*viddec_mp4.o (.text*)
*time.o (.text*)
*time.o (.rodata)
*vpp_728.o (.rodata)
*sp8200tv.o (.text*)
*sp8200tv.o (.rodata)
} > sdram_free
.drv_mp4 :
{
_text_drv_mp4 = .;
*mp4vid.o (.text*)
*mp4vid.o (.rodata)
*mp4vid.o (.bss)
*mp4vid.o (COMMON)
*mp4vid.o (.sbss)
*mp4vid.o (.scommon)
*avi_if.o (.text*)
*avi_if.o (.rodata)
} > sdram_mp4
.drv_wma :
{
_text_drv_wma = .;
*asfheader.o (.text*)
*asfheader.o (.rodata)
*asfdata.o (.text*)
*asfdata.o (.rodata)
*asfheader.o (COMMON)
*asfdata.o (.scommon)
} > sdram_wma
.rom1 :
{
MIPS/init0.o (.text*)
* (.text*)
MIPS/crt0.o (.text*)
. = ALIGN(16);
} > rom
.ram1 :
{
_data = .;
* (.data)
_gp = .;
* (.sdata)
* (.lit8)
* (.lit4)
* (.lita)
_edata = .;
. = ALIGN(16);
} > sdram_cs
.rom1_2 :
{
_data_ps = .;
. += SIZEOF(.ram1);
_data_pe = .;
. = ALIGN(16);
} > rom
.rom2 :
{
* (.rdata)
* (.rodata)
. = ALIGN(16);
} > rom
.rom3 :
{
MIPS/title.o (.rodata)
. = ALIGN(16);
} > rom_title
.ram_jpeg :
{
*jpegtest.o (.bss)
*jpegtest.o (COMMON)
*mjpeg.o (.bss)
*mjpeg.o (COMMON)
. = ALIGN(16);
} > sdram_jpeg
.drv_other :
{
_text_other = .;
. = ALIGN(16);
} > sdram_other
.ramF :
{
MIPS/databuf.o (.bss)
MIPS/databuf.o (COMMON)
. = ALIGN(16);
} > sdram_cs
.ram2 :
{
_bstart = .;
* (.sbss)
* (.scommon)
* (.bss)
* (COMMON)
. = ALIGN(16);
_bend = .;
} > sdram_cs
.rel :
{
* (.rel.dyn)
} > garbage
_etext = ADDR(.rom1) + SIZEOF(.rom1) + SIZEOF(.rom2);
_stextf = _etext + SIZEOF(.ram1);
_tt_gb_size = SIZEOF(.ram1) + SIZEOF(.ram2) + SIZEOF(.ramF);
.udf_buf :
{
_udf_work_buf = .;
. += (1024*((40)));
_udf_work_buf_end = .;
} > sdram_udfbuf
_fs9660_buf = (0x080000000+1024*((((((((((((((((((((((((((((((0 + 0) + 2 + 1)+4) + 29) + 131) + 0) + 405 - 1) + 1) + 203 - 1) + 1) + 405 - 1) + 1) + 203 - 1) + 1) + 405 - 1) + 1) + 203 - 1) + 1) + (235+6)) + 0)+282)+36)+32) + (152 + 18 + 16+50))+(207-24)) + 414)+207)+8)+60)));
wb_buf = (0x080000000+1024*((((((((((((((((((((((((((((0 + 0) + 2 + 1)+4) + 29) + 131) + 0) + 405 - 1) + 1) + 203 - 1) + 1) + 405 - 1) + 1) + 203 - 1) + 1) + 405 - 1) + 1) + 203 - 1) + 1) + (235+6)) + 0)+282)+36)+32) + (152 + 18 + 16+50)) + (399 - 0 -24)) + 0) + (627))));
decomp_fnTable = (0x080000000+1024*(((((((((((((((((((((((((((((((0 + 0) + 2 + 1)+4) + 29) + 131) + 0) + 405 - 1) + 1) + 203 - 1) + 1) + 405 - 1) + 1) + 203 - 1) + 1) + 405 - 1) + 1) + 203 - 1) + 1) + (235+6)) + 0)+282)+36)+32) + (152 + 18 + 16+50)) + (399 - 0 -24)) + 0) + (627)) + 50) + 70)+52)));
osd_temp_buf = (0x080000000+1024*((((((0 + 0) + 2 + 1)+4) + 29) + 131 - 9)));
_stkptr = (0x080000000+1024*(3));
_stkptr_dbg = (0x080000000+1024*(4096));
_stkbtm = (0x080000000+1024*(3 -(1 +1)));
_stkbtm_dbg = (0x080000000+1024*(4096 -2));
}
MEMORY
{
garbage : org = 0x00000000, l = 1m
bootrom : org = 0xbfc00000, l = 512k
rom : org = 0x88000000, l = 1024k
rom_title : org = 0x88000000+987*1024, l = 37k
sdram_drv_iop : org = 0x080000000, l = 2k
sdram_iop_rst : org = 0x180000000, l = 2k
sdram_cs : org = (0x080000000+1024*((((0 + 0) + 2 + 1)+4))), l = (1024*(29))
sdram_jpeg : org = (0x080000000+1024*((((((((((((((((((((((((((((0 + 0) + 2 + 1)+4) + 29) + 131) + 0) + 405 - 1) + 1) + 203 - 1) + 1) + 405 - 1) + 1) + 203 - 1) + 1) + 405 - 1) + 1) + 203 - 1) + 1) + (235+6)) + 0)+282)+36)+32) + (152 + 18 + 16+50))+(207-24)) + 414)+207))), l = (1024*(8))
sdram_flash : org = (0x180000000+1024*(100)), l = 10k
sdram_drv1 : org = (0x080000000+1024*((((((((((((((((((((((0 + 0) + 2 + 1)+4) + 29) + 131) + 0) + 405 - 1) + 1) + 203 - 1) + 1) + 405 - 1) + 1) + 203 - 1) + 1) + 405 - 1) + 1) + 203 - 1) + 1) + (235+6)) + 0)+282))), l = (1024*(36))
sdram_drv2 : org = (0x180000000+1024*((((((((((((((((((((((0 + 0) + 2 + 1)+4) + 29) + 131) + 0) + 405 - 1) + 1) + 203 - 1) + 1) + 405 - 1) + 1) + 203 - 1) + 1) + 405 - 1) + 1) + 203 - 1) + 1) + (235+6)) + 0)+282))), l = (1024*(36))
sdram_ap2 : org = (0x080000000+1024*(((((((((((((((((((((((0 + 0) + 2 + 1)+4) + 29) + 131) + 0) + 405 - 1) + 1) + 203 - 1) + 1) + 405 - 1) + 1) + 203 - 1) + 1) + 405 - 1) + 1) + 203 - 1) + 1) + (235+6)) + 0)+282)+36))), l = (1024*(32))
sdram_ap3 : org = (0x180000000+1024*(((((((((((((((((((((((0 + 0) + 2 + 1)+4) + 29) + 131) + 0) + 405 - 1) + 1) + 203 - 1) + 1) + 405 - 1) + 1) + 203 - 1) + 1) + 405 - 1) + 1) + 203 - 1) + 1) + (235+6)) + 0)+282)+36))), l = (1024*(32))
sdram_ap1 : org = (0x080000000+1024*((((((((((((((((((((((((0 + 0) + 2 + 1)+4) + 29) + 131) + 0) + 405 - 1) + 1) + 203 - 1) + 1) + 405 - 1) + 1) + 203 - 1) + 1) + 405 - 1) + 1) + 203 - 1) + 1) + (235+6)) + 0)+282)+36)+32))), l = (1024*((152 + 18 + 16+50)))
sdram_udfbuf : org = (0x080000000+1024*(((((((((((0 + 0) + 2 + 1)+4) + 29) + 131) + 0)) + 99) + 50)))), l = (1024*((40)))
sdram_srvdp : org = (0x080000000+1024*(((((((((((((((((((((((((0 + 0) + 2 + 1)+4) + 29) + 131) + 0) + 405 - 1) + 1) + 203 - 1) + 1) + 405 - 1) + 1) + 203 - 1) + 1) + 405 - 1) + 1) + 203 - 1) + 1) + (235+6)) + 0)+282)+36)+32) + (152 + 18 + 16+50)))), l = (1024*((20)))
sdram_cdrom : org = (0x080000000+1024*(((((((((((((((((((((((((((((0 + 0) + 2 + 1)+4) + 29) + 131) + 0) + 405 - 1) + 1) + 203 - 1) + 1) + 405 - 1) + 1) + 203 - 1) + 1) + 405 - 1) + 1) + 203 - 1) + 1) + (235+6)) + 0)+282)+36)+32) + (152 + 18 + 16+50))+(207-24)) + 414)+207)+8))), l = (1024*(60))
sdram_dvd : org = (0x080000000+1024*(((((((((((((((((((((((((((((0 + 0) + 2 + 1)+4) + 29) + 131) + 0) + 405 - 1) + 1) + 203 - 1) + 1) + 405 - 1) + 1) + 203 - 1) + 1) + 405 - 1) + 1) + 203 - 1) + 1) + (235+6)) + 0)+282)+36)+32) + (152 + 18 + 16+50)) + (399 - 0 -24)) + 0) + (627)) + 50))), l =(1024*(70))
sdram_mp4 : org = (0x080000000+1024*((((((((((((((((((((((((((((0 + 0) + 2 + 1)+4) + 29) + 131) + 0) + 405 - 1) + 1) + 203 - 1) + 1) + 405 - 1) + 1) + 203 - 1) + 1) + 405 - 1) + 1) + 203 - 1) + 1) + (235+6)) + 0)+282)+36)+32) + (152 + 18 + 16+50))+(207-24))) + (10)))), l = (1024*((40)))
sdram_wma : org = (0x080000000+1024*(((((((((((((((((((((((((((0 + 0) + 2 + 1)+4) + 29) + 131) + 0) + 405 - 1) + 1) + 203 - 1) + 1) + 405 - 1) + 1) + 203 - 1) + 1) + 405 - 1) + 1) + 203 - 1) + 1) + (235+6)) + 0)+282)+36)+32) + (152 + 18 + 16+50))+(207-24))))), l = (1024*((10)))
sdram_free : org = (0x080000000+1024*((((((((((((((((((((((((((((((((0 + 0) + 2 + 1)+4) + 29) + 131) + 0) + 405 - 1) + 1) + 203 - 1) + 1) + 405 - 1) + 1) + 203 - 1) + 1) + 405 - 1) + 1) + 203 - 1) + 1) + (235+6)) + 0)+282)+36)+32) + (152 + 18 + 16+50)) + (399 - 0 -24)) + 0) + (627)) + 50) + 70)+52)+60))), l = (1024*(92 +2))
sdram_other : org = 0x180700000, l = 1024k
}
ENTRY(__romstart)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -